Skip to content

Conversation

@jor2
Copy link
Member

@jor2 jor2 commented Jan 22, 2025

Description

Release required?

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

For mergers

  • Use a conventional commit message to set the release level. Follow the guidelines.
  • Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
  • Use the Squash and merge option.

@jor2 jor2 self-assigned this Jan 22, 2025
@jor2
Copy link
Member Author

jor2 commented Jan 22, 2025

/run pipeline

@jor2
Copy link
Member Author

jor2 commented Jan 23, 2025

/run pipeline

Copy link
Contributor

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

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

There must be a bug somewhere, as the new test is failing with:

TestPlanValidation 2025-01-23T11:38:00Z logger.go:67: Running command terraform with args [plan -input=false -lock=false -var admin_pass=A1BNTnGYSGZVaWR -var use_ibm_owned_encryption_key=false -var prefix=validate-plan -var existing_kms_instance_crn=crn:v1:bluemix:public:hs-crypto:us-south:a/abac0df06b644a9cabc6e44f55b3880e:e6dce284-e80f-46e1-a3c1-830f7adff7a9:: -var kms_endpoint_type=public -var provider_visibility=public -var resource_group_name=validate-plan -var region=us-south -var use_default_backup_encryption_key=true -lock=false]
TestPlanValidation 2025-01-23T11:38:00Z retry.go:99: Returning due to fatal error: FatalError{Underlying: error while running command: chdir solutions/standard: no such file or directory; }

Can you also update the new test to test the config we test in TestRunStandardSolutionIBMKeys and then remove that test? Suggest to use a for loop over the logic to test the different configs

@jor2
Copy link
Member Author

jor2 commented Jan 23, 2025

/run pipeline

@jor2
Copy link
Member Author

jor2 commented Jan 23, 2025

/run pipeline

@jor2 jor2 requested a review from ocofaigh January 23, 2025 13:38
@jor2 jor2 changed the title fix: bug with crn parser fix: bug with crn parser + add plan test Jan 23, 2025
@jor2
Copy link
Member Author

jor2 commented Jan 23, 2025

completes in 14s.

--- PASS: TestPlanValidation (14.60s)

@jor2
Copy link
Member Author

jor2 commented Jan 23, 2025

/run pipeline

@ocofaigh ocofaigh changed the title fix: bug with crn parser + add plan test fix: bug with crn parser Jan 23, 2025
@ocofaigh ocofaigh merged commit c8ddb0c into main Jan 23, 2025
2 checks passed
@ocofaigh ocofaigh deleted the fix-crn-bug branch January 23, 2025 15:54
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 3.20.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants