Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
fix: e2e release tests (#555)
Browse files Browse the repository at this point in the history
The end-to-end tests targeting the latest release are failing. The issue is on the latest v0.4.0 release, we removed the `cloudshell_working_dir`argument, which is expected in the test scripts. This PR removes that variable so the tests will run again
  • Loading branch information
daniel-sanche authored Nov 3, 2020
1 parent d3de692 commit a5747d2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/e2e-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,19 @@ jobs:
echo ::set-output name=repo::${REPO}
BRANCH=$(echo $BTN_CONTENT | grep -o -P '(?<=cloudshell_git_branch\=).*?(?=&)')
echo ::set-output name=branch::${BRANCH}
WORKING_DIR=$(echo $BTN_CONTENT | grep -o -P '(?<=cloudshell_working_dir\=).*?(?=&)')
echo ::set-output name=dir::${WORKING_DIR}
CLOUDSHELL_IMAGE=$(echo $BTN_CONTENT | grep -o -P '(?<=cloudshell_image\=).*?(?=")')
echo ::set-output name=cloudshell_image::${CLOUDSHELL_IMAGE}
- name: Run Install Script
timeout-minutes: 30
run: |
set -x
docker pull ${{ steps.website_variables.outputs.cloudshell_image }}
# run install script
docker run --rm \
-e project_id=${{ env.PROJECT_ID }} \
-e skip_workspace_prompt=1 \
-e release_repo=${{ steps.website_variables.outputs.repo }} \
-e release_branch=${{ steps.website_variables.outputs.branch }} \
-e release_dir=${{ steps.website_variables.outputs.dir }} \
-v ~/.config:/root/.config \
-v `pwd`:/sandbox-shared \
--entrypoint /sandbox-shared/.github/workflows/e2e_scripts/run_install.sh \
Expand Down

0 comments on commit a5747d2

Please sign in to comment.