Skip to content

Ce projects da #92

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 13 commits into from
Aug 27, 2024
Merged

Ce projects da #92

merged 13 commits into from
Aug 27, 2024

Conversation

daniel-butler-irl
Copy link
Contributor

@daniel-butler-irl daniel-butler-irl commented Aug 22, 2024

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.

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

1 similar comment
@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

1 similar comment
@daniel-butler-irl
Copy link
Contributor Author

/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.

see comments

"ibmcloud_api_key": $VALIDATION_APIKEY,
"resource_group_name": $PREFIX,
"prefix": $PREFIX,
"project_names": [
Copy link
Contributor

@ocofaigh ocofaigh Aug 26, 2024

Choose a reason for hiding this comment

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

Ah this syntax is not supported. The variable substitution only works for strings right now. However you should be able to do this and it will add the prefix value to each project name right? So the validation wont have ant name clashes.

"project_names": "[\"project1\", \"project2\"]"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A list of project names is required input. Is there another way of passing the values?

Copy link
Contributor

@ocofaigh ocofaigh Aug 26, 2024

Choose a reason for hiding this comment

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

That string will convert to a terraform list when passed to projects / schematics. Just like it does here

Copy link
Contributor

Choose a reason for hiding this comment

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

@daniel-butler-irl you still need to update to "project_names": "[\"project1\", \"project2\"]" for this to work

ibm_catalog.json Outdated
@@ -119,6 +119,45 @@
}
]
}
},
{
"label": "New Code Engine Projects",
Copy link
Contributor

Choose a reason for hiding this comment

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

Projects -> projects (I think @SirSpidey would request that :))

Choose a reason for hiding this comment

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

🥇 for Conall.
LC projects, as you have at L143

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

This deployable architecture creates IBM Cloud Code Engine projects and the following optional resources:

- A resource group.
- A Code Engine projects.
Copy link
Contributor

Choose a reason for hiding this comment

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

you already mention on line 3 that is creates code engine projects

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.

You need to update .catalog-onboard-pipeline.yaml and add the new variation to it for catalog pipeline to import it

@daniel-butler-irl
Copy link
Contributor Author

/run pipeline

install_type: fullstack
scc:
instance_id: 1c7d5f78-9262-44c3-b779-b28fe4d88c37
region: us-south
Copy link
Contributor

Choose a reason for hiding this comment

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

you didnt include any compliance section in the ibm_catalog.json so these SCC details will not be used. This means that no SCC scan will be done, and the flavor wont show a compliance tab in the tile. If there is even 1 compliance rule that is applicable to code engine projects, we should probably add a compliance section to the ibm_catalog.json for this flavor, but I’ll create a follow up issue so we don't hold this PR up

@ocofaigh
Copy link
Contributor

@daniel-butler-irl
Copy link
Contributor Author

/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.

Approving so the new variation can be published. Created 1 follow up issue: #95

@ocofaigh ocofaigh merged commit f61815f into main Aug 27, 2024
2 checks passed
@ocofaigh ocofaigh deleted the ce_projects_da branch August 27, 2024 10:03
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This issue has been resolved in version 1.2.0 🎉

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