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

Fix test-provider actionlinting #1011

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions provider-ci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,11 @@ test-provider/%: bin/provider-ci $(ACTIONLINT)
cd test-providers/$(PROVIDER_NAME) && \
find . -type f ! -name '.ci-mgmt.yaml' -delete && \
../../bin/provider-ci generate --name pulumi/pulumi-$(PROVIDER_NAME)
rm -rf bin/test-provider/$(PROVIDER_NAME)/repo
mkdir -p bin/test-provider/$(PROVIDER_NAME)/repo
cp -r test-providers/$(PROVIDER_NAME) bin/test-provider/$(PROVIDER_NAME)/repo
cd bin/test-provider/$(PROVIDER_NAME)/repo && git init
cd bin/test-provider/$(PROVIDER_NAME)/repo && ../../../../$(ACTIONLINT) -config-file ../../../../actionlint.yml
rm -rf bin/test-provider/$(PROVIDER_NAME)/repo/.git
mkdir -p bin/test-provider
rm -rf bin/test-provider/$(PROVIDER_NAME)
cp -r test-providers/$(PROVIDER_NAME) bin/test-provider
cd bin/test-provider/$(PROVIDER_NAME) && git init
cd bin/test-provider/$(PROVIDER_NAME) && ../../../$(ACTIONLINT) -config-file ../../../actionlint.yml

# Fetch the latest .ci-mgmt.yaml from the provider repositories ready for testing.
update-provider-configs:
Expand Down
Loading