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

TESTING API IMAGE BUILD #294

Merged
merged 3 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions .github/workflows/api-build-tag-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
# Build the GRS DATS Image
- name: Build GRS DATS API Image
run: |
cd backend && docker build -t image-registry.apps.silver.devops.gov.bc.ca/ede50e-tools/citz-grs-dats-api:${{github.event.pull_request.number}} -f .docker/Dockerfile.prod .
cd backend && docker build -t image-registry.apps.silver.devops.gov.bc.ca/ede50e-tools/citz-grs-dats-api-v2:${{github.event.pull_request.number}} -f docker/Dockerfile.prod .

# Push the GRS DATS API Image to Artifactory
- name: Push the CoCo API Image to Artifactory
run: |
docker push image-registry.apps.silver.devops.gov.bc.ca/ede50e-tools/citz-grs-dats-api:${{github.event.pull_request.number}}
docker push image-registry.apps.silver.devops.gov.bc.ca/ede50e-tools/citz-grs-dats-api-v2:${{github.event.pull_request.number}}

Update_Wiki_Tags:
needs: [GRS-DATS-API-Build-Tag-Push]
Expand Down
1 change: 1 addition & 0 deletions backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ app.listen(PORT, () => {
try {
// Log server start information.
serverStartupLogs(PORT);
console.log(`API has started, and is listening on ${PORT}`)
} catch (error) {
// Log any error that occurs during the server start.
console.error(error);
Expand Down
Loading