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: specify a monorepo commit rather than a branch #1625

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

oneeman
Copy link
Contributor

@oneeman oneeman commented Jul 14, 2021

Description

This is a companion PR to celo-org/celo-monorepo#8291.

The environment variable E2E_TESTS_FORCE_USE_MYCELO will be set in the CircleCI project config, so we don't need to set it in the CircleCI yaml config. But we do want to stop always checking out the monorepo master branch. This PR will set a fixed commit from master instead, and changes the CI config to work with a commit hash or branch rather than only with a branch. It also sets the monorepo commit to the current commit on monorepo's master (so that the commit used won't change by itself every time a PR is merged to monorepo master).

Alternatively, we could consolidate this with system-contracts-monorepo-version to have only a single branch/commit used for both the monorepo e2e tests and for building the contracts for the e2e system in celo-blockchain.

Tested

Will check on CI that tests pass and that they use mycelo as desired.

@oneeman oneeman requested review from mcortesi and piersy July 14, 2021 17:43
@oneeman oneeman force-pushed the oneeman/e2e-tests-force-mycelo branch from d077fc4 to 7e5794d Compare August 25, 2021 16:27
@oneeman oneeman requested a review from gastonponti August 25, 2021 16:29
@oneeman oneeman marked this pull request as ready for review August 25, 2021 17:09
@oneeman oneeman requested a review from a team as a code owner August 25, 2021 17:09
Copy link
Contributor

@gastonponti gastonponti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@oneeman oneeman merged commit 14fb27a into master Aug 25, 2021
@oneeman oneeman deleted the oneeman/e2e-tests-force-mycelo branch August 25, 2021 17:58
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