Skip to content

fix: do not run build run if builds are not passed in #209

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

Merged
merged 3 commits into from
Jun 27, 2025
Merged

Conversation

akocbek
Copy link
Contributor

@akocbek akocbek commented Jun 26, 2025

Description

catalog pipeline failed

2025/06/26 20:08:34 Terraform apply | Error: local-exec provisioner error
 2025/06/26 20:08:34 Terraform apply | 
 2025/06/26 20:08:34 Terraform apply |   with terraform_data.run_build,
 2025/06/26 20:08:34 Terraform apply |   on main.tf line 95, in resource "terraform_data" "run_build":
 2025/06/26 20:08:34 Terraform apply |   95:   provisioner "local-exec" {
 2025/06/26 20:08:34 Terraform apply | 
 2025/06/26 20:08:34 Terraform apply | Error running command './scripts/build-run.sh': exit status 1. Output: BUILDS
 2025/06/26 20:08:34 Terraform apply | is required

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.

@akocbek akocbek requested a review from shemau as a code owner June 26, 2025 20:52
@akocbek
Copy link
Contributor Author

akocbek commented Jun 26, 2025

/run pipeline

ocofaigh
ocofaigh previously approved these changes Jun 26, 2025
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.

Can we add a test in pr_test to plug the test gap ? Even just a plan test if that would of caught it? I don't mind if you want to create an issue to add it in a new PR so we don't hold up this one

@akocbek
Copy link
Contributor Author

akocbek commented Jun 26, 2025

/run pipeline

@akocbek
Copy link
Contributor Author

akocbek commented Jun 26, 2025

upgrade test failed as expected, skipping it

@akocbek
Copy link
Contributor Author

akocbek commented Jun 26, 2025

/run pipeline

@ocofaigh ocofaigh merged commit 43363b4 into main Jun 27, 2025
2 checks passed
@ocofaigh ocofaigh deleted the fix_build branch June 27, 2025 08:29
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 4.3.3 🎉

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.

3 participants