Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for more languages #35

Closed
wants to merge 56 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
3555c86
mounting a volume to buildkit
ashpect Aug 16, 2024
8cc4cc2
squash last 12 commits
ashpect Aug 17, 2024
b9b6cc4
remove toml
ashpect Aug 23, 2024
21ff089
remove volume
ashpect Aug 23, 2024
e94bce1
retrigger tests
ashpect Aug 25, 2024
2f12af4
making import export dynamic
ashpect Aug 25, 2024
b866a8f
Merge pull request #7 from ashpect/feature
ashpect Aug 25, 2024
5a0be01
set the startup flag
ashpect Aug 26, 2024
ec2cba0
Add tests support for startup & refactoring
ashpect Aug 26, 2024
3d8741e
testing
ashpect Aug 26, 2024
26f15d1
testing
ashpect Aug 26, 2024
900787f
testing
ashpect Aug 26, 2024
dea15e5
testing
ashpect Aug 26, 2024
1986560
testing
ashpect Aug 26, 2024
de734f0
testing
ashpect Aug 26, 2024
3827c3f
testing
ashpect Aug 26, 2024
09600b0
testing
ashpect Aug 26, 2024
7e64702
testing
ashpect Aug 26, 2024
cffdc7a
testing
ashpect Aug 26, 2024
7e1ec98
was sh all along
ashpect Aug 26, 2024
52d516f
fix startup string to bool
ashpect Aug 26, 2024
e5628ac
removing ts for testing as building it alone fails
ashpect Aug 26, 2024
57e62f0
runtime error while building c
ashpect Aug 26, 2024
e592227
now go failed
ashpect Aug 26, 2024
3849bd7
rust failed
ashpect Aug 26, 2024
86d5a8c
just py,rb,node
ashpect Aug 26, 2024
84ad0a9
just py,rb,node
ashpect Aug 26, 2024
b3c8e0e
trigger all the tests
ashpect Aug 26, 2024
7296e58
trigger all the tests
ashpect Aug 26, 2024
e862445
trigger all the tests
ashpect Aug 26, 2024
4e59b6a
trigger all the tests
ashpect Aug 26, 2024
0851dab
trigger all the tests
ashpect Aug 26, 2024
c5088de
trigger all the tests startup with cli, i am soooo dumb
ashpect Aug 26, 2024
c0cb671
i think this might work now
ashpect Aug 26, 2024
a6dfdcb
final testing
ashpect Aug 26, 2024
ec7aa45
retrigger
ashpect Aug 26, 2024
f2b8263
what happens if i trigger tests with only runtime build
ashpect Aug 26, 2024
b327a85
retrigger with backtrace added
ashpect Aug 26, 2024
5367920
add diff registry for run time/dev to isolate and retrigger tests wit…
ashpect Aug 26, 2024
1834ab2
disable backtrace like before, this test should fail
ashpect Aug 26, 2024
e416581
triggering only the startup tests with backtrace enabled
ashpect Aug 26, 2024
2eaffdc
enable backtrace,both issues resolved, very demure, very mindful
ashpect Aug 26, 2024
149d41a
Merge ashpect/master into ashpect/feature
ashpect Aug 26, 2024
34af3a6
cleanup and enable all tests
ashpect Aug 26, 2024
deefc5e
only add startup-rootless and startup-client as tests
ashpect Aug 26, 2024
16e573b
Seperated tests
ashpect Aug 26, 2024
9581f7e
Merge pull request #8 from ashpect/feature
ashpect Aug 26, 2024
d7f7b38
enable wasm,java,cobol
ashpect Aug 27, 2024
e083429
trigger tests and cleanup
ashpect Aug 27, 2024
cb37867
Merge branch 'master' into fixLang
ashpect Oct 6, 2024
010a9c0
trigger withouy cobol
ashpect Oct 10, 2024
f246798
trigger without cobol, java and wasm
ashpect Oct 10, 2024
ff72cd5
trigger wasm
ashpect Oct 10, 2024
5b63fa2
trigger java
ashpect Oct 10, 2024
b4d4e15
trigger cobol
ashpect Oct 10, 2024
f55252b
trigger wasm and java
ashpect Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
trigger all the tests
ashpect committed Aug 26, 2024
commit 7296e58a3b84c797369911107aaa8d859bfda149
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -30,11 +30,11 @@ jobs:
BUILDER_ARGS: "runtime rb"
run: docker compose up --exit-code-from binary binary

- name: Test Rootless
run: ./test/test.sh rootless
# - name: Test Rootless
# run: ./test/test.sh rootless

- name: Test Daemon
run: ./test/test.sh client
# - name: Test Daemon
# run: ./test/test.sh client

- name: Test Startup-Rootless
run: ./test/test.sh rootless startup
3 changes: 3 additions & 0 deletions cmd/builder/runtime.go
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ package builder

import (
"context"
"fmt"

"github.com/metacall/builder/pkg/staging"
"github.com/moby/buildkit/client/llb"
@@ -30,6 +31,8 @@ func NewRuntimeCmd(o *RuntimeOptions) *cobra.Command {
args = staging.GetAllLanguages()
}

fmt.Println(args)

base := cmd.Context().Value(baseKey{}).(llb.State)

devBaseLang := staging.DevBase(base, branch, args)
6 changes: 3 additions & 3 deletions test/test.sh
Original file line number Diff line number Diff line change
@@ -99,8 +99,8 @@ startupTests(){
cleanup
}

if [ "$2" = "startup" ]; then
startupTests
else
if [ -z "$2" ]; then
defaultTests
elif [ "$2" = "startup" ]; then
startupTests
fi