Skip to content

Commit

Permalink
Merge pull request #56 from TheJacksonLaboratory/G3-211-release-genew…
Browse files Browse the repository at this point in the history
…eaver-api-0-4-0

Another CICD fix before 0.4.0 release
  • Loading branch information
bergsalex authored Apr 23, 2024
2 parents 7f26679 + 0d64c2a commit ffa84b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,33 +88,34 @@ jobs:
echo "should_release=$SHOULD_RELEASE" >> $GITHUB_OUTPUT
echo "prerelease=$PRERELEASE" >> $GITHUB_OUTPUT
echo "schedule_prod_release=$SCHEDULE_PROD_RELEASE" >> $GITHUB_OUTPUT
cat $GITHUB_OUTPUT
build:
name: "Build"
needs: [ test, check-coverage, format-lint, version ]
if: needs.version.outputs.should_release == 'true'
if: steps.version.outputs.should_release == 'true'
uses: ./.github/workflows/_skaffold-build-k8s.yml
secrets: inherit
deploy_sqa:
name: "Deploy: SQA"
needs: [build, version]
if: needs.version.outputs.should_release == 'true'
if: steps.version.outputs.should_release == 'true'
uses: ./.github/workflows/_skaffold-deploy-k8s.yml
secrets: inherit
with:
environment: "jax-cluster-dev-10--sqa"
deploy_stage:
name: "Deploy: Stage"
needs: [ build, version, deploy_sqa]
if: needs.version.outputs.schedule_prod_release == 'true'
if: steps.version.outputs.schedule_prod_release == 'true'
uses: ./.github/workflows/_skaffold-deploy-k8s.yml
secrets: inherit
with:
environment: "jax-cluster-prod-10--stage"
deploy_prod:
name: "Deploy: Prod"
needs: [ build, version, deploy_stage]
if: needs.version.outputs.schedule_prod_release == 'true'
if: steps.version.outputs.schedule_prod_release == 'true'
uses: ./.github/workflows/_skaffold-deploy-k8s.yml
secrets: inherit
with:
Expand All @@ -123,7 +124,7 @@ jobs:
name: "Create Github Release Draft"
runs-on: ubuntu-latest
needs: [ deploy_prod ]
if: needs.version.outputs.schedule_prod_release == 'true'
if: steps.version.outputs.schedule_prod_release == 'true'
steps:
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "geneweaver-api"
version = "0.4.0b0"
version = "0.4.0"
description = "The Geneweaver API"
authors = [
"Alexander Berger <[email protected]>",
Expand Down

0 comments on commit ffa84b3

Please sign in to comment.