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

Enable deploy to preprod and prod #4

Merged
merged 1 commit into from
Dec 16, 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
40 changes: 20 additions & 20 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,23 +71,23 @@ jobs:
with:
environment: 'dev'
app_version: '${{ needs.build.outputs.app_version }}'
# deploy_preprod:
# name: Deploy to pre-production environment
# needs:
# - build
# - deploy_dev
# uses: ministryofjustice/hmpps-github-actions/.github/workflows/deploy_env.yml@v2 # WORKFLOW_VERSION
# secrets: inherit
# with:
# environment: 'preprod'
# app_version: '${{ needs.build.outputs.app_version }}'
# deploy_prod:
# name: Deploy to production environment
# needs:
# - build
# - deploy_preprod
# uses: ministryofjustice/hmpps-github-actions/.github/workflows/deploy_env.yml@v2 # WORKFLOW_VERSION
# secrets: inherit
# with:
# environment: 'prod'
# app_version: '${{ needs.build.outputs.app_version }}'
deploy_preprod:
name: Deploy to pre-production environment
needs:
- build
- deploy_dev
uses: ministryofjustice/hmpps-github-actions/.github/workflows/deploy_env.yml@v2 # WORKFLOW_VERSION
secrets: inherit
with:
environment: 'preprod'
app_version: '${{ needs.build.outputs.app_version }}'
deploy_prod:
name: Deploy to production environment
needs:
- build
- deploy_preprod
uses: ministryofjustice/hmpps-github-actions/.github/workflows/deploy_env.yml@v2 # WORKFLOW_VERSION
secrets: inherit
with:
environment: 'prod'
app_version: '${{ needs.build.outputs.app_version }}'
2 changes: 1 addition & 1 deletion helm_deploy/hmpps-allocate-key-workers-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ generic-service:
# the IRSA service account name for accessing AWS resources
# serviceAccountName: "hmpps-allocate-key-workers-ui"

replicaCount: 4
replicaCount: 2

image:
repository: ghcr.io/ministryofjustice/hmpps-allocate-key-workers-ui
Expand Down
2 changes: 0 additions & 2 deletions helm_deploy/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Per environment values which override defaults in hmpps-allocate-key-workers-ui/values.yaml

generic-service:
replicaCount: 2

ingress:
host: allocate-key-workers-dev.hmpps.service.justice.gov.uk

Expand Down
2 changes: 0 additions & 2 deletions helm_deploy/values-preprod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Per environment values which override defaults in hmpps-allocate-key-workers-ui/values.yaml

generic-service:
replicaCount: 2

ingress:
host: allocate-key-workers-preprod.hmpps.service.justice.gov.uk

Expand Down
Loading