-
Notifications
You must be signed in to change notification settings - Fork 6
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
Do not delete provider custom workflows in make ci-mgmt #1068
Conversation
@@ -208,7 +208,7 @@ bin/pulumi-java-gen: .pulumi-java-gen.version | |||
# - Run make ci-mgmt to apply the change locally. | |||
# | |||
ci-mgmt: .ci-mgmt.yaml | |||
rm -f .github/workflows/*.yml # Copied from update-workflows.yml | |||
find pulumi-$(PACK)/.github/workflows/*.yml -type f ! -name "$(PACK)*.yml" -delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this exclude the pulumi-$(PACK)/
prefix?
find pulumi-$(PACK)/.github/workflows/*.yml -type f ! -name "$(PACK)*.yml" -delete | |
find .github/workflows/*.yml -type f ! -name "$(PACK)*.yml" -delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, good catch
a811307
to
9b4c0a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've recently added a function to provider-ci to delete old files (outside of .github) which are no longer generated. Perhaps we should remove his wildcard selection completely and make the Go program responsible for cleaning up old files.
Possibly yea - can I have this in the meanwhile? We're trying to keep the AWS workflow alive for running upstream tests. |
We introduced a notion of provider-custom workflow files, such as: aws-upstream-tests.yml Currently CI knows to not delete them, but `make ci-mgmt` target still does. This PR fixes this so that `make ci-mgmt` target matches the behavior of CI workflows.
9b4c0a0
to
47113c4
Compare
We introduced a notion of provider-custom workflow files, such as:
Currently CI knows to not delete them, but
make ci-mgmt
target still does. This PR fixes this so thatmake ci-mgmt
target matches the behavior of CI workflows.