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

Test that pulumi new can pull the latest changes in master after a previous run #485

Open
justinvp opened this issue Dec 18, 2022 · 0 comments
Labels
area/tests kind/engineering Work that is not visible to an external user

Comments

@justinvp
Copy link
Member

We already have tests that run pulumi new, but we don't have any tests that run pulumi new from a machine that already has previously run pulumi new and has an older clone of the repo in the ~/.pulumi/templates directory.

Consider adding a test that uses the git CLI to clone the repo at the commit prior to the latest commit in master in the ~/.pulumi/templates directory, and then runs pulumi new to ensure pulumi new can successfully pull the latest changes from master.

Note: this may be less of a concern now that we have pulumi/pulumi#11175 in the CLI, which always does the equivalent of a git reset before pulling.

@justinvp justinvp added area/tests kind/engineering Work that is not visible to an external user labels Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tests kind/engineering Work that is not visible to an external user
Projects
None yet
Development

No branches or pull requests

1 participant