Skip to content

Commit

Permalink
ci(staging-build.yaml): update GitHub Actions workflow to use composi…
Browse files Browse the repository at this point in the history
…te-deploy for staging

The GitHub Actions workflow for the staging environment is updated to
use a more comprehensive deployment process. The previous workflow only
handled Docker build and push, but the new `composite-deploy.yaml`
includes additional steps for deployment, such as setting up the
environment and managing cluster configurations.
  • Loading branch information
cybersiddhu committed Aug 6, 2024
1 parent 0bc3001 commit 3992556
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/staging-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@ on:
branches:
- staging
jobs:
call-docker-build:
uses: dictyBase/workflows/.github/workflows/docker-build-push.yaml@develop
call-build-deploy:
uses: dictyBase/workflows/.github/workflows/composite-deploy.yaml@main
secrets: inherit
with:
app: order
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
dockerfile: build/package/Dockerfile
docker_image: modware-stock
cluster: ${{ vars.DEV_STAGING_CLUSTER }}
cluster_state_storage: ${{ vars.DEV_STAGING_KOPS_STATE_STORAGE }}
stack: staging
environment: staging

0 comments on commit 3992556

Please sign in to comment.