Skip to content

Commit 19cab70

Browse files
committed
Replace local deployment workflow with centralized armada workflow
1 parent e55a2fb commit 19cab70

3 files changed

Lines changed: 17 additions & 73 deletions

File tree

.github/workflows/deploy_to_development.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,14 @@ jobs:
4545
deploy:
4646
name: Update deployment in Development
4747
needs: [build-and-push-dev-image-to-ghcr, get-short-sha]
48-
uses: ./.github/workflows/update_aurora_deployment.yml
48+
uses: equinor/armada/.github/workflows/update_kubernetes_deployment.yml@main
4949
with:
50-
Environment: development
51-
Registry: ghcr.io
52-
ImageName: ${{ github.repository }}
53-
Tag: "dev.${{ needs.get-short-sha.outputs.tag }}"
54-
AuthorEmail: ${{ github.event.head_commit.author.email }}
55-
AuthorName: ${{ github.event.head_commit.author.name }}
50+
environment: development
51+
registry: ghcr.io
52+
image_name: ${{ github.repository }}
53+
tag: "dev.${{ needs.get-short-sha.outputs.tag }}"
54+
author_email: ${{ github.event.head_commit.author.email }}
55+
author_name: ${{ github.event.head_commit.author.name }}
56+
infrastructure_repository: equinor/robotics-infrastructure
5657
secrets:
57-
DeployKey: ${{ secrets.ROBOTICS_INFRASTRUCTURE_DEPLOY_KEY }}
58+
deploy_key: ${{ secrets.ROBOTICS_INFRASTRUCTURE_DEPLOY_KEY }}

.github/workflows/deploy_to_staging.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,13 @@ jobs:
6767
deploy:
6868
name: Update deployment in Staging
6969
needs: build-and-push-latest-release-image-to-aurora-prod-registry
70-
uses: ./.github/workflows/update_aurora_deployment.yml
70+
uses: equinor/armada/.github/workflows/update_kubernetes_deployment.yml@main
7171
with:
72-
Environment: staging
73-
Registry: auroraprodacr.azurecr.io
74-
ImageName: robotics/isar-robot
75-
Tag: ${{ github.event.release.tag_name }}
76-
AuthorName: ${{ github.event.release.author.login }}
72+
environment: staging
73+
registry: auroraprodacr.azurecr.io
74+
image_name: robotics/isar-robot
75+
tag: ${{ github.event.release.tag_name }}
76+
author_name: ${{ github.event.release.author.login }}
77+
infrastructure_repository: equinor/robotics-infrastructure
7778
secrets:
78-
DeployKey: ${{ secrets.ROBOTICS_INFRASTRUCTURE_DEPLOY_KEY }}
79+
deploy_key: ${{ secrets.ROBOTICS_INFRASTRUCTURE_DEPLOY_KEY }}

.github/workflows/update_aurora_deployment.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)