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
Remove Jenkinsfile and docker-compose setup [NP-2165] #1245
Conversation
This supports us switching from Jenkins to Github Actions as our primary CI tool for the design system. Removes the Jenkinsfile along with any CI related Docker code.
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.
💥 Huzzah!
This is everything I had on my list too 👍🏻
This does indeed stall, so will wait for @simonwgill to do his bit and then we can rerun this. Good to know just how much will go though 🗑️ |
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.
Sorry just saw Jenkinsfile was completely gone here too. Yeh gotta block on keeping existing behaviour first.
What existing behaviour are you thinking of, specifically? Plan is to remove the jenkins status check and add some/all of the github actions to the branch protection rules. Anything else missing? |
browser/driver vers There's also some other stuff in the breakout JIRA ticket, but that's not a hard blocker. I can fix up those issues tomorrow or something when I have chance |
Mind being more specific? |
So ideally we need the guard |
Ah gotcha! We're talking about the same stuff as on https://citizensadvice.atlassian.net/browse/NP-2166 then 😄 Will summarise what I wrote there:
|
So the reason for the failing one for the iPhone is it's using The short answer is this has a lot of inherent bugs in it, and can be considered flaky. The long answer is the way in which safaridriver works can be considered JWP compatible, not W3C compatible. Back before selenium 3.2-3.5 (ruby), the drivers were in a mixed state and some supported JWP compatible endpoints and some supported W3C endpoints, safari however was not one of these. As such safari can be considered non-W3C compliant in actuality vs it being W3C-compliant technically (Like a lot of the drivers, it's closed source proprietary software). You can see evidence of this in both the hacky configs we use AND the patches further to these hacky configs. Safari specific config: https://github.com/citizensadvice/design-system/blob/master/testing/features/support/driver.rb#L30 (This is very bad code and unsupported by capybara, and they get angry at it even being in existence) |
838614f
to
59cb383
Compare
on: [push] | ||
|
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.
Switched this out to test, but we should revert this before we merge.
I think I misread. Is the idea that it can fail, not that it always will? In which case is it better to omit it from the matrix if we can't rely on it? Smaller stable list feels nice. If not, I think I get what you mean 👍 |
I'll just fix up the incorrect stuff later so I'm not holding stuff up.
Sounds perfect 👍 |
59cb383
to
aff3e08
Compare
This supports us switching from Jenkins to Github Actions as our primary CI tool for the design system. Removes the Jenkinsfile along with any CI related Docker code.
We may want to reintroduce a docker-compose set up in future more geared towards local development. But for now our current docker set up is largely intended for CI and is not required for our actions workflows.
This might fail unless we tell Jenkins not to build anymore, let's find out.