Skip to content

Update staging VPC to use release v0.0.1#7

Merged
sekka1 merged 5 commits intomainfrom
copilot/set-staging-vpc-to-release
Dec 10, 2025
Merged

Update staging VPC to use release v0.0.1#7
sekka1 merged 5 commits intomainfrom
copilot/set-staging-vpc-to-release

Conversation

Copy link
Contributor

Copilot AI commented Dec 10, 2025

The staging VPC environment was referencing a local component path instead of the published v0.0.1 release.

Changes

  • Pulumi.yaml: Updated package reference from local path ../../../../components/aws/vpc@0.0.0 to GitHub release https://github.com/ManagedKube/devops-with-ai.git/pulumi/components/aws/vpc@0.0.1
  • SDK file: Updated version from 0.0.0 to 0.0.1 and renamed vpc-0.0.0.yamlvpc-0.0.1.yaml

This aligns with the pattern used by other components (e.g., github-oidc) and ensures the staging environment uses the tagged release rather than local development code.

Original prompt

This section details on the original issue you should resolve

<issue_title>staging vpc usage - set it to a released version</issue_title>
<issue_description>env: staging

Prior to merging, i forgot to tell you to set it to a release version. I have created the release: v0.0.1. Can you set the vpc staging usage to this?</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: sekka1 <575972+sekka1@users.noreply.github.com>
Copilot AI changed the title [WIP] Set staging VPC usage to released version v0.0.1 Update staging VPC to use release v0.0.1 Dec 10, 2025
Copilot AI requested a review from sekka1 December 10, 2025 14:37
@github-actions
Copy link

🍹 preview on vpc/organization/vpc/staging

Pulumi report
  Previewing update (staging):
@ previewing update....
pulumi:pulumi:Stack: (same)
  [urn=urn:pulumi:staging::vpc::pulumi:pulumi:Stack::vpc-staging]
Resources:
  21 unchanged
  

@sekka1 sekka1 marked this pull request as ready for review December 10, 2025 19:15
Copilot AI review requested due to automatic review settings December 10, 2025 19:15
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to update the staging VPC environment from a local component reference to the published v0.0.1 release. However, the actual changes use version 0.0.2 instead of v0.0.1 as stated in the title and description. The changes follow the pattern established by other components (like github-oidc) by replacing the local path with a GitHub URL reference.

Key Changes:

  • Updated Pulumi.yaml package reference from local path to GitHub release URL (but with incorrect version)
  • Removed old SDK file (vpc-0.0.0.yaml) and added new SDK file (vpc-0.0.2.yaml)

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
pulumi/environments/aws/staging/40-vpc/Pulumi.yaml Updated VPC package reference to GitHub URL with version 0.0.2 (should be 0.0.1)
pulumi/environments/aws/staging/40-vpc/sdks/vpc/vpc-0.0.0.yaml Removed old SDK file for local component reference
pulumi/environments/aws/staging/40-vpc/sdks/vpc/vpc-0.0.2.yaml Added new SDK file with version 0.0.2 (should be 0.0.1)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

runtime: yaml
packages:
vpc: ../../../../components/aws/vpc@0.0.0
vpc: https://github.com/ManagedKube/devops-with-ai.git/pulumi/components/aws/vpc@0.0.2
Copy link

Copilot AI Dec 10, 2025

Choose a reason for hiding this comment

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

The PR title and description indicate this should update to release v0.0.1, but the code references version 0.0.2. This version mismatch needs to be corrected to align with the stated purpose of using the v0.0.1 release that was created.

Suggested change
vpc: https://github.com/ManagedKube/devops-with-ai.git/pulumi/components/aws/vpc@0.0.2
vpc: https://github.com/ManagedKube/devops-with-ai.git/pulumi/components/aws/vpc@0.0.1

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,4 @@
packageDeclarationVersion: 1
name: vpc
version: 0.0.2
Copy link

Copilot AI Dec 10, 2025

Choose a reason for hiding this comment

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

The version should be 0.0.1 to match the PR description and the intended release version. According to custom guideline 1000002, when the component version in Pulumi.yaml is modified, the SDK file version must be updated to the same version number.

Suggested change
version: 0.0.2
version: 0.0.1

Copilot uses AI. Check for mistakes.
@sekka1 sekka1 merged commit efa5a99 into main Dec 10, 2025
9 checks passed
@sekka1 sekka1 deleted the copilot/set-staging-vpc-to-release branch December 10, 2025 19:21
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.

staging vpc usage - set it to a released version

2 participants