-
Notifications
You must be signed in to change notification settings - Fork 0
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
Seceng 260/sync with upstream #36
Conversation
* add a github action to sync upstream branch to staging * remove trailing space from github action * fix yamllint errors * fix yaml lint issues * relax yamllint config rules * fix yamllint rules config * lint App.tsx * restore hopper config * update yamllint rules config
* add selenium docker image to test yopass secret retrieval * fix typo in circle config * fix circle config * update docker-compose config for yopass container * add missing checkout step to docker compose task * add setup_remote_docker config for circleci * increase wait time and echo selenium result * use f-string to populate yopass test url in selenium test * debug docker compose ICC issue * attempt to connect to yopass container via ip * take out network debug lines from circleci config * remove custom bridged network to debug * remove old network config from docker compose * update url for selenium test * updated docker-compose config * re-add internal bridged network to docker * include no cache arg to docker compose
Could not find org verified email for user ayodele-ademeso. Either they need to add an org verified e-mail or something went wrong when retrieving their e-mail. You'll have to nudge them some other way for now. :( |
Not notifying user samcrang. User has Nudgebot notifications muted. |
.circleci/config.yml
Outdated
command: | | ||
docker compose build --no-cache | ||
docker compose up -d | ||
sleep 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming this is us waiting a period of time for the test to finish, can we do a watch with a timeout instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replaced the sleep with the --wait
flag for docker compose to wait until the containers are healthy, still need a sleep statement as at the moment if I run the docker logs command it fails immediately, if I put in the pause it gives the selenium test enough time to complete and add the log message.
…tainers when done
…pdated github action to raise a PR on sync
This comment was marked as resolved.
This comment was marked as resolved.
* Seceng 260/sync with upstream (#36) * add a github action to sync upstream branch to staging (#34) * add a github action to sync upstream branch to staging * remove trailing space from github action * fix yamllint errors * fix yaml lint issues * relax yamllint config rules * fix yamllint rules config * lint App.tsx * restore hopper config * update yamllint rules config * add selenium docker image to test yopass secret retrieval (#35) * add selenium docker image to test yopass secret retrieval * fix typo in circle config * fix circle config * update docker-compose config for yopass container * add missing checkout step to docker compose task * add setup_remote_docker config for circleci * increase wait time and echo selenium result * use f-string to populate yopass test url in selenium test * debug docker compose ICC issue * attempt to connect to yopass container via ip * take out network debug lines from circleci config * remove custom bridged network to debug * remove old network config from docker compose * update url for selenium test * updated docker-compose config * re-add internal bridged network to docker * include no cache arg to docker compose * update circleci config and remove comment from selenium script * add newline to end of docker compose file * add newline to end of docker compose file * replace sleep with wait argument for docker compose and tear down containers when done * update docker to wait for healthy containers and re-added sleep and updated github action to raise a PR on sync * remove trailing space for github action * revert file perms for hopper config * fix sync github action for adding upstream repo (#39) * PSC-2063 scan for container vulnerabilities (#38) * PSC-2063 scan for container vulnerabilities * PSC-2063 scan for container vulnerabilities * PSC-2063 scan for container vulnerabilities * use correct upstream branch (#40) * bump go version to patch critical vulnerability * fix conflict for gh action --------- Co-authored-by: tdeshapriya <100767314+tdeshapriya@users.noreply.github.com>
* Seceng 260/sync with upstream (#36) * add a github action to sync upstream branch to staging (#34) * add a github action to sync upstream branch to staging * remove trailing space from github action * fix yamllint errors * fix yaml lint issues * relax yamllint config rules * fix yamllint rules config * lint App.tsx * restore hopper config * update yamllint rules config * add selenium docker image to test yopass secret retrieval (#35) * add selenium docker image to test yopass secret retrieval * fix typo in circle config * fix circle config * update docker-compose config for yopass container * add missing checkout step to docker compose task * add setup_remote_docker config for circleci * increase wait time and echo selenium result * use f-string to populate yopass test url in selenium test * debug docker compose ICC issue * attempt to connect to yopass container via ip * take out network debug lines from circleci config * remove custom bridged network to debug * remove old network config from docker compose * update url for selenium test * updated docker-compose config * re-add internal bridged network to docker * include no cache arg to docker compose * update circleci config and remove comment from selenium script * add newline to end of docker compose file * add newline to end of docker compose file * replace sleep with wait argument for docker compose and tear down containers when done * update docker to wait for healthy containers and re-added sleep and updated github action to raise a PR on sync * remove trailing space for github action * revert file perms for hopper config * fix sync github action for adding upstream repo (#39) * PSC-2063 scan for container vulnerabilities (#38) * PSC-2063 scan for container vulnerabilities * PSC-2063 scan for container vulnerabilities * PSC-2063 scan for container vulnerabilities * use correct upstream branch (#40) * bump go version to patch critical vulnerability * fix conflict for gh action * bump golang version in Dockerfile to patch critical vuln --------- Co-authored-by: tdeshapriya <100767314+tdeshapriya@users.noreply.github.com>
SECENG-260
master
branch tostaging
to test initially with the aim to eventually sync to the forkedmaster
branch in this repo.