-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #187 from redhatci/fix_cnf_project_creation
Remove non-mandatory email when creating cert projects
- Loading branch information
Showing
4 changed files
with
22 additions
and
16 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
roles/create_certification_project/templates/create_project_helmchart.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
roles/create_certification_project/templates/create_project_openshift_cnf.json.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,13 +64,13 @@ helmchart_to_certify: | |
create_helmchart_project: true | ||
|
||
cert_settings: | ||
email_address: "[email protected]" | ||
distribution_method: "undistributed" #undistributed==>Web catalog only, external==> charts.openshift.io | ||
github_usernames: "xusername" | ||
application_categories: "Networking" | ||
long_description: "This is a long description about this sample chart" | ||
application_categories: "Networking" | ||
distribution_instructions: "Instruction how to get this helm-chart" | ||
email_address: "[email protected]" | ||
distribution_method: "undistributed" #undistributed==>Web catalog only, external==> charts.openshift.io | ||
github_usernames: "xusername" | ||
application_categories: "Networking" | ||
long_description: "This is a long description about this sample chart" | ||
application_categories: "Networking" | ||
distribution_instructions: "Instruction how to get this helm-chart" | ||
|
||
cert_listings: | ||
published: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,15 +18,20 @@ create_cnf_project | false | |
cnf_name | None | If defined, it would create Openshift-cnf certification project for vendor validated, cnf_name format: `CNF25.8 + OCP4.12` | ||
|
||
|
||
## Variables to define for project settings under `cert_settings` | ||
|
||
Name | Default | Description | ||
----------------------------- | ------------------------------------ | ------------- | ||
email_address | "[email protected]" | String. Email address is needed for creating openshift-cnf project | ||
|
||
|
||
## Variables to define for project settings under `cert_listings` main variable | ||
|
||
Name | Default | Description | ||
----------------------------- | ------------------------------------ | ------------- | ||
pyxis_product_lists | None | A list of Product Listings; all of them must be created beforehand [See doc](https://redhat-connect.gitbook.io/red-hat-partner-connect-general-guide/managing-your-account/product-listing). It could contain one or many PLs. If set, it will attach all PLs to both old and new certification projects. | ||
published | false | Boolean to enable publishing list of products | ||
type | "container stack" | String. Type of product list | ||
email_address | "[email protected]" | String. Email address is needed for creating openshift-cnf project | ||
|
||
|
||
|
||
## Example Configuration of Openshift-cnf certification project creation | ||
|
@@ -47,13 +52,10 @@ cnf_to_certify: | |
- cnf_name: "test-upf23.5 OCP4.11.5" | ||
create_cnf_project: true | ||
|
||
cert_listings: | ||
# TODO: check the comment with Andrew - mandatory or not mandatory? | ||
# Looks like mandatory because cert_listings.email_address is used in the template | ||
# create_certification_project/templates/create_project_openshift_cnf.json.j2 | ||
# TODO: could we delete this contact setup to merge openshift_cnf with other product types? | ||
# email_address is mandatory when creating openshift-cnf for vendor validation but does not hurt to define it | ||
cert_settings: | ||
email_address: "[email protected]" | ||
|
||
cert_listings: | ||
published: false | ||
type: "container stack" | ||
pyxis_product_lists: | ||
|