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

chore: SkipInstall for tests that do not need it #4315

Merged

Conversation

t0yv0
Copy link
Member

@t0yv0 t0yv0 commented Jul 26, 2024

Some of the YAML tests only need the AWS provider. Unless the SkipInstall option is specified, they will attempt to download the latest version of the provider before realizing there is an ambient in-process version to test with. This can cause sporadic CI failures unrelated to the test. Specifying SkipInstall optimizes away this redundant step.

Example failure log addressed here:

pulumiTest.go:103: failed to install packages and plugins: exit status 255
      resource plugin aws installing
      warning: Error downloading plugin: unknown version for plugin aws
      Will retry in 80ms [1/5]
      warning: Error downloading plugin: unknown version for plugin aws
      Will retry in 160ms [2/5]

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Some of the YAML tests only need the AWS provider. Unless the SkipInstall option is specified, they will attempt to
download the latest version of the provider before realizing there is an ambient in-process version to test with. This
can cause sporadic CI failures unrelated to the test. Specifying SkipInstall optimizes away this redundant step.

Example failure log addressed here:

    pulumiTest.go:103: failed to install packages and plugins: exit status 255
          resource plugin aws installing
          warning: Error downloading plugin: unknown version for plugin aws
          Will retry in 80ms [1/5]
          warning: Error downloading plugin: unknown version for plugin aws
          Will retry in 160ms [2/5]
@t0yv0 t0yv0 requested a review from corymhall July 26, 2024 22:15
@t0yv0 t0yv0 mentioned this pull request Jul 26, 2024
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

@t0yv0 t0yv0 merged commit c84c6d4 into master Jul 29, 2024
31 checks passed
@t0yv0 t0yv0 deleted the t0yv0/skip-install-for-tests-that-only-need-local-aws-provider branch July 29, 2024 14:28
lumiere-bot bot referenced this pull request in coolguy1771/home-ops Aug 8, 2024

Verified

This commit was signed with the committer’s verified signature.
metcoder95 Carlos Fuentes
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@pulumi/aws](https://pulumi.io)
([source](https://togithub.com/pulumi/pulumi-aws)) | dependencies |
minor | [`6.47.0` ->
`6.48.0`](https://renovatebot.com/diffs/npm/@pulumi%2faws/6.47.0/6.48.0)
|

---

### Release Notes

<details>
<summary>pulumi/pulumi-aws (@&#8203;pulumi/aws)</summary>

###
[`v6.48.0`](https://togithub.com/pulumi/pulumi-aws/releases/tag/v6.48.0)

[Compare
Source](https://togithub.com/pulumi/pulumi-aws/compare/v6.47.0...v6.48.0)

##### Does the PR have any schema changes?

Found 2 breaking changes:

##### Resources

- `🟢` "aws:ec2/vpcIpv6CidrBlockAssociation:VpcIpv6CidrBlockAssociation":
required: "ipv6IpamPoolId" property is no longer Required

##### Types

- `🟢` "aws:rds/ClusterRestoreToPointInTime:ClusterRestoreToPointInTime":
required: "sourceClusterIdentifier" property is no longer Required

##### New resources:

-   `chatbot/slackChannelConfiguration.SlackChannelConfiguration`
-   `chatbot/teamsChannelConfiguration.TeamsChannelConfiguration`
-   `datazone/glossary.Glossary`
-   `ecr/repositoryCreationTemplate.RepositoryCreationTemplate`
-   `timestreaminfluxdb/dbInstance.DbInstance`

##### New functions:

-   `ecr/getRepositoryCreationTemplate.getRepositoryCreationTemplate`

##### What's Changed

- chore: SkipInstall for tests that do not need it by
[@&#8203;t0yv0](https://togithub.com/t0yv0) in
[https://github.com/pulumi/pulumi-aws/pull/4315](https://togithub.com/pulumi/pulumi-aws/pull/4315)
- Upstream v5.61.0 by
[@&#8203;corymhall](https://togithub.com/corymhall) in
[https://github.com/pulumi/pulumi-aws/pull/4341](https://togithub.com/pulumi/pulumi-aws/pull/4341)

**Full Changelog**:
pulumi/pulumi-aws@v6.47.0...v6.48.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xNiIsInVwZGF0ZWRJblZlciI6IjM4LjE4LjE2IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL21pbm9yIl19-->

Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
lumiere-bot bot referenced this pull request in coolguy1771/home-ops Aug 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@pulumi/aws](https://pulumi.io)
([source](https://togithub.com/pulumi/pulumi-aws)) | dependencies |
minor | [`6.47.0` ->
`6.48.0`](https://renovatebot.com/diffs/npm/@pulumi%2faws/6.47.0/6.48.0)
|

---

### Release Notes

<details>
<summary>pulumi/pulumi-aws (@&#8203;pulumi/aws)</summary>

###
[`v6.48.0`](https://togithub.com/pulumi/pulumi-aws/releases/tag/v6.48.0)

[Compare
Source](https://togithub.com/pulumi/pulumi-aws/compare/v6.47.0...v6.48.0)

##### Does the PR have any schema changes?

Found 2 breaking changes:

##### Resources

- `🟢` "aws:ec2/vpcIpv6CidrBlockAssociation:VpcIpv6CidrBlockAssociation":
required: "ipv6IpamPoolId" property is no longer Required

##### Types

- `🟢` "aws:rds/ClusterRestoreToPointInTime:ClusterRestoreToPointInTime":
required: "sourceClusterIdentifier" property is no longer Required

##### New resources:

-   `chatbot/slackChannelConfiguration.SlackChannelConfiguration`
-   `chatbot/teamsChannelConfiguration.TeamsChannelConfiguration`
-   `datazone/glossary.Glossary`
-   `ecr/repositoryCreationTemplate.RepositoryCreationTemplate`
-   `timestreaminfluxdb/dbInstance.DbInstance`

##### New functions:

-   `ecr/getRepositoryCreationTemplate.getRepositoryCreationTemplate`

##### What's Changed

- chore: SkipInstall for tests that do not need it by
[@&#8203;t0yv0](https://togithub.com/t0yv0) in
[https://github.com/pulumi/pulumi-aws/pull/4315](https://togithub.com/pulumi/pulumi-aws/pull/4315)
- Upstream v5.61.0 by
[@&#8203;corymhall](https://togithub.com/corymhall) in
[https://github.com/pulumi/pulumi-aws/pull/4341](https://togithub.com/pulumi/pulumi-aws/pull/4341)

**Full Changelog**:
pulumi/pulumi-aws@v6.47.0...v6.48.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xNiIsInVwZGF0ZWRJblZlciI6IjM4LjE4LjE2IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL21pbm9yIl19-->

Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
@mjeffryes mjeffryes added this to the 0.108 milestone Aug 16, 2024
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.

None yet

3 participants