From c832cb46aa783b500c1e77ec6fae3cbd9c63d0e7 Mon Sep 17 00:00:00 2001 From: Sean Klein Date: Thu, 9 Dec 2021 17:48:32 -0500 Subject: [PATCH 1/5] Try to add cache to Rust workflow --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bf91caf30d1..c549672f039 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -43,6 +43,7 @@ jobs: steps: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b + - uses: Swatinem/rust-cache@v1 - name: Report cargo version run: cargo --version - name: Check build of deployed Omicron packages @@ -55,6 +56,7 @@ jobs: steps: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b + - uses: Swatinem/rust-cache@v1 - name: Report cargo version run: cargo --version - name: Report Clippy version @@ -76,6 +78,7 @@ jobs: steps: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b + - uses: Swatinem/rust-cache@v1 - name: Report cargo version run: cargo --version - name: Test build documentation @@ -92,6 +95,7 @@ jobs: steps: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b + - uses: Swatinem/rust-cache@v1 - name: Report cargo version run: cargo --version - name: Configure GitHub cache for CockroachDB binaries From 8046ca96cdfa0e66cb852f5adbae0fdb26ad670b Mon Sep 17 00:00:00 2001 From: Sean Klein Date: Thu, 9 Dec 2021 18:09:54 -0500 Subject: [PATCH 2/5] Update README, trigger actions again --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 47ac1b0b253..756cc479de9 100644 --- a/README.adoc +++ b/README.adoc @@ -34,7 +34,7 @@ The code here is still rough, but the following are implemented: * actual API: ** projects: CRUD -** instances: CRUD + boot/halt/reboot (simulated) +** instances: CRUD + boot/halt/reboot ** disks: CRD + attach/detach (simulated) ** racks: list + get ** sleds: list + get From 77ac37c6b91fef445f4f9fca77f90c70ecd5acde Mon Sep 17 00:00:00 2001 From: David Crespo Date: Thu, 16 Dec 2021 15:43:28 -0600 Subject: [PATCH 3/5] never use rust-cache on main --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c549672f039..3b8f91b8b86 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -44,6 +44,7 @@ jobs: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b - uses: Swatinem/rust-cache@v1 + if: {{ github.ref != 'refs/heads/main' }} - name: Report cargo version run: cargo --version - name: Check build of deployed Omicron packages @@ -57,6 +58,7 @@ jobs: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b - uses: Swatinem/rust-cache@v1 + if: {{ github.ref != 'refs/heads/main' }} - name: Report cargo version run: cargo --version - name: Report Clippy version @@ -79,6 +81,7 @@ jobs: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b - uses: Swatinem/rust-cache@v1 + if: {{ github.ref != 'refs/heads/main' }} - name: Report cargo version run: cargo --version - name: Test build documentation @@ -96,6 +99,7 @@ jobs: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b - uses: Swatinem/rust-cache@v1 + if: {{ github.ref != 'refs/heads/main' }} - name: Report cargo version run: cargo --version - name: Configure GitHub cache for CockroachDB binaries From 80108bd099e44bcb35637a23602cabd195178498 Mon Sep 17 00:00:00 2001 From: David Crespo Date: Thu, 16 Dec 2021 15:46:53 -0600 Subject: [PATCH 4/5] forgot the almighty dollar --- .github/workflows/rust.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bf50b02c86d..1969d508061 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -44,7 +44,7 @@ jobs: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b - uses: Swatinem/rust-cache@v1 - if: {{ github.ref != 'refs/heads/main' }} + if: ${{ github.ref != 'refs/heads/main' }} - name: Report cargo version run: cargo --version - name: Check build of deployed Omicron packages @@ -58,7 +58,7 @@ jobs: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b - uses: Swatinem/rust-cache@v1 - if: {{ github.ref != 'refs/heads/main' }} + if: ${{ github.ref != 'refs/heads/main' }} - name: Report cargo version run: cargo --version - name: Report Clippy version @@ -81,7 +81,7 @@ jobs: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b - uses: Swatinem/rust-cache@v1 - if: {{ github.ref != 'refs/heads/main' }} + if: ${{ github.ref != 'refs/heads/main' }} - name: Report cargo version run: cargo --version - name: Test build documentation @@ -99,7 +99,7 @@ jobs: # actions/checkout@v2 - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b - uses: Swatinem/rust-cache@v1 - if: {{ github.ref != 'refs/heads/main' }} + if: ${{ github.ref != 'refs/heads/main' }} - name: Report cargo version run: cargo --version - name: Configure GitHub cache for CockroachDB binaries From 96cc22eae049210d9f1cb27a42183b35ec118bcb Mon Sep 17 00:00:00 2001 From: Sean Klein Date: Fri, 14 Jan 2022 16:37:53 -0500 Subject: [PATCH 5/5] Force a fake change to cause CI to re-run --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 4302ee65711..47ee24a6f10 100644 --- a/README.adoc +++ b/README.adoc @@ -34,7 +34,7 @@ The code here is still rough, but the following are implemented: * actual API: ** projects: CRUD -** instances: CRUD + boot/halt/reboot +** instances: CRUD + boot/halt/reboot. ** disks: CRD + attach/detach (simulated) ** racks: list + get ** sleds: list + get