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 fetching remote yaml files #1962

Merged
merged 1 commit into from
Apr 21, 2022
Merged

Fix fetching remote yaml files #1962

merged 1 commit into from
Apr 21, 2022

Conversation

afreakk
Copy link
Contributor

@afreakk afreakk commented Apr 7, 2022

Proposed changes

Currently it only treats the filepath as a url if the path fails to parse as url.

Related issues (optional)

#1851

@afreakk afreakk changed the title Fix fetching remote yaml files #1851 Fix fetching remote yaml files Apr 7, 2022
@github-actions
Copy link

github-actions bot commented Apr 7, 2022

PR is now waiting for a maintainer to run the acceptance tests. This PR will only perform build and linting.

Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

@github-actions
Copy link

github-actions bot commented Apr 7, 2022

PR is now waiting for a maintainer to run the acceptance tests. This PR will only perform build and linting.

Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

@guineveresaenger
Copy link
Contributor

/run-acceptance-tests

@github-actions
Copy link

@viveklak
Copy link
Contributor

Thanks for the PR @afreakk! This file is actually auto generated. Could you make the change to https://github.com/pulumi/pulumi-kubernetes/blob/master/provider/pkg/gen/_go-templates/yaml/yaml.tmpl#L48 instead and then run a make build?

@github-actions
Copy link

PR is now waiting for a maintainer to run the acceptance tests. This PR will only perform build and linting.

Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

@afreakk
Copy link
Contributor Author

afreakk commented Apr 20, 2022

@viveklak ok, force pushed updated commit with change only to the tpl file

@viveklak
Copy link
Contributor

@viveklak ok, force pushed updated commit with change only to the tpl file

I expect the CI to fail run to fail since we also expect the generated code checked in. Could you retain the change in the "generated" file and submit that along side the the template file? Alternatively my suggestion to run a make build would perform the generation for you and you could check the results in.

@github-actions
Copy link

PR is now waiting for a maintainer to run the acceptance tests. This PR will only perform build and linting.

Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

@afreakk
Copy link
Contributor Author

afreakk commented Apr 20, 2022

I ran make build now, it failed at some python step.
But it still changed the .go file.
Force pushed it now @viveklak

@viveklak
Copy link
Contributor

/run-acceptance-tests

@github-actions
Copy link

@viveklak viveklak merged commit 1159a66 into pulumi:master Apr 21, 2022
@viveklak
Copy link
Contributor

Thanks @afreakk for the fix!

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.

3 participants