Skip to content

Commit 209da01

Browse files
nupurg-ibmNupur GoyalLouies-Jhonyanbunithi-devAnbunithi-R
authored
Updating main branch with latest LSF-DA codebase (#248)
* Pushing LSF-DA latest codebase to public repo * fixing output for app center (#247) * fixing output * fixing branch name --------- Co-authored-by: Nupur Goyal <[email protected]> * BMS Data Fix - DA LSF (#246) * BMS Data Fix - DA LSF * BMS Data Fix - DA LSF * BMS Data Fix - DA LSF * updating common-dev-assets * fixing cra * fixing cra * fixing detect-secrets * Added negative test cases and refactored LSF test structure under lsf_tests directory (#249) * Added negative test cases and refactored LSF test structure under lsf_tests directory * fixed pre-commit issues --------- Co-authored-by: Anbunithi-R <[email protected]> * fixing pre-commit * Fixing Deployment issues with Schematics (#250) * Fixing Ansible repo issue * Fixing Ansible repo issue * Fixing Ansible repo issue * Fixing Ansible repo issue * Fixing Ansible repo issue * Fixing Ansible repo issue * Fixing Ansible repo issue --------- Co-authored-by: Anand.Reddy7 <[email protected]> * Add custom logger and validate environment variable setup in PR test (#251) Co-authored-by: Anbunithi-R <[email protected]> * Updating outputs (#252) * fixing output * fixing branch --------- Co-authored-by: Nupur Goyal <[email protected]> * updated default crn value (#253) Co-authored-by: Anbunithi-R <[email protected]> * Convert elapsed time to minutes in report; update KP region logic and refactor VPC test cases (#254) Co-authored-by: Anbunithi-R <[email protected]> * Update KMS Test to Skip IAM Block Storage Authorization Policy (#256) Co-authored-by: Anbunithi-R <[email protected]> * Enhancing LDAP Password Complexity Requirements (#257) * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements --------- Co-authored-by: Anand.Reddy7 <[email protected]> * Login Host BUG - DA LSF (#258) * Enhancing LDAP Password Complexity Requirements (#261) * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements * Enhancing LDAP Password Complexity Requirements Signed-off-by: Anand.Reddy7 <[email protected]> --------- Signed-off-by: Anand.Reddy7 <[email protected]> Co-authored-by: Anand.Reddy7 <[email protected]> * Fix TestRunMultiProfileStaticAndDynamic, extend invalid config tests, and add TestObservabilityAtrackerWithCosAndCloudLogs (#262) Co-authored-by: Anbunithi-R <[email protected]> * Fixing Login node unreachable (#263) * Fixing the Login node un-rechable issue * Fixing the Login node un-rechable issue * Fixing the Login node un-rechable issue * Fixing the Login node un-rechable issue * Fixing the Login node un-rechable issue * Fixing the Login node un-rechable issue * Fixing the Login node un-rechable issue * Fixing the Login node un-rechable issue --------- Co-authored-by: Anand.Reddy7 <[email protected]> * removing scc legacy instance and adding scc-workload-protection (#259) * scc wp changes * added a new changes * adding cloud monitoring crn * app config plan added * sample files * removing scc legacy instance and monitoring for scc-wp * updating versions * fixing api issue * fixing pre-commit * adding push on the description and json file * fixing resource group issue * fixing app config plan * update the descriptions * added variable * fixing desc * fixing desc --------- Co-authored-by: Sagar BK <[email protected]> Co-authored-by: Nupur Goyal <[email protected]> * catalog.json * Add invalid instance profile validation tests and support SCCWP + CSPM config (#264) - Added TestInvalidInstanceProfiles with multiple negative scenarios - Renamed ValidateBasicClusterConfigurationWithSCC → WithSCCWPAndCSPM - Created TestRunSCCWPAndCSPMEnabledClusterValidation - Removed legacy SCC variables - Added SCCWP/CSPM config: sccwp_enable, cspm_enabled, etc. - Updated YAML, deployment logic, and lsf_setup.go Co-authored-by: Anbunithi-R <[email protected]> --------- Signed-off-by: Anand.Reddy7 <[email protected]> Co-authored-by: Nupur Goyal <[email protected]> Co-authored-by: Louies-Jhony <[email protected]> Co-authored-by: Anbunithi-dev <[email protected]> Co-authored-by: Anbunithi-R <[email protected]> Co-authored-by: Anand Reddy <[email protected]> Co-authored-by: Anand.Reddy7 <[email protected]> Co-authored-by: Sagar BK <[email protected]>
1 parent d5b889a commit 209da01

File tree

435 files changed

+34087
-16053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

435 files changed

+34087
-16053
lines changed

.catalog-onboard-pipeline.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
apiVersion: v1
33
offerings:
44
# below is an example of a Deployable Architecture (DA) solution
5-
- name: deploy-arch-ibm-hpc-lsf # must match the offering name in the ibm_catalog.json
5+
- name: deploy-arch-ibm-hpc # must match the offering name in the ibm_catalog.json
66
kind: solution
7-
catalog_id: 0d89ec0d-d39a-494d-ac5b-9d940d8cc65f
8-
offering_id: 1444e20a-af22-40d1-af98-c880918849cb
7+
catalog_id: 8611e025-10b2-488e-8261-a7f584a5114b
8+
offering_id: bf3c07f8-5a62-4289-8ea0-94dbb2b410e6
99
# list all of the variations (flavors) you have included in the ibm_catalog.json
1010
variations:
1111
- name: Cluster-with-LSF

.cra/.fileignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# ignore temporary copies of referenced repos
2+
.terraform
3+
common-dev-assets

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@ localtweak__*.tf
5858

5959
# tests folder log file
6060
*.log
61+
62+
# Ignore RSA files
63+
*id_rsa

.secrets.baseline

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"exclude": {
3-
"files": "acceptance-test/package-lock.json|test/go.sum|go.sum|^.secrets.baseline$",
3+
"files": "^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2025-02-12T12:53:44Z",
6+
"generated_at": "2025-06-19T07:38:57Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -76,7 +76,34 @@
7676
"name": "TwilioKeyDetector"
7777
}
7878
],
79-
"results": {},
79+
"results": {
80+
"samples/configs/hpc_catalog_values.json": [
81+
{
82+
"hashed_secret": "5073c7ac17500ef0678aebc7138a996b4f75d623",
83+
"is_secret": true,
84+
"is_verified": false,
85+
"line_number": 8,
86+
"type": "Secret Keyword",
87+
"verified_result": null
88+
},
89+
{
90+
"hashed_secret": "1f5e25be9b575e9f5d39c82dfd1d9f4d73f1975c",
91+
"is_secret": true,
92+
"is_verified": false,
93+
"line_number": 37,
94+
"type": "Secret Keyword",
95+
"verified_result": null
96+
},
97+
{
98+
"hashed_secret": "b295b04949a98dc50ba65adcddd588077b93ab3c",
99+
"is_secret": true,
100+
"is_verified": false,
101+
"line_number": 60,
102+
"type": "Secret Keyword",
103+
"verified_result": null
104+
}
105+
]
106+
},
80107
"version": "0.13.1+ibm.62.dss",
81108
"word_list": {
82109
"file": null,
Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
---
2+
apiVersion: tekton.dev/v1beta1
3+
kind: TriggerTemplate
4+
args: [--allow-multiple-documents]
5+
metadata:
6+
name: triggertemplate-git-pr-status
7+
spec:
8+
params:
9+
- name: git_access_token
10+
description: the token to access the git repository for the clone operations
11+
- name: repository
12+
description: The git repo
13+
default: " "
14+
- name: branch
15+
description: the branch for the git repo
16+
- name: directory-name
17+
default: "."
18+
- name: pr-repository
19+
description: The source git repo for the PullRequest
20+
default: " "
21+
- name: pr-branch
22+
description: The source branch for the PullRequest
23+
default: " "
24+
- name: pr-revision
25+
description: the commit id/sha for the PullRequest
26+
default: " "
27+
- name: triggerName
28+
default: "git-pr-process"
29+
- name: pipeline-debug
30+
default: "0"
31+
- name: zone
32+
default: ""
33+
description: The IBM Cloud zone name within the selected region where the IBM Cloud HPC cluster should be deployed and requires a single zone input value. Supported zones are eu-de-2 and eu-de-3 for eu-de, us-east-1 and us-east-3 for us-east, and us-south-1 for us-south. The management nodes, file storage shares, and compute nodes will be deployed in the same zone.[Learn more](https://cloud.ibm.com/docs/vpc?topic=vpc-creating-a-vpc-in-a-different-region#get-zones-using-the-cli).
34+
- name: resource_group
35+
description: Resource group name from your IBM Cloud account where the VPC resources should be deployed. Note. If the resource group value is set as null, automation creates two different RG with the name (workload-rg and service-rg). For additional information on resource groups, see [Managing resource groups](https://cloud.ibm.com/docs/account?topic=account-rgs).
36+
default: Default
37+
- name: compute_image_name_rhel
38+
description: Name of the custom image that you want to use to create virtual server instances in your IBM Cloud account to deploy the IBM Cloud HPC cluster dynamic compute nodes. By default, the solution uses a RHEL 8-6 OS image with additional software packages mentioned [here](https://cloud.ibm.com/docs/hpc-spectrum-LSF#create-custom-image). The solution also offers, Ubuntu 22-04 OS base image (hpcaas-lsf10-ubuntu2204-compute-v1). If you would like to include your application-specific binary files, follow the instructions in [ Planning for custom images ](https://cloud.ibm.com/docs/vpc?topic=vpc-planning-custom-images) to create your own custom image and use that to build the IBM Cloud HPC cluster through this offering.
39+
default: ""
40+
- name: compute_image_name_ubuntu
41+
description: Name of the custom image that you want to use to create virtual server instances in your IBM Cloud account to deploy the IBM Cloud HPC cluster dynamic compute nodes. By default, the solution uses a RHEL 8-6 OS image with additional software packages mentioned [here](https://cloud.ibm.com/docs/hpc-spectrum-LSF#create-custom-image). The solution also offers, Ubuntu 22-04 OS base image (hpcaas-lsf10-ubuntu2204-compute-v1). If you would like to include your application-specific binary files, follow the instructions in [ Planning for custom images ](https://cloud.ibm.com/docs/vpc?topic=vpc-planning-custom-images) to create your own custom image and use that to build the IBM Cloud HPC cluster through this offering.
42+
default: ""
43+
- name: login_image_name
44+
description: Name of the custom image that you want to use to create virtual server instances in your IBM Cloud account to deploy the IBM Cloud HPC cluster login node. By default, the solution uses a RHEL 8-6 OS image with additional software packages mentioned [here](https://cloud.ibm.com/docs/hpc-spectrum-LSF#create-custom-image). The solution also offers, Ubuntu 22-04 OS base image (hpcaas-lsf10-ubuntu2204-compute-v2). If you would like to include your application-specific binary files, follow the instructions in [ Planning for custom images ](https://cloud.ibm.com/docs/vpc?topic=vpc-planning-custom-images) to create your own custom image and use that to build the IBM Cloud HPC cluster through this offering.
45+
default: ""
46+
- name: management_image_name
47+
description: Name of the custom image that you want to use to create virtual server instances in your IBM Cloud account to deploy the IBM Cloud HPC cluster management nodes. By default, the solution uses a RHEL88 base image with additional software packages mentioned [here](https://cloud.ibm.com/docs/ibm-spectrum-lsf#create-custom-image). If you would like to include your application-specific binary files, follow the instructions in [ Planning for custom images ](https://cloud.ibm.com/docs/vpc?topic=vpc-planning-custom-images) to create your own custom image and use that to build the IBM Cloud HPC cluster through this offering.
48+
default: ""
49+
- name: deployer_image_name
50+
description: Name of the deployer image.
51+
default: ""
52+
- name: cos_region
53+
description: The cos region name.
54+
default: ""
55+
- name: cos_bucket
56+
description: The cos bucket name.
57+
default: ""
58+
- name: cos_instance_crn
59+
description: The cos instance crn.
60+
default: ""
61+
- name: cos_api_key
62+
description: The cos account api key.
63+
default: ""
64+
- name: hpc_custom_reports_repo
65+
description: The HPC custom reports storage repository.
66+
default: ""
67+
- name: hpc_custom_reports_branch
68+
description: The HPC custom reports storage repository branch.
69+
default: "main"
70+
- name: git_user_name
71+
description: The git user name.
72+
default: ""
73+
- name: git_user_email
74+
description: The git user email.
75+
default: ""
76+
- name: solution
77+
description: Provide the value for the solution that is needed for the support of lsf and HPC.
78+
default: "lsf"
79+
resourcetemplates:
80+
- apiVersion: v1
81+
kind: PersistentVolumeClaim
82+
metadata:
83+
name: $(params.triggerName)-$(uid)-pvc
84+
spec:
85+
resources:
86+
requests:
87+
storage: 5Gi
88+
volumeMode: Filesystem
89+
accessModes:
90+
- ReadWriteOnce
91+
- apiVersion: tekton.dev/v1beta1
92+
kind: PipelineRun
93+
metadata:
94+
name: $(params.triggerName)-$(uid)
95+
spec:
96+
pipelineRef:
97+
name: pipeline-git-pr-status
98+
params:
99+
- name: git_access_token
100+
value: $(params.git_access_token)
101+
- name: repository
102+
value: $(params.repository)
103+
- name: branch
104+
value: $(params.branch)
105+
- name: pr-repository
106+
value: $(params.pr-repository)
107+
- name: pr-branch
108+
value: $(params.pr-branch)
109+
- name: pr-revision
110+
value: $(params.pr-revision)
111+
- name: pipeline-debug
112+
value: $(params.pipeline-debug)
113+
- name: directory-name
114+
value: $(params.directory-name)
115+
- name: zone
116+
value: $(params.zone)
117+
- name: resource_group
118+
value: $(params.resource_group)
119+
- name: compute_image_name_rhel
120+
value: $(params.compute_image_name_rhel)
121+
- name: compute_image_name_ubuntu
122+
value: $(params.compute_image_name_ubuntu)
123+
- name: login_image_name
124+
value: $(params.login_image_name)
125+
- name: management_image_name
126+
value: $(params.management_image_name)
127+
- name: deployer_image_name
128+
value: $(params.deployer_image_name)
129+
- name: cos_region
130+
value: $(params.cos_region)
131+
- name: cos_bucket
132+
value: $(params.cos_bucket)
133+
- name: cos_instance_crn
134+
value: $(params.cos_instance_crn)
135+
- name: cos_api_key
136+
value: $(params.cos_api_key)
137+
- name: hpc_custom_reports_repo
138+
value: $(params.hpc_custom_reports_repo)
139+
- name: hpc_custom_reports_branch
140+
value: $(params.hpc_custom_reports_branch)
141+
- name: git_user_name
142+
value: $(params.git_user_name)
143+
- name: git_user_email
144+
value: $(params.git_user_email)
145+
- name: solution
146+
value: $(params.solution)
147+
workspaces:
148+
- name: pipeline-ws
149+
persistentVolumeClaim:
150+
claimName: $(params.triggerName)-$(uid)-pvc
151+
---
152+
apiVersion: tekton.dev/v1beta1
153+
kind: TriggerBinding
154+
metadata:
155+
name: triggerbinding-git-pr-status-github-pr
156+
spec:
157+
params:
158+
- name: repository
159+
value: "$(event.pull_request.base.repo.clone_url)"
160+
- name: branch
161+
value: "$(event.pull_request.base.ref)"
162+
- name: pr-repository
163+
value: "$(event.pull_request.head.repo.clone_url)"
164+
- name: pr-branch
165+
value: "$(event.pull_request.head.ref)"
166+
- name: pr-revision
167+
value: "$(event.pull_request.head.sha)"
168+
- name: triggerName
169+
value: "github-pullrequest"
170+
---
171+
apiVersion: tekton.dev/v1beta1
172+
kind: EventListener
173+
metadata:
174+
name: eventlistener-git-pr-status-github-pr
175+
spec:
176+
triggers:
177+
- binding:
178+
name: triggerbinding-git-pr-status-github-pr
179+
template:
180+
name: triggertemplate-git-pr-status

0 commit comments

Comments
 (0)