Skip to content

Commit b441304

Browse files
authored
Merge pull request #113 from oracle-devrel/develop-temp
Automation Toolkit Release v2024.3.1
2 parents 25c9f1f + d15a15f commit b441304

File tree

5 files changed

+34
-30
lines changed

5 files changed

+34
-30
lines changed

cd3_automation_toolkit/Release-Notes

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
-------------------------------------
2+
CD3 Automation Toolkit Tag v2024.3.1
3+
Jun 18th, 2024
4+
-------------------------------------
5+
1. Bug fixes for OCI Firewall
6+
2. Moved to Jenkins latest plugins
7+
-------------------------------------
28
CD3 Automation Toolkit Tag v2024.3.0
39
Jun 7th, 2024
410
-------------------------------------
@@ -464,4 +470,4 @@ Export Security Rules/Route Rules
464470
It also offers functionality to create OCS Work VM into customer's OCI tenancy using which all other tasks can be carried out.
465471
Please go through readMe under SetUpOCI_ViaTF for details on how to use the automation.
466472

467-
It works for 2 regions currently: Ashburn and Phoenix ie it works for customer tenancy subscribed to Ashburn and Phoenix
473+
It works for 2 regions currently: Ashburn and Phoenix ie it works for customer tenancy subscribed to Ashburn and Phoenix

cd3_automation_toolkit/cd3FirewallValidator.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def validate_Firewall(filename,comp_ids,fwpolicy,config,signer, ct):
207207
columnvalue = str(dffirewall.loc[i, columnname]).strip()
208208

209209
if (columnname == 'Availability Domain(AD1|AD2|AD3|Regional)'):
210-
if columnvalue.lower() != 'nan' and columnvalue.upper() not in ["AD1", "AD2", "AD3","Regional"]:
210+
if columnvalue.lower() != 'nan' and columnvalue.upper() not in ["AD1", "AD2", "AD3","REGIONAL"]:
211211
log(f'ROW {i+3} : Wrong value at column "Availability Domain" - {columnvalue}.')
212212
fw_invalid_check = True
213213

@@ -1160,6 +1160,4 @@ def validate_firewall_cd3(filename, var_file, prefix, outdir, config,signer,ct):
11601160
print("\n\nSummary:")
11611161
print("=======")
11621162
print("There are no errors in CD3. Please proceed with TF Generation\n")
1163-
return "No Error"
1164-
1165-
1163+
return "No Error"

cd3_automation_toolkit/commonTools.py

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def get_export_filters(self,export_filters):
164164
self.cg_region = (i.split("=")[1])[2:][:-2]
165165

166166
if 'fwl_clone_src_region' in i:
167-
self.fwl_clone_src_region = (i.split("=")[1])[2:][:-2]
167+
self.fwl_clone_src_region = (i.split("=")[1])[1:][:-1]
168168

169169
if 'src_policy_str' in i:
170170
self.src_policy_str = (i.split("=")[1])[2:][:-2]
@@ -179,7 +179,7 @@ def get_export_filters(self,export_filters):
179179
self.fwl_name = (i.split("=")[1])[2:][:-2]
180180

181181
if 'fwl_clone_comp' in i:
182-
self.fwl_clone_comp = (i.split("=")[1])[2:][:-2]
182+
self.fwl_clone_comp = (i.split("=")[1])[1:][:-1]
183183
self.fwl_clone_comp = self.fwl_clone_comp if self.fwl_clone_comp else "null"
184184

185185
if 'fwl_del_comp' in i:

jenkins_install/plugins.txt

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
plain-credentials:143.v1b_df8b_d3b_e48
2-
snakeyaml-api:2.2-111.vc6598e30cc65
3-
workflow-step-api:657.v03b_e8115821b_
4-
pipeline-build-step:540.vb_e8849e1a_b_d8
5-
pipeline-input-step:491.vb_07d21da_1a_fb_
6-
pipeline-stage-view:2.34
7-
job-dsl:1.87
8-
credentials-binding:657.v2b_19db_7d6e6d
9-
docker-workflow:572.v950f58993843
10-
scm-api:689.v237b_6d3a_ef7f
11-
configuration-as-code:1775.v810dc950b_514
12-
config-file-provider:968.ve1ca_eb_913f8c
13-
git:5.2.1
14-
credentials:1319.v7eb_51b_3a_c97b_
15-
build-timeout:1.32
16-
script-security:1336.vf33a_a_9863911
17-
rebuild:330.v645b_7df10e2a_
18-
uno-choice:2.8.1
19-
file-parameters:316.va_83a_1221db_a_7
20-
scriptler:348.v5d461e205da_a_
21-
ansicolor:1.0.4
22-
pipeline-graph-view:223.vf9249decdfcd
1+
plain-credentials:latest
2+
snakeyaml-api:latest
3+
workflow-step-api:latest
4+
pipeline-build-step:latest
5+
pipeline-input-step:latest
6+
pipeline-stage-view:latest
7+
job-dsl:latest
8+
credentials-binding:latest
9+
docker-workflow:latest
10+
scm-api:latest
11+
configuration-as-code:latest
12+
config-file-provider:latest
13+
git:latest
14+
credentials:latest
15+
build-timeout:latest
16+
script-security:latest
17+
rebuild:latest
18+
uno-choice:latest
19+
file-parameters:latest
20+
scriptler:latest
21+
ansicolor:latest
22+
pipeline-graph-view:latest

jenkins_install/scriptler/scripts/SubChildOptions.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
List sec_rules = ["<b>SECURITY RULES</b>:disabled","Export Security Rules (From OCI into SecRulesinOCI sheet)", "Add/Modify/Delete Security Rules (Reads SecRulesinOCI sheet)"]
22
List route_rules = ["<b>ROUTE RULES</b>:disabled","Export Route Rules (From OCI into RouteRulesinOCI sheet)", "Add/Modify/Delete Route Rules (Reads RouteRulesinOCI sheet)"]
3-
List firewall_policy = ["<b>FIREWALL POLICY</b>:disabled","Add/Modify Policy", "Add/Modify Service","Add/Modify Service-list","Add/Modify Application","Add/Modify Application-list","Add/Modify Address-list","Add/Modify Url-list","Add/Modify Security rules","Add/Modify Mapped Secrets","Add/Modify Decryption Rules","Add/Modify Decryption Profile"]
3+
List firewall_policy = ["<b>FIREWALL POLICY</b>:disabled","Add/Modify/Delete Policy", "Add/Modify/Delete Service","Add/Modify/Delete Service-list","Add/Modify/Delete Application","Add/Modify/Delete Application-list","Add/Modify/Delete Address-list","Add/Modify/Delete Url-list","Add/Modify/Delete Security rules","Add/Modify/Delete Mapped Secrets","Add/Modify/Delete Decryption Rules","Add/Modify/Delete Decryption Profile"]
44
List drg_route_rules = ["<b>DRG ROUTE RULES</b>:disabled","Export DRG Route Rules (From OCI into DRGRouteRulesinOCI sheet)", "Add/Modify/Delete DRG Route Rules (Reads DRGRouteRulesinOCI sheet)"]
55
List nsg = ["<b>NSGs</b>:disabled","Export NSGs (From OCI into NSGs sheet)", "Add/Modify/Delete NSGs (Reads NSGs sheet)"]
66
List cis = ["<b>CIS</b>:disabled","Download latest compliance checking script", "Execute compliance checking script"]

0 commit comments

Comments
 (0)