diff --git a/.github/workflows/github_api_client.py b/.github/workflows/github_api_client.py index 61573c675..6217ba14b 100644 --- a/.github/workflows/github_api_client.py +++ b/.github/workflows/github_api_client.py @@ -1,7 +1,8 @@ import click import requests +import os -NEON_TESTS_ENDPOINT = "https://api.github.com/repos/neonlabsorg/neon-tests" +NEON_TESTS_ENDPOINT = os.environ.get("NEON_TESTS_ENDPOINT") class GithubClient(): diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index e7ab3a6c1..d12d7806e 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -43,6 +43,7 @@ env: IMAGE_NAME: ${{vars.IMAGE_NAME}} NEON_TEST_INVOKE_PROGRAM_IMAGE: ${{vars.NEON_TEST_INVOKE_PROGRAM_IMAGE}} NEON_TEST_RUN_LINK: ${{vars.NEON_TEST_RUN_LINK}} + NEON_TESTS_ENDPOINT: ${{vars.NEON_TESTS_ENDPOINT}} TFSTATE_BUCKET: ${{vars.TFSTATE_BUCKET}} TFSTATE_KEY_PREFIX: ${{vars.TFSTATE_KEY_PREFIX}} TFSTATE_REGION: ${{vars.TFSTATE_REGION}}