Skip to content

Commit

Permalink
Using hmpps-github-actions deploy pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandhya1874 committed Mar 7, 2025
1 parent 0796ee7 commit 2f5e9a3
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 332 deletions.
31 changes: 0 additions & 31 deletions .github/actions/cloud-platform-auth/action.yml

This file was deleted.

76 changes: 0 additions & 76 deletions .github/actions/cloud-platform-deploy/action.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/actions/docker-build/action.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/actions/get-env-details/action.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/build.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/deploy.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/deploy_to_env.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy to environment

on:
workflow_dispatch:
inputs:
environment:
description: Environment
type: choice
required: true
options:
- dev
- prod
default: 'dev'
version:
description: version to be deployed to the environment - must already exist.
required: true
default: ''
type: string

permissions:
contents: read

jobs:
helm_lint:
name: helm lint
uses: ministryofjustice/hmpps-github-actions/.github/workflows/test_helm_lint.yml@v2 # WORKFLOW_VERSION
secrets: inherit
with:
environment: ${{ inputs.environment }}
deploy_env:
name: Deploy to environment
needs:
- helm_lint
uses: ministryofjustice/hmpps-github-actions/.github/workflows/deploy_env.yml@v2 # WORKFLOW_VERSION
secrets: inherit
with:
environment: ${{ inputs.environment }}
app_version: ${{ inputs.version }}
Loading

0 comments on commit 2f5e9a3

Please sign in to comment.