Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build system for notifications-api (part 1) #826

Merged
merged 6 commits into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,33 +40,41 @@ jobs:
BRANCH: ${{ vars.PATCH_BRANCH }}
TAG: ${{ vars.HOTFIX_TAG }}

call-mvn-server:
wfnews-api-server-build:
uses: ./.github/workflows/mvn-server.yml
#SMTP_PASSWORD, DV_PASSWORD AND TFC_PROJECT ARE STORED AS SECRET
secrets: inherit
with:
PROJECT_NAME: wfnews-api
ENVIRONMENT: DEV
IS_HOTFIX: ${{ inputs.IS_HOTFIX }}
BRANCH: ${{ vars.PATCH_BRANCH }}
TAG: ${{ vars.HOTFIX_TAG }}

wfone-notifications-api-server-build:
uses: ./.github/workflows/mvn-server.yml
secrets: inherit
with:
PROJECT_NAME: wfone-notifications-api
ENVIRONMENT: DEV
IS_HOTFIX: ${{ inputs.IS_HOTFIX }}
BRANCH: ${{ vars.PATCH_BRANCH }}
TAG: ${{ vars.HOTFIX_TAG }}
secrets:
IDIR_AS_EMAIL: ${{ secrets.IDIR_AS_EMAIL }}
IDIR_PASSWORD: ${{ secrets.IDIR_PASSWORD }}

liquibase-build:
uses: ./.github/workflows/liquibase.yml
secrets: inherit
with:
ENVIRONMENT: DEV
secrets: inherit

apisix-build:
uses: ./.github/workflows/apisix.yml
secrets: inherit
with:
ENVIRONMENT: DEV
secrets: inherit

terragrunt-deploy-dev:
uses: ./.github/workflows/terragrunt-deploy.yml
needs: [call-lambda-zip, call-mvn-client, call-mvn-server, liquibase-build, apisix-build]
needs: [call-lambda-zip, call-mvn-client, wfnews-api-server-build, wfone-notifications-api-server-build, liquibase-build, apisix-build]
with:
DEFAULT_APPLICATION_ENVIRONMENT: DEV
IMAGE_TAG: ${{ inputs.IS_HOTFIX && format('hotfix-{0}', inputs.BRANCH) || format( 'pr-{0}', github.event.pull_request.number) }}
Expand Down
132 changes: 0 additions & 132 deletions .github/workflows/deploy-prod-patch.yml

This file was deleted.

107 changes: 0 additions & 107 deletions .github/workflows/mvn-client-patch.yml

This file was deleted.

Loading
Loading