Skip to content

Commit

Permalink
Echo environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
wanliAlex committed Jul 26, 2024
1 parent 0d5432e commit 604c1a5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/arm64_local_os_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,14 @@ jobs:
- name: Set up Environment
run: |
# Set up conf file
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> conf
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> $GITHUB_ENV
export MQ_API_TEST_BRANCH=$(echo "${GITHUB_REF}" | cut -d'/' -f3-)
echo "MQ_API_TEST_BRANCH=$MQ_API_TEST_BRANCH" >> $GITHUB_ENV
CUSTOM_TEST_IMG="${{ github.event.inputs.image_to_test }}"
export MQ_API_TEST_IMG=${CUSTOM_TEST_IMG:-"marqo_docker_0"}
echo "MQ_API_TEST_IMG=$MQ_API_TEST_IMG" >> $GITHUB_ENV
export MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git
echo "MQ_PY_MARQO_BRANCH=$MQ_PY_MARQO_BRANCH" >> $GITHUB_ENV
echo "Marqo Branch: $MQ_API_TEST_BRANCH"
echo "API Test branch: 1.4.x"
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/cuda_dind_os_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,14 @@ jobs:
- name: Set up Environment
run: |
# Set up conf file
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> conf
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> $GITHUB_ENV
export MQ_API_TEST_BRANCH=$(echo "${GITHUB_REF}" | cut -d'/' -f3-)
echo "MQ_API_TEST_BRANCH=$MQ_API_TEST_BRANCH" >> $GITHUB_ENV
CUSTOM_TEST_IMG="${{ github.event.inputs.image_to_test }}"
export MQ_API_TEST_IMG=${CUSTOM_TEST_IMG:-"marqo_docker_0"}
echo "MQ_API_TEST_IMG=$MQ_API_TEST_IMG" >> $GITHUB_ENV
export MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git
echo "MQ_PY_MARQO_BRANCH=$MQ_PY_MARQO_BRANCH" >> $GITHUB_ENV
echo "Marqo Branch: $MQ_API_TEST_BRANCH"
echo "API Test branch: 1.4.x"
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/dind_os_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,14 @@ jobs:

- name: Set up Environment
run: |
# Set up conf file
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> conf
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> $GITHUB_ENV
export MQ_API_TEST_BRANCH=$(echo "${GITHUB_REF}" | cut -d'/' -f3-)
echo "MQ_API_TEST_BRANCH=$MQ_API_TEST_BRANCH" >> $GITHUB_ENV
CUSTOM_TEST_IMG="${{ github.event.inputs.image_to_test }}"
export MQ_API_TEST_IMG=${CUSTOM_TEST_IMG:-"marqo_docker_0"}
echo "MQ_API_TEST_IMG=$MQ_API_TEST_IMG" >> $GITHUB_ENV
export MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git
echo "MQ_PY_MARQO_BRANCH=$MQ_PY_MARQO_BRANCH" >> $GITHUB_ENV
echo "Marqo Branch: $MQ_API_TEST_BRANCH"
echo "API Test branch: 1.4.x"
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/local_os_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,14 @@ jobs:
- name: Set up Environment
run: |
# Set up conf file
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> conf
echo 'export MARQO_API_TESTS_ROOT="${{ github.workspace }}"' >> $GITHUB_ENV
export MQ_API_TEST_BRANCH=$(echo "${GITHUB_REF}" | cut -d'/' -f3-)
echo "MQ_API_TEST_BRANCH=$MQ_API_TEST_BRANCH" >> $GITHUB_ENV
CUSTOM_TEST_IMG="${{ github.event.inputs.image_to_test }}"
export MQ_API_TEST_IMG=${CUSTOM_TEST_IMG:-"marqo_docker_0"}
echo "MQ_API_TEST_IMG=$MQ_API_TEST_IMG" >> $GITHUB_ENV
export MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git
echo "MQ_PY_MARQO_BRANCH=$MQ_PY_MARQO_BRANCH" >> $GITHUB_ENV
echo "Marqo Branch: $MQ_API_TEST_BRANCH"
echo "API Test branch: 1.4.x"
Expand Down

0 comments on commit 604c1a5

Please sign in to comment.