This repository stores all ancillary scripts for Pulumi's various repositories.
All of our repositories check out the tip of master to get the scripts versions. Sometimes its helpful to "flight" changes to the scripts when developing new changes. The easiest way we've found to do this is the following workflow:
- Push a topic branch to this repository (e.g.
ellismg/update-yarn-version) - In an existing repo, edit the
.travis.ymlfile to include a call to checkout this topic branch. You can do this by adding another step in thebefore_installsection, right after the call to git clone to clone this repository. For examplegit -C "${GOPATH}/src/github.com/pulumi/scripts" checkout ellismg/update-yarn-version. Note the use of-Chere to ensuregitruns the checkout in the scripts repository instead of the current repository. - Open a PR and let CI run.
Once the changes are working, you can merge the script changes into master and things will be picked up on future runs. You'll then be able to abandon the PR opened in step (2) above.