Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipeline changes #2

Merged
merged 2 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/dev-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ on:


env:
ECR_IMAGE_TAG: "AGENT_v_${{ github.run_number }}"

ECR_IMAGE_TAG: "AGENT_V_${{ github.run_number }}"

ECR_REPOSITORY: "dev-services"
AWS_REGION: "ap-southeast-1"
CLUSTER: "DEV-NGOTAG-CLUSTER"
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/dev-api-gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ on:
push:
branches:
- develop
paths:
- 'apps/api-gateway/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "AGENT_V_${{ github.run_number }}"
ECR_IMAGE_TAG: "API-GATEWAY_V_${{ github.run_number }}"
ECR_REPOSITORY: "dev-services"
AWS_REGION: "ap-southeast-1"
CLUSTER: "DEV-NGOTAG-CLUSTER"
Expand Down Expand Up @@ -42,7 +39,7 @@ jobs:
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: dev-services
IMAGE_TAG: "AGENT_V_${{ github.run_number }}"
IMAGE_TAG: "API-GATEWAY_V_${{ github.run_number }}"
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f Dockerfiles/Dockerfile.api-gateway .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
Expand All @@ -52,7 +49,7 @@ jobs:
run: |
echo "ECR_REGISTRY=${{ steps.login-ecr.outputs.registry }}" >> $GITHUB_ENV
echo "ECR_REPOSITORY=dev-services" >> $GITHUB_ENV
echo "IMAGE_TAG=AGENT_V_${{ github.run_number }}" >> $GITHUB_ENV
echo "IMAGE_TAG=API-GATEWAY_V_${{ github.run_number }}" >> $GITHUB_ENV

- name: Print environment variables
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dev-connection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ on:
push:
branches:
- develop
paths:
- 'apps/connection/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "CONNECTION_V_${{ github.run_number }}"
ECR_REPOSITORY: "dev-services"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/dev-ecosystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ on:
push:
branches:
- develop
paths:
- 'apps/ecosystem/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "ECOSYSTEM_V_${{ github.run_number }}"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dev-issuance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ on:
push:
branches:
- develop
paths:
- 'apps/issuance/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "ISSUANCE_V_${{ github.run_number }}"
ECR_REPOSITORY: "dev-services"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/dev-ledger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ on:
push:
branches:
- develop
paths:
- 'apps/ledger/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "LEDGER_V_${{ github.run_number }}"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/dev-notification-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ on:
push:
branches:
- pipeline-implementation
paths:
- 'apps/user/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "USER_v_${{ github.run_number }}"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dev-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ on:
push:
branches:
- develop
paths:
- 'apps/notification/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "NOTIFICATION_V_${{ github.run_number }}"
ECR_REPOSITORY: "dev-services"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dev-organization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ on:
push:
branches:
- develop
paths:
- 'apps/organization/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "ORGANIZATION_V_${{ github.run_number }}"
ECR_REPOSITORY: "dev-services"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dev-user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ on:
push:
branches:
- develop
paths:
- 'apps/user/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "USER_v_${{ github.run_number }}"
ECR_REPOSITORY: "dev-services"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dev-utility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ on:
push:
branches:
- develop
paths:
- 'apps/utility/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "UTILITY_V_${{ github.run_number }}"
ECR_REPOSITORY: "dev-services"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dev-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ on:
push:
branches:
- develop
paths:
- 'apps/webhook/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "VERIFICATION_V_${{ github.run_number }}"
ECR_REPOSITORY: "dev-services"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/dev-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ on:
push:
branches:
- develop
paths:
- 'apps/webhook/**'
workflow_dispatch:


env:
ECR_IMAGE_TAG: "WEBHOOK_V_${{ github.run_number }}"
Expand Down
Loading