Skip to content

Commit

Permalink
update deprecated actions + cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: NikitaSkrynnik <[email protected]>
  • Loading branch information
NikitaSkrynnik committed Aug 7, 2024
1 parent f02b1b0 commit 8b0c2bf
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
sudo chmod -R 777 /bin
- name: Set up go
uses: actions/setup-go@v1
uses: actions/setup-go@v5
with:
go-version: 1.20.5
- name: Install gcloud-sdk
Expand All @@ -40,18 +40,18 @@ jobs:
service_account_key: ${{ secrets.GCLOUD_SERVICE_KEY }}
project_id: ${{ secrets.GOOGLE_PROJECT_ID }}
- name: Checkout deployments
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: networkservicemesh/deployments-k8s
path: networkservicemesh/deployments-k8s
- name: Checkout files
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: ${{ github.repository }}
- name: Setup cluster
working-directory: ${{ github.repository }}
run: |
GKE_K8S_VERSION=$(echo $GKE_K8S_VERSION | cut -c 2-)
GKE_K8S_VERSION=$(echo ${{ vars.NSM_KUBERNETES_VERSION }} | cut -c 2-)
gcloud components install gke-gcloud-auth-plugin
gcloud components update
Expand All @@ -72,7 +72,6 @@ jobs:
GKE_CLUSTER_ZONE: us-central1-a
GKE_CLUSTER_TYPE: n1-standard-2
GKE_CLUSTER_NUM_NODES: 2
GKE_K8S_VERSION: ${{ vars.NSM_KUBERNETES_VERSION }}
KUBECONFIG: config
USE_GKE_GCLOUD_AUTH_PLUGIN: true
- name: Run integration tests
Expand All @@ -93,8 +92,8 @@ jobs:
GKE_PROJECT_ID: ${{ secrets.GOOGLE_PROJECT_ID }}
GKE_CLUSTER_NAME: gke-${{ github.run_id }}-${{ github.run_number }}
GKE_CLUSTER_ZONE: us-central1-a
- name: Upload logs # 9. Upload logs
uses: actions/upload-artifact@v2
- name: Upload logs
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: logs-${{ github.run_number }}
Expand Down

0 comments on commit 8b0c2bf

Please sign in to comment.