Skip to content

Commit

Permalink
ci(ci.yml): update workflow name and modify deployment job for enhanc…
Browse files Browse the repository at this point in the history
…ed CI/CD process

The workflow name is updated to "Continuous integration, build and
deploy" to better reflect the full scope of the CI/CD process. The
deployment job is renamed from `call-docker-build` to
`call-build-deploy` and now uses a more comprehensive deployment script
`composite-backend-deploy.yaml` from the `develop` branch. This change
integrates building, deploying, and managing cluster configurations
directly within the CI workflow, enhancing automation and consistency
across development environments.
  • Loading branch information
cybersiddhu committed Jul 11, 2024
1 parent 949c04b commit 0d08dd4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Continuous integration
name: Continuous integration, build and deploy
on:
push:
branches:
Expand Down Expand Up @@ -33,12 +33,15 @@ jobs:
with:
file: ./profile.cov
token: ${{ secrets.CODECOV }}
call-docker-build:
call-build-deploy:
needs: test
uses: dictyBase/workflows/.github/workflows/docker-publish.yaml@main
uses: dictyBase/workflows/.github/workflows/composite-backend-deploy.yaml@develop
secrets: inherit
with:
app: content
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
image: modware-content
ref: ${{ github.ref_name }}
dockerfile: build/package/Dockerfile
cluster: ${{ vars.DEV_STAGING_CLUSTER }}
cluster_state_storage: ${{ vars.DEV_STAGING_KOPS_STATE_STORAGE }}

0 comments on commit 0d08dd4

Please sign in to comment.