Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small improvements to e2e scripts #44

Open
wants to merge 1 commit into
base: wdio-up-rb
Choose a base branch
from

Conversation

Luke-Sikina
Copy link

  • change sh to bash, as not all shells are compatible with the
    <<< in the e2e scripts
  • added e2e:spindown command. It just runs docker-compose down
  • added some documentation on how to verify that the server is running

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what a lot of this logic does. Could be that a lot of this can be trimmed. All this is really doing is docker-compose down

fi


export PORTAL_SOURCE_DIR=$PWD;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how come we do all this in stop script?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stop.sh calls cd $E2E_WORKSPACE/cbioportal-docker-compose before executing the docker commands

- change `sh` to `bash`, as not all shells are compatible with the
`<<<` in the e2e scripts
- added `e2e:spindown` command. It just runs `docker-compose down`
- added some documentation on how to verify that the server is running
- added logic to delete volume before building
alisman pushed a commit that referenced this pull request Jun 2, 2022
alisman pushed a commit that referenced this pull request Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants