-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Go & JS tests to conform to the multidim interop test spec. (#121
) * Update Go test implementations to match new spec * Update JS test implementation * Update Rust test Implementation * Update root Makefile * Update runner to new spec * Use composite action and S3 caching * Not using GHA cache anymore * Try removing access key from env * Test workflow without cache keys (#131) * Test if it works without s3 cache keys * Fix if statement * Fix if statement * Always use buildkit * Undo debug change * Add no cache workflow * Skip test in no-cache workflow * Update .github/workflows/no-cache-multidim-interop.yml * Same workflow; use CACHING_OPTIONS * Add Browser WebRTC test (#130) * Add webrtc to JS test * Add onlyDial to all queries * Update versions.ts * Remove unneeded timeout overrides
- Loading branch information
Showing
26 changed files
with
642 additions
and
4,889 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
GO_SUBDIRS := $(wildcard go/*/.) | ||
JS_SUBDIRS := $(wildcard js/*/.) | ||
RUST_SUBDIRS := $(wildcard rust/*/.) | ||
|
||
all: $(GO_SUBDIRS) $(JS_SUBDIRS) rust/. | ||
all: $(GO_SUBDIRS) $(JS_SUBDIRS) $(RUST_SUBDIRS) | ||
$(JS_SUBDIRS): | ||
$(MAKE) -C $@ | ||
$(GO_SUBDIRS): | ||
$(MAKE) -C $@ | ||
rust/.: | ||
$(RUST_SUBDIRS): | ||
$(MAKE) -C $@ | ||
|
||
|
||
.PHONY: $(GO_SUBDIRS) $(JS_SUBDIRS) rust/. all | ||
.PHONY: $(GO_SUBDIRS) $(JS_SUBDIRS) $(RUST_SUBDIRS) all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#!/usr/bin/env /bin/bash | ||
|
||
# If in CI use caching | ||
if [[ -n "${CI}" ]]; then | ||
docker buildx build \ | ||
--load \ | ||
-t $IMAGE_NAME \ | ||
--cache-to type=gha,mode=max,scope=$GITHUB_REF_NAME-$IMAGE_NAME \ | ||
--cache-from type=gha,scope=$GITHUB_REF_NAME-$IMAGE_NAME "$@" | ||
else | ||
docker build -t $IMAGE_NAME "$@" | ||
CACHING_OPTIONS="" | ||
# If in CI and we have a defined cache bucket, use caching | ||
if [[ -n "${CI}" ]] && [[ -n "${AWS_BUCKET}" ]]; then | ||
CACHING_OPTIONS="\ | ||
--cache-to type=s3,mode=max,bucket=$AWS_BUCKET,region=$AWS_REGION,prefix=buildCache,name=$IMAGE_NAME \ | ||
--cache-from type=s3,mode=max,bucket=$AWS_BUCKET,region=$AWS_REGION,prefix=buildCache,name=$IMAGE_NAME" | ||
fi | ||
|
||
docker buildx build \ | ||
--load \ | ||
-t $IMAGE_NAME $CACHING_OPTIONS "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.