Skip to content
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c360220
Initial commit
digvijay-ukirde Oct 19, 2023
c4f444e
Update unused variables
digvijay-ukirde Oct 19, 2023
6b045cf
Update PR test
digvijay-ukirde Oct 22, 2023
0a6b943
Rebase to main
digvijay-ukirde Oct 24, 2023
9f4121b
Temp fix to run the piepline
digvijay-ukirde Oct 24, 2023
93bbe3c
Minor fix (semantics bug)
digvijay-ukirde Oct 24, 2023
1f1a6c0
Update PR test with env variable
digvijay-ukirde Oct 24, 2023
8d12f19
Minor fix (Default value updates)
digvijay-ukirde Oct 24, 2023
f78d050
Minor fix (skip_iam_authorization_policy set to false)
digvijay-ukirde Oct 27, 2023
c419936
Conditional skip_iam_authorization_policy setting
digvijay-ukirde Nov 1, 2023
b9a8db4
Merge branch 'main' into develop
digvijay-ukirde Nov 1, 2023
86f3a3a
go minor updates
digvijay-ukirde Nov 1, 2023
a3ef635
go minor updates
digvijay-ukirde Nov 1, 2023
c35d620
run go mod tidy
danielbu-ibm Nov 1, 2023
a2e2db1
CRA scan updates
digvijay-ukirde Nov 1, 2023
becbc6d
CRA scan update ignore rules
digvijay-ukirde Nov 1, 2023
e6618ba
Ansible path updating
digvijay-ukirde Nov 2, 2023
d022091
Revert "Ansible path updating"
digvijay-ukirde Nov 3, 2023
bff8f9d
Code optimization
digvijay-ukirde Nov 4, 2023
7393350
Merge branch 'main' into develop
digvijay-ukirde Nov 4, 2023
a226f7d
Merge branch 'main' into develop
digvijay-ukirde Nov 7, 2023
98de8c2
Update IAM account settings
digvijay-ukirde Nov 7, 2023
e49d8ac
Setting replayable to false for verification
digvijay-ukirde Nov 7, 2023
5b9e508
Merge branch 'main' into develop
digvijay-ukirde Nov 16, 2023
dfaffc5
Minor changes
digvijay-ukirde Nov 19, 2023
702fc3e
Minor fix (skip_iam_authorization_policy set to false)
digvijay-ukirde Oct 27, 2023
ab718f2
Conditional skip_iam_authorization_policy setting
digvijay-ukirde Nov 1, 2023
d85912a
Code optimization
digvijay-ukirde Nov 4, 2023
553605f
Minor changes
digvijay-ukirde Nov 19, 2023
93d3684
Merge remote-tracking branch 'origin/develop' into develop
digvijay-ukirde Nov 19, 2023
d193cdf
chore: Catalog onboard pipeline (#68)
digvijay-ukirde Nov 19, 2023
0c5ce78
Minor changes
digvijay-ukirde Nov 19, 2023
11d5d9d
Merge remote-tracking branch 'origin/develop' into develop
digvijay-ukirde Nov 19, 2023
ba625b6
Format fixing
digvijay-ukirde Nov 19, 2023
13ee7ba
minor bug fix
digvijay-ukirde Nov 19, 2023
f9fc3c0
Addressing review comments
digvijay-ukirde Nov 23, 2023
8e51fe7
Initialize reference architectures
digvijay-ukirde Nov 23, 2023
10885ea
Review code changes
digvijay-ukirde Nov 24, 2023
27d2a5f
Review code changes
digvijay-ukirde Nov 24, 2023
baa0804
Merge branch 'main' into develop
digvijay-ukirde Nov 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .catalog-onboard-pipeline.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
apiVersion: v1
offerings:
# below is an example of a Deployable Architecture (DA) solution
- name: IBM Cloud HPC (DA) # must match the offering name in the ibm_catalog.json
kind: solution
catalog_id: fe9d2e76-5ada-44af-821f-b437dcc80f71
offering_id: 468c5a1c-1f1d-4e5a-b5b3-ec646b1bd298
# list all of the variations (flavors) you have included in the ibm_catalog.json
variations:
- name: advanced
mark_ready: false # have pipeline mark as visible if validation passes
install_type: fullstack # ensure value matches what is in ibm_catalog.json (fullstack or extension)
destroy_resources_on_failure: false # defaults to false if not specified so resources can be inspected to debug failures during validation
destroy_workspace_on_failure: false # defaults to false if not specified so schematics workspace can be inspected to debug failures during validation
import_only: false # defaults to false - set to true if you do not want to do any validation, but be aware offering can't be publish if not validated
validation_rg: validation # the resource group in which to do validation in. Will be created if does not exist. If not specified, default value is 'validation'
# scc details needed if your offering is claiming any compliance controls
scc:
# must be an instance in the same account the validation is being done in
instance_id: 1c7d5f78-9262-44c3-b779-b28fe4d88c37
region: us-south
# pre_validation: tests/scripts/pre-validation.sh # optionally run a command before validation runs
# post_validation: tests/scripts/post-validation.sh # optionally run a command after validation completes
3 changes: 2 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"assets": "false"
}],
["@semantic-release/exec", {
"successCmd": "echo \"SEMVER_VERSION=${nextRelease.version}\" >> $GITHUB_ENV"
"successCmd": "echo \"SEMVER_VERSION=${nextRelease.version}\" >> $GITHUB_ENV",
"publishCmd": "./ci/trigger-catalog-onboarding-pipeline.sh --version=v${nextRelease.version}"
}]
]
}
462 changes: 462 additions & 0 deletions ibm_catalog.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ module "hpc" {
enable_vpn = var.enable_vpn
file_shares = var.file_shares
hpcs_instance_name = var.hpcs_instance_name
ibm_customer_number = var.ibm_customer_number
ibmcloud_api_key = var.ibmcloud_api_key
key_management = var.key_management
login_image_name = var.login_image_name
login_instances = var.login_instances
login_ssh_keys = var.login_ssh_keys
#login_subnets_cidr = var.login_subnets_cidr
# ibm_customer_number = var.ibm_customer_number
ibmcloud_api_key = var.ibmcloud_api_key
key_management = var.key_management
login_image_name = var.login_image_name
login_instances = var.login_instances
login_ssh_keys = var.login_ssh_keys
# login_subnets_cidr = var.login_subnets_cidr
management_image_name = var.management_image_name
management_instances = var.management_instances
network_cidr = var.network_cidr
Expand Down
10 changes: 10 additions & 0 deletions solutions/hpc/catalogValidationValues.json.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"ibmcloud_api_key": $VALIDATION_APIKEY,
"prefix": $PREFIX,
"zones": $ZONES,
"resource_group": $RG_NAME,
"bastion_ssh_keys": $SSH_KEYS,
"login_ssh_keys": $SSH_KEYS,
"compute_ssh_keys": $SSH_KEYS,
"storage_ssh_keys": $SSH_KEYS
}
3 changes: 1 addition & 2 deletions solutions/hpc/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ variable "storage_type" {
default = "scratch"
description = "Select the required storage type(scratch/persistent/eval)."
}
*/

variable "ibm_customer_number" {
type = string
Expand All @@ -27,7 +26,7 @@ variable "ibm_customer_number" {
error_message = "The IBM customer number input value cannot have special characters."
}
}

*/
##############################################################################
# Account Variables
##############################################################################
Expand Down
3 changes: 1 addition & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ variable "storage_type" {
default = "scratch"
description = "Select the required storage type(scratch/persistent/eval)."
}
*/

variable "ibm_customer_number" {
type = string
Expand All @@ -27,7 +26,7 @@ variable "ibm_customer_number" {
error_message = "The IBM customer number input value cannot have special characters."
}
}

*/
##############################################################################
# Account Variables
##############################################################################
Expand Down