From 29bcdf1ef3844e3c71b85f1ace1c6f2b188d1e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Bustarret?= Date: Tue, 3 Nov 2026 16:20:39 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20ci:=20switch=20to=20new=20ru?= =?UTF-8?q?nner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c60e7067..81116cd4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,9 @@ jobs: - name: 📦 Build run: go build -o octl main.go unit: - runs-on: [self-hosted, linux, eu-west-2] + runs-on: [self-hosted, linux, octl, local] + permissions: + id-token: write steps: - name: ⬇️ Checkout repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -40,18 +42,17 @@ jobs: uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: 'go.mod' - - name: 🧹 Frieza - uses: outscale/frieza-github-actions/frieza-clean@d361dd8cc864cfb9575429ee54fde4a0e8e7b124 # v0.17.2 + - name: 🔒🧹 Setup Vault & Frieza + id: secrets + uses: outscale/.github/vault-frieza-clean@3473e386226175ad703740601d34849b9b61364f # v1.4.0 with: - access_key: ${{ secrets.OSC_ACCESS_KEY }} - secret_key: ${{ secrets.OSC_SECRET_KEY }} - region: "eu-west-2" + vault_role: outscale-octl providers: "outscale_oapi,outscale_oos,outscale_oks" - name: 🧪 Test run: go test -v ./... -timeout 60m env: - OSC_ACCESS_KEY: ${{ secrets.OSC_ACCESS_KEY }} - OSC_SECRET_KEY: ${{ secrets.OSC_SECRET_KEY }} - OSC_REGION: "eu-west-2" + OSC_ACCESS_KEY: ${{ steps.secrets.outputs.access_key }} + OSC_SECRET_KEY: ${{ steps.secrets.outputs.secret_key }} + OSC_REGION: ${{ steps.secrets.outputs.region }} IMAGE_ID: ${{ vars.IMAGE_ID }} VM_TYPE: ${{ vars.VM_TYPE }} From 186c36a7bc6861c240809df6724d12041804146d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Bustarret?= Date: Tue, 10 Nov 2026 10:56:00 +0000 Subject: [PATCH 2/2] =?UTF-8?q?fixup!=20=F0=9F=91=B7=20ci:=20switch=20to?= =?UTF-8?q?=20new=20runner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81116cd4..ea484f18 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: - name: 📦 Build run: go build -o octl main.go unit: - runs-on: [self-hosted, linux, octl, local] + runs-on: [self-hosted, linux, local] permissions: id-token: write steps: