Skip to content

Commit

Permalink
Do not delete provider custom workflows in make ci-mgmt (#1068)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
t0yv0 authored Sep 18, 2024
1 parent a5bd46d commit 5afb0cc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 .github/workflows/*.yml -type f ! -name "$(PACK)*.yml" -delete
go run github.com/pulumi/ci-mgmt/provider-ci@master generate \
--name $(ORG)/pulumi-$(PACK) \
--out . \
Expand Down
2 changes: 1 addition & 1 deletion provider-ci/test-providers/acme/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,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 .github/workflows/*.yml -type f ! -name "$(PACK)*.yml" -delete
go run github.com/pulumi/ci-mgmt/provider-ci@master generate \
--name $(ORG)/pulumi-$(PACK) \
--out . \
Expand Down
2 changes: 1 addition & 1 deletion provider-ci/test-providers/aws/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,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 .github/workflows/*.yml -type f ! -name "$(PACK)*.yml" -delete
go run github.com/pulumi/ci-mgmt/provider-ci@master generate \
--name $(ORG)/pulumi-$(PACK) \
--out . \
Expand Down
2 changes: 1 addition & 1 deletion provider-ci/test-providers/cloudflare/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,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 .github/workflows/*.yml -type f ! -name "$(PACK)*.yml" -delete
go run github.com/pulumi/ci-mgmt/provider-ci@master generate \
--name $(ORG)/pulumi-$(PACK) \
--out . \
Expand Down
2 changes: 1 addition & 1 deletion provider-ci/test-providers/docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,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 .github/workflows/*.yml -type f ! -name "$(PACK)*.yml" -delete
go run github.com/pulumi/ci-mgmt/provider-ci@master generate \
--name $(ORG)/pulumi-$(PACK) \
--out . \
Expand Down

0 comments on commit 5afb0cc

Please sign in to comment.