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

Use the CI which lives in this repo instead of the old one. #17

Merged

Conversation

nat-henderson
Copy link
Contributor

Your opinion needed! This is only maybe the best way to do this!

This PR changes the definition of the ci repo to be this repository, except tracking the stable-ci tag instead of master. The reason I'm doing this, and not just using master (which is present in most of these tasks already), is because of development advantages of partially decoupling CI from the code under test.

There is a good argument to be made in the other direction, though! The advantages of doing it this way are that there's stability - PRs which are based off old code will get the advantages of updates we made to the CI system, and once we push a change to stable-ci, we can be certain that it's evaluated for all following PRs. The advantage of doing it the other way are atomicity - you can send one PR which tweaks generation for Ansible and change the CI to accommodate it in a single step, and they can be deployed and rolled back independently.

Please tell me what you think! I'm asking for your opinions specifically because you have worked with Concourse before - Vincent on this repo before me, and Alex on Ansible just now. :)

@rosbo
Copy link
Contributor

rosbo commented Mar 9, 2018

I suggest we try one approach first, and if that approach is painful, we can try the other one.

I would go first with the ci/ in master branch because it is simpler and you have this atomicity property.

Hopefully, the ci/ code won't change much after a few weeks 🤞 and it won't cause much pain.

@nat-henderson
Copy link
Contributor Author

That idea works for me. I'll make that change.

Note: this tracks the PR branch, meaning that changes to .ci are
reflected *immediately*... unless they're to ci.yml, which is set
manually on the jumpbox.
@nat-henderson
Copy link
Contributor Author

There we go - this changes it to track the PR branch.

@nat-henderson nat-henderson merged commit e28a6d2 into GoogleCloudPlatform:master Mar 9, 2018
mirobertod pushed a commit to mirobertod/magic-modules that referenced this pull request May 31, 2022
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