Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Checkout Same Branch in Charts Repo #33

Merged

Conversation

stevenpall
Copy link
Contributor

This might be too specific to how we structure our releases and charts, but essentially they're all contained in a single repository, and new charts and releases typically get added at the same time via a PR. One issue we've run into is, if the chart a release references isn't currently in the base branch (i.e. master), the CI checks will fail. This PR checks if the charts repo specified in a release is the same as the repo currently being tested, and if it is, tries to checkout the same branch.

If this solution isn't general purpose enough, we could have this be non-default behaviour enabled via an environment variable.

@stevenpall stevenpall changed the title Checkout Same Branch in Chart Repo Checkout Same Branch in Charts Repo Mar 30, 2020
@stefanprodan stefanprodan merged commit bfe911b into stefanprodan:master Jun 9, 2020
@stevenpall stevenpall deleted the checkout-current-branch branch October 5, 2020 19:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants