Skip to content

Commit

Permalink
keep post push test off until we find out why it hangs
Browse files Browse the repository at this point in the history
  • Loading branch information
shizunge committed Jan 25, 2024
1 parent 0533abe commit bae61f4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
provenance: false
- name: Post push tests
run: |
echo "Start running tests";
TAG=$(echo "${{ steps.meta.outputs.tags }}" | grep "ghcr.io" | grep "dev-" | tr '\n' ' ' | cut -f1 -d ' ')
echo "Using tag ${TAG}";
export GANTRY_TEST_CONTAINER_REPO_TAG="${TAG}";
export GANTRY_TEST_ENABLE_TESTS="test_new_image_";
./tests/run_all_tests.sh "${{ github.repository }}-test" "ghcr.io" "${{ github.repository_owner }}" "${{ github.token }}";
echo "Done running tests";
# - name: Post push tests
# run: |
# echo "Start running tests";
# TAG=$(echo "${{ steps.meta.outputs.tags }}" | grep "ghcr.io" | grep "dev-" | tr '\n' ' ' | cut -f1 -d ' ')
# echo "Using tag ${TAG}";
# export GANTRY_TEST_CONTAINER_REPO_TAG="${TAG}";
# export GANTRY_TEST_ENABLE_TESTS="test_new_image_";
# ./tests/run_all_tests.sh "${{ github.repository }}-test" "ghcr.io" "${{ github.repository_owner }}" "${{ github.token }}";
# echo "Done running tests";

clean-ghcr-tests:
name: Delete old tests container images
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
provenance: false
- name: Post push tests
run: |
echo "Start running tests";
TAG=$(echo "${{ steps.meta.outputs.tags }}" | grep "ghcr.io" | tr '\n' ' ' | cut -f1 -d ' ')
echo "Using tag ${TAG}";
export GANTRY_TEST_CONTAINER_REPO_TAG="${TAG}";
export GANTRY_TEST_ENABLE_TESTS="test_new_image_";
./tests/run_all_tests.sh "${{ github.repository }}-test" "ghcr.io" "${{ github.repository_owner }}" "${{ github.token }}";
echo "Done running tests";
# - name: Post push tests
# run: |
# echo "Start running tests";
# TAG=$(echo "${{ steps.meta.outputs.tags }}" | grep "ghcr.io" | tr '\n' ' ' | cut -f1 -d ' ')
# echo "Using tag ${TAG}";
# export GANTRY_TEST_CONTAINER_REPO_TAG="${TAG}";
# export GANTRY_TEST_ENABLE_TESTS="test_new_image_";
# ./tests/run_all_tests.sh "${{ github.repository }}-test" "ghcr.io" "${{ github.repository_owner }}" "${{ github.token }}";
# echo "Done running tests";

clean-ghcr-tests:
name: Delete old tests container images
Expand Down

0 comments on commit bae61f4

Please sign in to comment.