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

CI: Remove Travis, fix TeamCity, rework E2E on CircleCI #14522

Merged
merged 7 commits into from
Apr 13, 2021
Merged

Conversation

gaetanmaisse
Copy link
Member

@gaetanmaisse gaetanmaisse commented Apr 8, 2021

What I did

  • Remove TravisCI integration as it was no-op for 2 years
  • Fix TeamCity builds by using Node 12 and update Yarn commands (to Yarn 2 version)
  • Rework the E2E tests:
    • e2e-tests-core for "officially" supported frameworks : Vue + Angular (+ React + Web Components in e2e-tests-pnp)
    • e2e-tests-extended for other frameworks: Preact, Svelte, Riot, Rax etc
    • e2e-tests-pnp for some frameworks/setups compatible with PnP: React + WC
  • Upgrade to Cypress 6.8 and use Cypress docker image in CircleCI: Previously Cypress was installed manually to be sure to run with Node 10. We can now use the docker images provided by Cypress team (at least for the 6.8) because they are based on Node 12, the one we are using across the CI.
  • Merge multiple GitHub Actions related to DangerJS into one and fix the behaviour i.e. trigger a new run each time a label is set/unset on a PR.

How to test

  • All CircleCI + TeamCity builds should be 🟢

@gaetanmaisse gaetanmaisse added in progress maintenance User-facing maintenance tasks labels Apr 8, 2021
@gaetanmaisse
Copy link
Member Author

Hey @Hypnosphi, I'm trying to fix the TeamCity builds but I don't know much about it, is there a simple way to run the builds with the updates I made in this branch? Because if I understand correctly it's always using the next version for the builds.

I would be glad to discuss that on discord, feels free to ping me (same username as here ;))

@Hypnosphi
Copy link
Member

I changed the configuration to use settings from PR branch by default and re-started the build: https://storybook.beta.teamcity.com/buildConfiguration/Hosted_Root_TestWorkflow/126136

@gaetanmaisse
Copy link
Member Author

Thanks! I should be able to fix the failing jobs ;) and will let you know if I need some extra support.

New layout:
 - `e2e-tests-core` for "officially" supported frameworks : Vue + Angular (+ React + Web Components in e2e-tests-pnp)
 - `e2e-tests-extended` for other frameworks: Preact, Svelte, Riot, Rax etc
 - `e2e-tests-pnp` for some frameworks/setups compatible with PnP: React + WC
Previously Cypress was installed manually to be sure to run with Node 10.
We can now use the docker images provided by Cypress team (at least for the 6.8) because they are based on Node 12, the one we are using across the CI.
Also, fix the behavior and trigger a new run each time a label is set/unset on a PR.
@gaetanmaisse gaetanmaisse requested a review from a team April 13, 2021 21:13
@gaetanmaisse gaetanmaisse marked this pull request as ready for review April 13, 2021 21:13
@gaetanmaisse gaetanmaisse removed the request for review from igor-dv April 13, 2021 21:13
@Hypnosphi Hypnosphi merged commit 7de57a8 into next Apr 13, 2021
@Hypnosphi Hypnosphi deleted the tech/clean-ci branch April 13, 2021 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants