Skip to content

Commit

Permalink
SCALRCORE-24559: Move downstream provider tests to TEv2
Browse files Browse the repository at this point in the history
  • Loading branch information
vyahello committed Dec 19, 2022
1 parent 7667db3 commit 53615e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/default.yml
Expand Up @@ -86,6 +86,7 @@ jobs:
id: create
shell: bash
run: |
echo "::group::Create test app"
if [ -z ${{ env.API_BRANCH }} ] || [ -z ${{ env.DB_BRANCH }} ]; then
BRANCHES=""
else
Expand All @@ -101,6 +102,7 @@ jobs:
fatmouse/python-builder:master python -u clickfile.py te up ${BRANCHES} \
--run-url ${{ steps.get-job-id.outputs.html_url }} \
--dedicated ${{ env.RUN_TAG }}
echo "::endgroup::"
- name: Get Scalr hostname
shell: bash
run: |
Expand Down Expand Up @@ -132,13 +134,15 @@ jobs:
if: ${{ always() }}
shell: bash
run: |
echo "::group::Delete test app"
docker run --rm \
-w /fatmouse \
-v $PWD/fatmouse:/fatmouse \
-v ~/.scalr-labs:/etc/scalr-labs \
fatmouse/python-builder:master \
python -u clickfile.py te rm \
--no-wait ${{ env.RUN_TAG }}
echo "::endgroup::"
upload-dev:
name: upload-dev
needs: [lint, unit-tests, acc-tests]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/upstream.yml
Expand Up @@ -77,6 +77,7 @@ jobs:
id: create
shell: bash
run: |
echo "::group::Create test app"
if [ ${{ env.API_BRANCH }} = "master" ] && [ ${{ env.DB_BRANCH }} = "master" ]; then
BRANCHES=""
else
Expand All @@ -92,6 +93,7 @@ jobs:
fatmouse/python-builder:master python -u clickfile.py te up ${BRANCHES} \
--run-url ${{ steps.get-job-id.outputs.html_url }} \
--dedicated ${{ env.RUN_TAG }}
echo "::endgroup::"
- name: Get Scalr hostname
shell: bash
run: |
Expand All @@ -115,13 +117,15 @@ jobs:
if: ${{ always() }}
shell: bash
run: |
echo "::group::Delete test app"
docker run --rm \
-w /fatmouse \
-v $PWD/fatmouse:/fatmouse \
-v ~/.scalr-labs:/etc/scalr-labs \
fatmouse/python-builder:master \
python -u clickfile.py te rm \
--no-wait ${{ env.RUN_TAG }}
echo "::endgroup::"
- name: Notify upstream about success
if: ${{ success() }}
run: make notify-upstream upstream_sha=${{ github.event.inputs.upstream-sha }} state=success run_id=${{ github.run_id }}
Expand Down

0 comments on commit 53615e4

Please sign in to comment.