Skip to content

Commit

Permalink
Fix e2e pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
  • Loading branch information
helayoty committed Jan 17, 2024
1 parent 8db4813 commit 3c189d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/aks-addon-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ concurrency:
cancel-in-progress: true

on:
pull_request_target:
pull_request:
branches: [master]
paths-ignore: ['docs/**', '**.md', '**.mdx', '**.png', '**.jpg']
push:
Expand All @@ -23,7 +23,7 @@ env:

jobs:
export-registry:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
outputs:
registry: ${{ steps.export.outputs.registry }}
steps:
Expand All @@ -38,7 +38,7 @@ jobs:
env:
REGISTRY: ${{ needs.export-registry.outputs.registry }}
E2E_IMG_TAG: "e2e-ci"
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
Expand All @@ -65,12 +65,7 @@ jobs:
echo "CLUSTER_NAME=aks-addon-vk-test${rand}" >> $GITHUB_ENV
- name: Install Azure CLI latest
run: |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
az version
- uses: azure/login@v1.5.1
- uses: azure/login@v1.4.7
with:
client-id: ${{ secrets.CLIENTID }}
tenant-id: ${{ secrets.TENANT_ID }}
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ concurrency:
cancel-in-progress: true

on:
workflow_dispatch:
pull_request_target:
pull_request:
branches:
- master
- release-**
Expand All @@ -26,7 +25,7 @@ env:

jobs:
export-registry:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
outputs:
registry: ${{ steps.export.outputs.registry }}
steps:
Expand All @@ -41,7 +40,7 @@ jobs:
env:
REGISTRY: ${{ needs.export-registry.outputs.registry }}
E2E_IMG_TAG: "e2e-ci"
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
Expand All @@ -68,12 +67,7 @@ jobs:
echo "CLUSTER_NAME=vk-aci-test${rand}" >> $GITHUB_ENV
- name: Install Azure CLI latest
run: |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
az version
- uses: azure/login@v1.5.1
- uses: azure/login@v1.5.0
with:
client-id: ${{ secrets.CLIENTID }}
tenant-id: ${{ secrets.TENANT_ID }}
Expand Down

0 comments on commit 3c189d4

Please sign in to comment.