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

Allow customizable companion refs #35

Merged
merged 19 commits into from
Apr 27, 2022

Conversation

joao-paulo-parity
Copy link
Contributor

@joao-paulo-parity joao-paulo-parity commented Apr 25, 2022

Note: This will require a PR on Substrate after it's merged

The intended usage pattern on CI is provided by --companion-overrides from $COMPANION_OVERRIDES.

Use-case of correlating an existing matching branch: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1526107#L98

  • release-v0.9.20 was used for the Polkadot companion because I am targetting polkadot-v0.9.20 in the PR (notice the version correlation). This required $COMPANION_OVERRIDES.

Use-case of correlated an existing branch by guess: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1526106#L124

  • polkadot-v0.9.19 was used for the Cumulus companion because the script tried to use polkadot-v0.9.20 (correlated from polkadot-v0.9.20 which I am targetting in the PR), which doesn't exist, thus it guessed the first. This required $COMPANION_OVERRIDES.

Use-case of overriding the companion branch: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1526105#L98

  • This required putting cumulus companion branch: polkadot-v0.9.18 in the pull request's description

close #32

@joao-paulo-parity joao-paulo-parity changed the title Allow customizable companion branches through --companion-overrides Allow customizable companion refs through --companion-overrides Apr 25, 2022
@joao-paulo-parity joao-paulo-parity changed the title Allow customizable companion refs through --companion-overrides Allow customizable companion refs Apr 27, 2022
@joao-paulo-parity joao-paulo-parity marked this pull request as ready for review April 27, 2022 01:34
Copy link

@chevdor chevdor left a comment

Choose a reason for hiding this comment

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

LGTM

@joao-paulo-parity joao-paulo-parity merged commit d1d27b3 into paritytech:master Apr 27, 2022
@joao-paulo-parity joao-paulo-parity deleted the customizable branch April 27, 2022 10:16
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.

Allow companion branches to be conditionally customizable
3 participants