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

Test Cypress on Travis #150

Closed
wants to merge 18 commits into from

Conversation

NickLaMuro
Copy link
Member

@NickLaMuro
Copy link
Member Author

Welp... forgot that I actually can't test with this because it manageiq-cross_repo assumes working with specs. Would have to see if there is a specific way to run a different command... though I don't think there is at the moment...

Needed for `before_install.rb` to function and SCRIPT_CMD needs to
execute `before_script.sh` for `bundle exec rake spec:cypress` to work.
Checking to see if the task actually exists...
Back to using `bash -l` since calling `system` in ruby will execute
`/bin/sh` instead of bash, so `source` doesn't exist.

Also, including the `TEST_SUITE=` in that command to ensure that
variable exists in the BASH context.  Hopefully that works...
@NickLaMuro NickLaMuro force-pushed the cypress-travis-testing branch 2 times, most recently from 592eb57 to 07ef8aa Compare July 21, 2020 22:10
Should speed up the build at least...
This didn't seem to be passing along the TEST_SUITE var properly no
matter what I did, so just being more verbose with this.

Also... debug was annoying, so wrote my own thing...
Apparently `tools/ci/before_install.sh` is also not running... "fun"
"Gripping to what remnants of his sanity remain, our hero uses 'bash' as
his last resort to slay the CI build and complete his quest.

In the process, a 'man bash' was required, which briefly staggered and
disoriented the hero as he attempted to decipher the cryptic writings
left by scholars of old, in a last ditch effort to perform the proper
incantations necessary.

As he committed to his endeavour, only time will tell if the beast can
truly be slain with this effort... but the future seems bleak, because
if this fails... well..."
... because fighting with bash on CI is getting old...
REF: travis-ci/travis-ci Issue Number 5999 (#issuecomment-217201571)

(avoiding linking here on purpose)
@NickLaMuro NickLaMuro force-pushed the cypress-travis-testing branch 6 times, most recently from d88b910 to 29406bb Compare August 3, 2020 16:49
@NickLaMuro
Copy link
Member Author

Just some context: Most of these forced-pushed calls are me just running the following to kick the build:

$ git commit --amend && git push --force

Also, I will be doing this again shortly because it seems there was a 503 with download.cypress.io:

https://travis-ci.com/github/ManageIQ/manageiq-cross_repo-tests/builds/178955214#L2545-L2566

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