Skip to content

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