From b1c23fe837e117f7252d15afbb41fcec7a65f29e Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Thu, 22 Feb 2024 14:49:10 +0700 Subject: [PATCH 1/3] Update deprecated github actions Signed-off-by: NikitaSkrynnik --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 146e473..7b66cde 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,11 +27,11 @@ jobs: KUBERNETES_VERSION: ${{ secrets.NSM_KUBERNETES_VERSION }} steps: - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.9.0 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ github.token }} - name: Checkout files - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: ${{ github.repository }} - name: Install azure-cli @@ -50,17 +50,17 @@ jobs: - name: Set up /bin permissions run: | sudo chmod -R 777 /bin - - uses: actions/setup-go@v1 + - uses: actions/setup-go@v5 with: go-version: 1.20.5 - github-token: ${{ github.token }} + token: ${{ github.token }} - name: setup env run: | echo GOPATH=$GITHUB_WORKSPACE >> $GITHUB_ENV echo GO111MODULE=on >> $GITHUB_ENV echo $GITHUB_WORKSPACE/bin >> $GITHUB_PATH - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: ${{ github.workspace }}/src/github.com/${{ github.repository }} @@ -159,7 +159,7 @@ jobs: AZURE_RESOURCE_GROUP: nsm-ci - name: Upload logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: logs-${{ github.run_number }} From e1526d73a61c69a1376f73038d4af9f3dfd66e87 Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Wed, 28 Feb 2024 11:41:46 +0700 Subject: [PATCH 2/3] update refs Signed-off-by: NikitaSkrynnik --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 54675e8..ecad576 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/networkservicemesh/integration-interdomain-k8s go 1.20 require ( - github.com/networkservicemesh/integration-tests v0.0.0-20240221125333-906f910ba3c1 + github.com/networkservicemesh/integration-tests v0.0.0-20240227135027-7ac3a81dd853 github.com/stretchr/testify v1.8.4 ) diff --git a/go.sum b/go.sum index 35831bd..a6de763 100644 --- a/go.sum +++ b/go.sum @@ -14,8 +14,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/networkservicemesh/gotestmd v0.0.0-20220628095933-eabbdc09e0dc h1:1L/OisEFsOyhwaqeJpYmM1nlJ2dBusUMiszPDBlUip0= github.com/networkservicemesh/gotestmd v0.0.0-20220628095933-eabbdc09e0dc/go.mod h1:8EWnekTRNX+NxBdTFE24WqUoM7SgJHbiafDBrIIdOmQ= -github.com/networkservicemesh/integration-tests v0.0.0-20240221125333-906f910ba3c1 h1:kEpJ1CZwdCgU/QmvO/FvF0F69gjmtiuhigo8FRnK2jI= -github.com/networkservicemesh/integration-tests v0.0.0-20240221125333-906f910ba3c1/go.mod h1:WLpOEldvahZQkJSdU3kspIS4tB1x1hDnWP08B/nCTjM= +github.com/networkservicemesh/integration-tests v0.0.0-20240227135027-7ac3a81dd853 h1:qhZj8zv5bt/+a8Q9T1Zlj8BzGqNt0GVBG7rvXqxTNfk= +github.com/networkservicemesh/integration-tests v0.0.0-20240227135027-7ac3a81dd853/go.mod h1:WLpOEldvahZQkJSdU3kspIS4tB1x1hDnWP08B/nCTjM= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= From 1477e7b6092062ae047696f572076bea36cd6116 Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Wed, 28 Feb 2024 12:42:56 +0700 Subject: [PATCH 3/3] update gcloud actions Signed-off-by: NikitaSkrynnik --- .github/workflows/ci.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7b66cde..6df72c9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,11 +42,12 @@ jobs: - name: Set up azure permissions run: | sudo chmod -R 777 ~/.azure - - name: Install gcloud-sdk - uses: google-github-actions/setup-gcloud@v0 + - uses: 'google-github-actions/auth@v2' with: - service_account_key: ${{ secrets.GCLOUD_SERVICE_KEY }} project_id: ${{ secrets.GOOGLE_PROJECT_ID }} + credentials_json: ${{ secrets.GCLOUD_SERVICE_KEY }} + - name: Install gcloud-sdk + uses: google-github-actions/setup-gcloud@v2 - name: Set up /bin permissions run: | sudo chmod -R 777 /bin