From 0d08dd420b3093b82c99137411d8b081a1876128 Mon Sep 17 00:00:00 2001 From: Siddhartha Basu Date: Thu, 11 Jul 2024 15:36:34 -0500 Subject: [PATCH] ci(ci.yml): update workflow name and modify deployment job for enhanced 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. --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b37d984..f5193b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Continuous integration +name: Continuous integration, build and deploy on: push: branches: @@ -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 }}