-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes made: * docker/login-action v2 -> v3 * docker/metadata-action v4 -> v5 * docker/build-push-action v3 -> v5 * get-gke-credentials v1 -> v2 * helmfile v1 -> v2 * migrate actions-rs/toolchain -> dtolnay/rust-toolchain * remove docker/setup-qemu-action * remove battila7/get-version-action * removes unused container builds All of these were showing warnings. These upgrades *should* have zero side-effects for our CI, but I'll check post-merge and confirm that. Refs #3769, but does not close it: follow-up may be necessary post-merge, plus corresponding updates should be made across our repos.
- Loading branch information
Showing
8 changed files
with
34 additions
and
98 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 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 |
---|---|---|
|
@@ -50,14 +50,14 @@ jobs: | |
service_account: '[email protected]' | ||
|
||
- name: get gke credentials | ||
uses: google-github-actions/get-gke-credentials@v1 | ||
uses: google-github-actions/get-gke-credentials@v2 | ||
with: | ||
cluster_name: testnet | ||
project_id: penumbra-sl-testnet | ||
location: us-central1 | ||
|
||
- name: install helmfile | ||
uses: mamezou-tech/setup-helmfile@v1.3.0 | ||
uses: mamezou-tech/setup-helmfile@v2.0.0 | ||
with: | ||
helmfile-version: "v0.157.0" | ||
|
||
|
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 |
---|---|---|
|
@@ -42,14 +42,14 @@ jobs: | |
service_account: '[email protected]' | ||
|
||
- name: get gke credentials | ||
uses: google-github-actions/get-gke-credentials@v1 | ||
uses: google-github-actions/get-gke-credentials@v2 | ||
with: | ||
cluster_name: testnet | ||
project_id: penumbra-sl-testnet | ||
location: us-central1 | ||
|
||
- name: install helmfile | ||
uses: mamezou-tech/setup-helmfile@v1.3.0 | ||
uses: mamezou-tech/setup-helmfile@v2.0.0 | ||
with: | ||
helmfile-version: "v0.157.0" | ||
|
||
|
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
service_account: '[email protected]' | ||
|
||
- name: get gke credentials | ||
uses: google-github-actions/get-gke-credentials@v1 | ||
uses: google-github-actions/get-gke-credentials@v2 | ||
with: | ||
cluster_name: testnet | ||
project_id: penumbra-sl-testnet | ||
|
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 |
---|---|---|
|
@@ -21,11 +21,11 @@ jobs: | |
uses: dtolnay/rust-toolchain@nightly | ||
- name: Load Rust caching | ||
uses: astriaorg/[email protected] | ||
- name: Load get-version action to grab version component of deployment path | ||
uses: battila7/get-version-action@v2 | ||
id: get_version | ||
|
||
# Previously we used a GHA helper to look up the version, which was overkill. | ||
# Let's still log the version of the docs we intend to build. | ||
- name: Print version component of deployment path | ||
run: echo ${{ steps.get_version.outputs.version }} | ||
run: echo ${{ github.event.inputs.image_tag || github.ref_name }} | ||
|
||
# Ostensibly building from source, but the cache-loading above | ||
# ensures we don't need to rebuild frequently. | ||
|
@@ -41,7 +41,7 @@ jobs: | |
cd docs/guide | ||
rm -rf firebase-tmp | ||
mkdir firebase-tmp | ||
mv book/html firebase-tmp/${{ steps.get_version.outputs.version }} | ||
mv book/html firebase-tmp/${{ github.event.inputs.image_tag || github.ref_name }} | ||
tree firebase-tmp | ||
- name: Deploy software guide to firebase | ||
|
@@ -61,7 +61,7 @@ jobs: | |
cd docs/protocol | ||
rm -rf firebase-tmp | ||
mkdir firebase-tmp | ||
mv book/html firebase-tmp/${{ steps.get_version.outputs.version }} | ||
mv book/html firebase-tmp/${{ github.event.inputs.image_tag || github.ref_name }} | ||
tree firebase-tmp | ||
- name: Deploy protocol spec to firebase | ||
|
@@ -80,9 +80,9 @@ jobs: | |
cd docs/rustdoc | ||
if [ -d "firebase-tmp" ]; then rm -rf firebase-tmp; fi | ||
mkdir firebase-tmp | ||
mv ../../target/doc firebase-tmp/${{ steps.get_version.outputs.version }} | ||
mv ../../target/doc firebase-tmp/${{ github.event.inputs.image_tag || github.ref_name }} | ||
# Copy in the static index file | ||
cp index.html firebase-tmp/${{ steps.get_version.outputs.version }} | ||
cp index.html firebase-tmp/${{ github.event.inputs.image_tag || github.ref_name }} | ||
- name: Deploy API docs to firebase | ||
uses: w9jds/[email protected] | ||
|
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 |
---|---|---|
|
@@ -16,18 +16,21 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
|
||
- name: Install rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Load rust cache | ||
uses: astriaorg/[email protected] | ||
|
||
- name: Install cometbft binary | ||
run: ./deployments/scripts/install-cometbft | ||
|
||
- name: Run the smoke test suite | ||
run: | | ||
export PATH="$HOME/bin:$PATH" | ||
./deployments/scripts/smoke-test.sh | ||
- name: Display comet logs | ||
if: always() | ||
run: cat deployments/logs/comet.log | ||
|
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 |
---|---|---|
|
@@ -19,10 +19,10 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
|
||
- name: Install rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Load rust cache | ||
uses: astriaorg/[email protected] | ||
|
||
|