Skip to content

Commit

Permalink
use top level azure cli install action
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Oberlechner <[email protected]>
  • Loading branch information
geoberle committed Oct 29, 2024
1 parent 1871db9 commit f0487f6
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 40 deletions.
14 changes: 0 additions & 14 deletions .github/actions/install-azure-cli/action.yml

This file was deleted.

44 changes: 22 additions & 22 deletions .github/workflows/aro-hcp-dev-env-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: 'Deploy'
run: |
Expand All @@ -90,8 +90,8 @@
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: 'Deploy'
run: |
Expand All @@ -116,8 +116,8 @@
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: 'Deploy'
run: |
Expand All @@ -144,8 +144,8 @@
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: 'Deploy'
run: |
Expand Down Expand Up @@ -175,8 +175,8 @@
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: 'Deploy or Update'
run: |
Expand All @@ -193,8 +193,8 @@
with:
fetch-depth: 1

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: Build frontend container image
run: |
Expand Down Expand Up @@ -225,8 +225,8 @@
with:
fetch-depth: 1

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: Build backend container image
run: |
Expand Down Expand Up @@ -259,8 +259,8 @@
with:
fetch-depth: 1

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: Build oc-mirror container image
run: |
Expand Down Expand Up @@ -293,8 +293,8 @@
with:
fetch-depth: 1

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: Build image-sync container image
run: |
Expand Down Expand Up @@ -339,8 +339,8 @@
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- uses: azure/setup-kubectl@3e0aec4d80787158d308d7b364cb1b702e7feb7f # v4.0.0

Expand Down Expand Up @@ -414,8 +414,8 @@
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- uses: azure/setup-kubectl@3e0aec4d80787158d308d7b364cb1b702e7feb7f # v4.0.0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/aro-hcp-dev-what-if.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: 'Deployment What If'
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cs-pr-what-if.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- name: 'Deployment What If'
run: |
Expand Down

0 comments on commit f0487f6

Please sign in to comment.