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

chore(repo): make circleci jobs parametrised for running on different environments #6709

Merged
merged 7 commits into from Aug 16, 2021

Conversation

meeroslav
Copy link
Contributor

@meeroslav meeroslav commented Aug 13, 2021

Current Behavior

Our CircleCI config runs two main jobs:

  • pr-main responsible for checking the pull requests
  • trunk-main responsible for checking the commits to master

Most of the code between those two is duplicated, only difference being that pr-main checks also docs, format, commit etc. and trunk-main runs cypress tests.

Also, both of them are running only on linux with pnpm

Expected Behavior

  • The jobs should be parametrised so that we can reuse the same setup
  • We should be able to run both on different environments making sure the agent cleanup is still working
  • We should be able to select what targets we want to run and be able to apply filters

Related Issue(s)

This will allow us to run iOS and Android tests on a separate machines as part of the same workflow.
This is a important for #6493

@vercel
Copy link

vercel bot commented Aug 13, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nrwl/nx-dev/HzHpMGYBrswDdk3pV6ghLaUWjafe
✅ Preview: https://nx-dev-git-fork-meeroslav-chore-check-optional-repo-runs-nrwl.vercel.app

@meeroslav meeroslav force-pushed the chore/check-optional-repo-runs branch from 6b70b66 to 5fe290c Compare August 13, 2021 13:25
@meeroslav meeroslav changed the title chore(repo): run optional targets chore(repo): make jobs parametrised for running on different environments Aug 13, 2021
@meeroslav meeroslav changed the title chore(repo): make jobs parametrised for running on different environments chore(repo): make circleci jobs parametrised for running on different environments Aug 13, 2021
@meeroslav meeroslav self-assigned this Aug 13, 2021
@meeroslav meeroslav force-pushed the chore/check-optional-repo-runs branch from e143c45 to 12b504c Compare August 16, 2021 12:12
@meeroslav meeroslav marked this pull request as ready for review August 16, 2021 13:40
@meeroslav meeroslav merged commit b787eaf into nrwl:master Aug 16, 2021
ManojBahuguna pushed a commit to ManojBahuguna/nx that referenced this pull request Sep 16, 2021
@meeroslav meeroslav deleted the chore/check-optional-repo-runs branch October 18, 2021 12:36
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant