-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
0 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,35 +59,3 @@ jobs: | |
tags: ${{ steps.login-ecr.outputs.registry }}/tokenguard-dev-dashboard-creator-server:${{ github.sha }} | ||
- name: Image digest | ||
run: echo ${{ steps.build-push-ecr.outputs.digest }} | ||
|
||
deploy-eks: | ||
name: Deploy image on EKS(tokenguard-dev) | ||
needs: build-push | ||
runs-on: self-hosted | ||
|
||
steps: | ||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_DEV }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_DEV }} | ||
aws-region: ${{ env.AWS_REGION }} | ||
- name: Login to Amazon ECR | ||
id: login-ecr | ||
uses: aws-actions/amazon-ecr-login@v1 | ||
|
||
- name: Deploy to tokenguard-dev | ||
uses: christallire/[email protected] | ||
env: | ||
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA_DEV }} | ||
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} | ||
ECR_REPOSITORY: tokenguard-dev-dashboard-creator-server | ||
IMAGE_TAG: ${{ github.sha }} | ||
with: | ||
args: -n dev set image deployment/dashboard-creator-server dashboard-creator-server=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG | ||
- name: verify deployment | ||
uses: christallire/[email protected] | ||
env: | ||
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA_DEV }} | ||
with: | ||
args: -n dev rollout status deployment/dashboard-creator-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,36 +59,3 @@ jobs: | |
tags: ${{ steps.login-ecr.outputs.registry }}/tokenguard-prod-dashboard-creator-server:${{ github.sha }} | ||
- name: Image digest | ||
run: echo ${{ steps.build-push-ecr.outputs.digest }} | ||
|
||
deploy-eks: | ||
name: Deploy image on EKS(tokenguard-prod) | ||
needs: build-push | ||
runs-on: self-hosted | ||
|
||
steps: | ||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_PROD }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_PROD }} | ||
aws-region: ${{ env.AWS_REGION }} | ||
- name: Login to Amazon ECR | ||
id: login-ecr | ||
uses: aws-actions/amazon-ecr-login@v1 | ||
|
||
- name: Deploy to tokenguard-prod | ||
uses: christallire/[email protected] | ||
env: | ||
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA_PROD }} | ||
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} | ||
ECR_REPOSITORY: tokenguard-prod-dashboard-creator-server | ||
IMAGE_TAG: ${{ github.sha }} | ||
with: | ||
args: -n prod set image deployment/dashboard-creator-server dashboard-creator-server=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG | ||
|
||
- name: verify deployment | ||
uses: christallire/[email protected] | ||
env: | ||
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA_PROD }} | ||
with: | ||
args: -n prod rollout status deployment/dashboard-creator-server |