Skip to content

Commit

Permalink
deployment on dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheetal-ayanworks committed May 14, 2024
1 parent 7f99d40 commit 6bfac66
Show file tree
Hide file tree
Showing 26 changed files with 52 additions and 52 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dev-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- pipeline-implementation
# paths:
# - 'apps/agent-service/**'
# workflow_dispatch:
paths:
- 'apps/agent-service/**'
workflow_dispatch:

env:

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev-api-gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- pipeline-implementation
# paths:
# - 'apps/api-gateway/**'
# workflow_dispatch:
paths:
- 'apps/api-gateway/**'
workflow_dispatch:

env:
ECR_IMAGE_TAG: "API-GATEWAY_V_${{ github.run_number }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev-connection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- pipeline-implementation
# paths:
# - 'apps/connection/**'
# workflow_dispatch:
paths:
- 'apps/connection/**'
workflow_dispatch:

env:
ECR_IMAGE_TAG: "CONNECTION_V_${{ github.run_number }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev-ecosystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- pipeline-implementation
# paths:
# - 'apps/ecosystem/**'
# workflow_dispatch:
paths:
- 'apps/ecosystem/**'
workflow_dispatch:

env:
ECR_IMAGE_TAG: "ECOSYSTEM_V_${{ github.run_number }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev-issuance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- pipeline-implementation
# paths:
# - 'apps/issuance/**'
# workflow_dispatch:
paths:
- 'apps/issuance/**'
workflow_dispatch:

env:
ECR_IMAGE_TAG: "ISSUANCE_V_${{ github.run_number }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev-ledger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- pipeline-implementation
# paths:
# - 'apps/ledger/**'
# workflow_dispatch:
paths:
- 'apps/ledger/**'
workflow_dispatch:

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

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

env:
ECR_IMAGE_TAG: "NOTIFICATION_V_${{ github.run_number }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev-organization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- pipeline-implementation
# paths:
# - 'apps/organization/**'
# workflow_dispatch:
paths:
- 'apps/organization/**'
workflow_dispatch:

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

env:
ECR_IMAGE_TAG: "USER_v_${{ github.run_number }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev-utility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- pipeline-implementation
# paths:
# - 'apps/utility/**'
# workflow_dispatch:
paths:
- 'apps/utility/**'
workflow_dispatch:

env:
ECR_IMAGE_TAG: "UTILITY_V_${{ github.run_number }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- pipeline-implementation
# paths:
# - 'apps/verification/**'
# workflow_dispatch:
paths:
- 'apps/verification/**'
workflow_dispatch:

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

env:
ECR_IMAGE_TAG: "WEBHOOK_V_${{ github.run_number }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qa-agent-provisioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-api-gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-connection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-ecosystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-issuance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-ledger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-organization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-utility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi
2 changes: 1 addition & 1 deletion .github/workflows/qa-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ jobs:
DESIRED_COUNT="1"
fi
# Update the existing service
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.qa-taskdefinition.revision')
REVISION=$(aws ecs describe-task-definition --task-definition ${FAMILY} --region ap-southeast-1 | jq -r '.taskDefinition.revision')
aws ecs update-service --cluster ${CLUSTER} --region ap-southeast-1 --service ${SERVICE_NAME} --task-definition ${FAMILY}:${REVISION} --desired-count ${DESIRED_COUNT}
fi

0 comments on commit 6bfac66

Please sign in to comment.