From 1ef8cb0fcf19f7548ad44f91a69b57df878a9e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andy=20M=C3=A9ry?= Date: Thu, 13 Apr 2023 13:23:38 +0200 Subject: [PATCH 1/4] refactor(ci): use official scw action --- .github/workflows/integration-gateway.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/integration-gateway.yml b/.github/workflows/integration-gateway.yml index 2998abe..4a69f2f 100644 --- a/.github/workflows/integration-gateway.yml +++ b/.github/workflows/integration-gateway.yml @@ -28,16 +28,15 @@ jobs: repository: scaleway/serverless-gateway path: ${{ env.GATEWAY_CHECKOUT_DIR }} - - name: Install Scaleway CLI - # Should point to GATEWAY_CHECKOUT_DIR but env is unusable here. - # See: https://docs.github.com/en/actions/learn-github-actions/contexts#env-context - uses: ./gateway/.github/actions/setup-scaleway-cli + - name: Install CLI and create config file + uses: scaleway/action-scw@main with: - scw-version: "2.13.0" - scw-access-key: ${{ secrets.SCW_ACCESS_KEY }} - scw-secret-key: ${{ secrets.SCW_SECRET_KEY }} - scw-default-project-id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }} - scw-default-organization-id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }} + version: v2.14.0 + access_key: ${{ secrets.SCW_ACCESS_KEY }} + secret_key: ${{ secrets.SCW_SECRET_KEY }} + default_project_id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }} + default_organization_id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }} + save_config: true - name: Create Gateway namespace working-directory: ${{ env.GATEWAY_CHECKOUT_DIR }} From c22b7df9dbed43d6a700f21cbc8159ecf0f11cf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andy=20M=C3=A9ry?= Date: Thu, 13 Apr 2023 13:27:11 +0200 Subject: [PATCH 2/4] fix(ci): change ref to master --- .github/workflows/integration-gateway.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-gateway.yml b/.github/workflows/integration-gateway.yml index 4a69f2f..edc56af 100644 --- a/.github/workflows/integration-gateway.yml +++ b/.github/workflows/integration-gateway.yml @@ -29,7 +29,7 @@ jobs: path: ${{ env.GATEWAY_CHECKOUT_DIR }} - name: Install CLI and create config file - uses: scaleway/action-scw@main + uses: scaleway/action-scw@master with: version: v2.14.0 access_key: ${{ secrets.SCW_ACCESS_KEY }} From b60559de15698527e0b6169106cb7d49633a2162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andy=20M=C3=A9ry?= Date: Wed, 19 Apr 2023 12:17:50 +0200 Subject: [PATCH 3/4] fix(ci): switch to kebab case --- .github/workflows/integration-gateway.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/integration-gateway.yml b/.github/workflows/integration-gateway.yml index edc56af..a92eb02 100644 --- a/.github/workflows/integration-gateway.yml +++ b/.github/workflows/integration-gateway.yml @@ -32,11 +32,11 @@ jobs: uses: scaleway/action-scw@master with: version: v2.14.0 - access_key: ${{ secrets.SCW_ACCESS_KEY }} - secret_key: ${{ secrets.SCW_SECRET_KEY }} - default_project_id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }} - default_organization_id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }} - save_config: true + access-key: ${{ secrets.SCW_ACCESS_KEY }} + secret-key: ${{ secrets.SCW_SECRET_KEY }} + default-project-id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }} + default-organization-id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }} + save-config: true - name: Create Gateway namespace working-directory: ${{ env.GATEWAY_CHECKOUT_DIR }} From a781f47edda94f51b6a4fa9599dfae1e8e60cf5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andy=20M=C3=A9ry?= Date: Mon, 24 Apr 2023 11:06:10 +0200 Subject: [PATCH 4/4] chore: use v0.0.1 --- .github/workflows/integration-gateway.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-gateway.yml b/.github/workflows/integration-gateway.yml index a92eb02..c93ac70 100644 --- a/.github/workflows/integration-gateway.yml +++ b/.github/workflows/integration-gateway.yml @@ -29,7 +29,7 @@ jobs: path: ${{ env.GATEWAY_CHECKOUT_DIR }} - name: Install CLI and create config file - uses: scaleway/action-scw@master + uses: scaleway/action-scw@v0.0.1 with: version: v2.14.0 access-key: ${{ secrets.SCW_ACCESS_KEY }}