-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1053 from US-Trustee-Program/CAMS-461-durable-fun…
…ction CAMS-461 Durable function for consolidation migration from ACMS
- Loading branch information
Showing
305 changed files
with
5,355 additions
and
2,564 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,10 @@ on: | |
nodeVersion: | ||
required: true | ||
type: string | ||
apiName: | ||
apiFunctionName: | ||
required: true | ||
type: string | ||
migrationFunctionName: | ||
required: true | ||
type: string | ||
camsServerHostname: | ||
|
@@ -84,28 +87,42 @@ jobs: | |
backend: | ||
defaults: | ||
run: | ||
working-directory: backend/functions | ||
working-directory: backend | ||
|
||
runs-on: ubuntu-latest | ||
environment: ${{ inputs.environment }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Execute Build | ||
run: | | ||
pushd ../../common | ||
npm ci | ||
popd | ||
npm run use-bash | ||
npm run build-common | ||
npm ci | ||
npm run build | ||
- name: Package Application | ||
run: OUT=${{ inputs.apiName }} npm run pack | ||
npm run build:api | ||
npm run build:migration | ||
- name: Package API | ||
run: OUT=${{ inputs.apiFunctionName }} npm run pack | ||
|
||
- name: Package Migration | ||
run: OUT=${{ inputs.migrationFunctionName }} npm run pack:migration | ||
|
||
- name: Upload API Azure Functions Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: ${{ inputs.apiFunctionName }}-build | ||
path: backend/function-apps/api/${{ inputs.apiFunctionName }}.zip | ||
if-no-files-found: error | ||
|
||
- name: Upload Node Azure Functions Artifact | ||
- name: Upload Migration Azure Functions Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: ${{ inputs.apiName }}-build | ||
path: backend/functions/${{ inputs.apiName }}.zip | ||
name: ${{ inputs.migrationFunctionName }}-build | ||
path: backend/function-apps/migration/${{ inputs.migrationFunctionName }}.zip | ||
if-no-files-found: error |
Oops, something went wrong.