From e5d65fe1a51d1a3e51f7b53c553f5449a710b084 Mon Sep 17 00:00:00 2001 From: Adam Kroon Date: Wed, 9 Oct 2024 13:21:45 -0700 Subject: [PATCH 1/3] TESTING API IMAGE BUILD --- backend/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/index.ts b/backend/src/index.ts index 0de4dd77..02f49c9f 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -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); From dc9199fa708fcca204307e9bdbd1a64466cf0664 Mon Sep 17 00:00:00 2001 From: Adam Kroon Date: Wed, 9 Oct 2024 13:23:58 -0700 Subject: [PATCH 2/3] Update api-build-tag-push.yaml --- .github/workflows/api-build-tag-push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/api-build-tag-push.yaml b/.github/workflows/api-build-tag-push.yaml index 026a5bb0..ba943f88 100644 --- a/.github/workflows/api-build-tag-push.yaml +++ b/.github/workflows/api-build-tag-push.yaml @@ -37,7 +37,7 @@ 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:${{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 From 8a16a00a4349eca2dd02407d0a5ddffa37379dbc Mon Sep 17 00:00:00 2001 From: Adam Kroon Date: Wed, 9 Oct 2024 13:27:46 -0700 Subject: [PATCH 3/3] Update api-build-tag-push.yaml --- .github/workflows/api-build-tag-push.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/api-build-tag-push.yaml b/.github/workflows/api-build-tag-push.yaml index ba943f88..bca78b15 100644 --- a/.github/workflows/api-build-tag-push.yaml +++ b/.github/workflows/api-build-tag-push.yaml @@ -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]