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

Include ci-mgmt ref in the makefile #1032

Open
danielrbradley opened this issue Jul 11, 2024 · 0 comments
Open

Include ci-mgmt ref in the makefile #1032

danielrbradley opened this issue Jul 11, 2024 · 0 comments
Labels
kind/enhancement Improvements or new features

Comments

@danielrbradley
Copy link
Member

Use make ci-mgmt focused on re-generating having updated ci-mgmt config rather than for pulling the latest changes.

For updating to the latest workflows, we still use the central CI process because it also runs migrations on the code.

When generating the a provider's files in CI, we could include the current ci-mgmt ref in the makefile for when calling ci-mgmt. This would make the make ci-mgmt command re-generate using the same version of ci-mgmt as was previously used.

For example:

 	rm .github/workflows/*.yml # Copied from update-workflows.yml
-	go run github.com/pulumi/ci-mgmt/provider-ci@master generate \
+	go run github.com/pulumi/ci-mgmt/provider-ci@eebcf4ba8bf704ae3735dd2e42e9f320cd9e0c7c generate \
 		--name pulumi/pulumi-$(PACK) \
 		--out . \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

1 participant