Skip to content

Commit

Permalink
ci: fix cluster name on deploy jobs
Browse files Browse the repository at this point in the history
- Fixed version output for release job.
- Changed cluster name from `pillarbox-monitoring` to `pillarbox-monitoring-cluster`.
- Changed workflow dispatch input description to match the version format used in ECR.
  • Loading branch information
jboix committed Oct 29, 2024
1 parent d733f7a commit 4d39821
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: "Enter the version tag to promote as stable (e.g., v1.0.0)"
description: "Enter the version to promote as stable (e.g., 1.0.0)"
required: true
type: string

Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
- name: ECS deployment
run: >
aws ecs update-service \
--cluster pillarbox-monitoring \
--cluster pillarbox-monitoring-cluster \
--service data-transfer-service \
--force-new-deployment \
--region ${{ secrets.AWS_REGION }}
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
release:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.semantic-release.outputs.version }}
version: ${{ steps.check-version.outputs.version }}

permissions:
contents: write
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
npx semantic-release
- name: Check version
id: check_version
id: check-version
run: >
if [ -f VERSION ]; then
VERSION=$(cat VERSION)
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
- name: ECS deployment
run: >
aws ecs update-service \
--cluster pillarbox-monitoring \
--cluster pillarbox-monitoring-cluster \
--service data-transfer-service \
--force-new-deployment \
--region ${{ secrets.AWS_REGION }}

0 comments on commit 4d39821

Please sign in to comment.