Skip to content

Commit 467aa74

Browse files
F/platform 875 (#66)
* PLATFORM-875: Moved to proper place * PLATFORM-875: Added credentials setup
1 parent cd24370 commit 467aa74

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.gflows/libs/build_publish_steps.lib.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
images: #@ images
1818
target-tag: ${{ needs.version.outputs.app_version }}
1919
compose-file: #@ integration_test_definition.compose_file
20-
env-vars: '{"GOOGLE_APPLICATION_CREDENTIALS":"${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}"}'
2120
- name: Prepare compose file
2221
uses: ./.github/actions/set-compose-tags
2322
with:

.gflows/libs/job_integration_test.lib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
#@ steps = []
106106
#@ steps.extend(docker.steps.build(integration_test_definition, sections.cache_registry))
107107
#@ steps.extend(integration_test_run_job_steps(integration_test_definition, repository_built_images, sections.cache_registry, repository_built_images_to_publish, getattr(sections,"main_registry",None)))
108-
#@ return common.generate_job(integration_test_definition, steps ,{"RESULTS_PATH": "TestResults"},sections, needs, job_name)
108+
#@ return common.generate_job(integration_test_definition, steps ,{"RESULTS_PATH": "TestResults", "GOOGLE_APPLICATION_CREDENTIALS": "${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}"},sections, needs, job_name)
109109
#@ end
110110
---
111111

github-sample/workflows/build-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ jobs:
484484
- docker-build-auth-mongo
485485
env:
486486
RESULTS_PATH: TestResults
487+
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
487488
steps:
488489
- name: Set up Docker Buildx
489490
uses: docker/setup-buildx-action@v2
@@ -537,7 +538,6 @@ jobs:
537538
images: covergo/auth;covergo/auth-predeployment;covergo/auth-test-unit;covergo/cases-mariadb-test-integration;covergo/cases-test-acceptance;covergo/cases-api-test-integration;covergo/auth-mongo
538539
target-tag: ${{ needs.version.outputs.app_version }}
539540
compose-file: docker-compose.yml
540-
env-vars: '{"GOOGLE_APPLICATION_CREDENTIALS":"${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}"}'
541541
- name: Prepare compose file
542542
uses: ./.github/actions/set-compose-tags
543543
with:
@@ -667,7 +667,6 @@ jobs:
667667
images: covergo/auth;covergo/auth-predeployment;covergo/auth-test-unit;covergo/cases-mariadb-test-integration;covergo/cases-test-acceptance;covergo/cases-api-test-integration;covergo/auth-mongo
668668
target-tag: ${{ needs.version.outputs.app_version }}
669669
compose-file: docker-compose.yml
670-
env-vars: '{"GOOGLE_APPLICATION_CREDENTIALS":"${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}"}'
671670
- name: Prepare compose file
672671
uses: ./.github/actions/set-compose-tags
673672
with:
@@ -823,7 +822,6 @@ jobs:
823822
images: covergo/auth;covergo/auth-predeployment;covergo/auth-test-unit;covergo/cases-mariadb-test-integration;covergo/cases-test-acceptance;covergo/cases-api-test-integration;covergo/auth-mongo
824823
target-tag: ${{ needs.version.outputs.app_version }}
825824
compose-file: docker-compose.mariadb.yml
826-
env-vars: '{"GOOGLE_APPLICATION_CREDENTIALS":"${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}"}'
827825
- name: Prepare compose file
828826
uses: ./.github/actions/set-compose-tags
829827
with:

0 commit comments

Comments
 (0)