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

Remove defaultable provider-ci arguments #1144

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

danielrbradley
Copy link
Member

I noticed while testing #1143 that the generated PR ignored the repo's configured template and changed it.

  • Use values from the config instead of hard coding them
  • --name defaults to {config.repository} or {config.organization}/pulumi-{config.provider}
  • --template defaults to {config.template} or otherwise "bridged-provider"
  • --config defaults to .ci-mgmt.yaml so only specify in the update-workflows job where it's checked out into a different directory
  • --out defaults to . so only specify in the update-workflows job where it's checked out into a different directory

- Use values from the config instead of hard coding them
- `name` defaults to `{config.repository}` or `{config.organization}/pulumi-{config.provider}`
- `template` defaults to `{config.template}` or otherwise "bridged-provider"
- `config` defaults to `.ci-mgmt.yaml` so only specify in the update-workflows job where it's checked out into a different directory
- `out` defaults to `.` so only specify in the update-workflows job where it's checked out into a different directory
@danielrbradley danielrbradley requested review from iwahbe and a team November 14, 2024 11:57
@danielrbradley danielrbradley self-assigned this Nov 14, 2024
Copy link
Contributor

@flostadler flostadler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@iwahbe iwahbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably document somewhere that the interface to github.com/pulumi/ci-mgmt/provider-ci is considered internal, and may change freely between commits.

@danielrbradley danielrbradley added this pull request to the merge queue Nov 14, 2024
Merged via the queue into master with commit 99470b7 Nov 14, 2024
6 checks passed
@danielrbradley danielrbradley deleted the remove-defaultable-args branch November 14, 2024 14:00
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.

4 participants