-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The CI configuration had multilple issues around the Rust related tooling. This commit addresses those and corrects a few typos. Extra: Delete Makefile as it is has been replaced with a justfile.
- Loading branch information
Jessie Chatham Spencer
committed
Dec 16, 2022
1 parent
3777624
commit 0576d61
Showing
13 changed files
with
103 additions
and
360 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
on: push | ||
|
||
env: | ||
IMG: ame-controller:local | ||
SERVER_IMG: ame-server:local | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: extractions/setup-just@v1 | ||
|
@@ -15,21 +11,23 @@ jobs: | |
profile: minimal | ||
toolchain: stable | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: ame-ci-cache | ||
- uses: rinx/[email protected] | ||
with: | ||
skipClusterCreation: true | ||
- uses: arduino/setup-protoc@v1 | ||
with: | ||
version: '3.19.4' | ||
- name: Rust validation | ||
- name: Prep test environment | ||
run: | | ||
sudo apt-get install -y build-essential openssl libssl-dev libc6-dev clang libclang-dev ca-certificates | ||
just setup_toolchains | ||
just tools | ||
just check | ||
just add_helm_repos | ||
just setup_cluster | ||
just install_ame | ||
just test | ||
- name: Prep test environment | ||
run: | | ||
make tools | ||
make deploy_local_cluster | ||
just deploy_ame_to_cluster | ||
- name: Validate commit | ||
run: | | ||
make test | ||
just check | ||
just test |
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 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 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.