Skip to content

Commit 4427bd0

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 8fda764 + 93a62d8 commit 4427bd0

File tree

6 files changed

+21
-19
lines changed

6 files changed

+21
-19
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
name: SonarCloud Scan
1+
name: Build
22
on:
3-
pull_request_target:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
types: [opened, synchronize, reopened]
48
jobs:
59
sonarcloud:
610
name: SonarCloud
711
runs-on: ubuntu-latest
812
steps:
9-
- name: Checkout repo
10-
uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1114
with:
12-
ref: ${{ github.event.pull_request.head.ref }}
13-
repository: ${{ github.event.pull_request.head.repo.full_name }}
1415
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1516
- name: SonarCloud Scan
16-
uses: SonarSource/sonarcloud-github-action@master
17+
uses: oracle-devrel/sonarcloud-github-action@master
1718
env:
1819
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
19-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
20+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ sudo unzip terraform-provider-null_${TF_NULL_PROVIDER}_linux_amd64.zip -d /cd3us
6262
sudo cp -r /cd3user/.terraform.d/plugins/registry.terraform.io /cd3user/.terraform.d/plugins/registry.opentofu.org && \
6363
sudo chown -R cd3user:cd3user /cd3user/ && \
6464
sudo rm -rf terraform-provider-null_${TF_NULL_PROVIDER}_linux_amd64.zip terraform-provider-oci_${TF_OCI_PROVIDER}_linux_amd64.zip ;\
65-
6665
fi
6766

6867
##################################### START INSTALLING JENKINS ###################################

LICENSE renamed to LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2021 Oracle and/or its affiliates.
1+
Copyright (c) 2024 Oracle and/or its affiliates.
22

33
The Universal Permissive License (UPL), Version 1.0
44

README.md

100755100644
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<br>
99

10-
[What's New](https://github.com/oracle-devrel/cd3-automation-toolkit/releases/tag/v2024.4.2) &nbsp;&nbsp;[Excel Templates](https://oracle-devrel.github.io/cd3-automation-toolkit/latest/excel-templates/) &nbsp;&nbsp;[CD3 Docs](https://oracle-devrel.github.io/cd3-automation-toolkit/)&nbsp;&nbsp; [Watch & Learn](https://www.youtube.com/playlist?list=PLPIzp-E1msrbJ3WawXVhzimQnLw5iafcp) &nbsp;&nbsp;[Blogs & Tutorials](https://oracle-devrel.github.io/cd3-automation-toolkit/latest/tutorials/) &nbsp;&nbsp;[Livelabs](https://apexapps.oracle.com/pls/apex/f?p=133:180:112501098061930::::wid:3724) &nbsp;&nbsp;[Slack Channel](https://oracle-devrel.github.io/cd3-automation-toolkit/latest/queries)
10+
[What's New](https://github.com/oracle-devrel/cd3-automation-toolkit/releases/tag/v2024.4.3) &nbsp;&nbsp;[Excel Templates](https://oracle-devrel.github.io/cd3-automation-toolkit/latest/excel-templates/) &nbsp;&nbsp;[CD3 Docs](https://oracle-devrel.github.io/cd3-automation-toolkit/)&nbsp;&nbsp; [Watch & Learn](https://www.youtube.com/playlist?list=PLPIzp-E1msrbJ3WawXVhzimQnLw5iafcp) &nbsp;&nbsp;[Blogs & Tutorials](https://oracle-devrel.github.io/cd3-automation-toolkit/latest/tutorials/) &nbsp;&nbsp;[Livelabs](https://apexapps.oracle.com/pls/apex/f?p=133:180:112501098061930::::wid:3724) &nbsp;&nbsp;[Slack Channel](https://oracle-devrel.github.io/cd3-automation-toolkit/latest/queries)
1111

1212
<br>
1313

@@ -21,7 +21,7 @@ Additionally, the toolkit also supports seamless resource management using OCI D
2121
🚀 Click the below button to quickly launch CD3 toolkit container in Oracle Cloud and start managing your Infra as Code.
2222
<br>
2323

24-
[![Deploy_To_OCI](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle-devrel/cd3-automation-toolkit/archive/refs/heads/develop.zip)
24+
[![Deploy_To_OCI](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle-devrel/cd3-automation-toolkit/archive/refs/heads/main.zip)
2525

2626
<br>
2727

@@ -81,7 +81,7 @@ Additionally, the toolkit also supports seamless resource management using OCI D
8181

8282
📝 Creating Terraform Code for each module/resource can be cumbersome and requires Terraform expertise.
8383

84-
🔁 Manually created infrastrucutre is hard to rebuild for different environments or regions.
84+
🔁 Manually created infrastructure is hard to rebuild for different environments or regions.
8585

8686
<br>
8787

@@ -90,7 +90,7 @@ Additionally, the toolkit also supports seamless resource management using OCI D
9090

9191
The toolkit transforms input data from Excel files into Terraform files, enabling seamless creation of infrastructure in OCI.
9292

93-
**CD3 isn't just about creation!!!** ⬅️ Reverse engineer existing infrastructure back into Excel and IaC(terraform) to gain complete control over your OCI resources lifecycle.
93+
**CD3 isn't just about creation!!!** ⬅️ Reverse engineer existing infrastructure back into Excel and IaC(terraform) and continue to manage your OCI resources using CD3.
9494

9595
📜 The generated Terraform code can be used by the OCI Resource Manager or can be integrated into organization's existing DevOps CI/CD ecosystem.
9696

@@ -138,10 +138,10 @@ This project is open source. Please submit your contributions by raising an <b>
138138
<br>
139139

140140
## ⚠️ License
141-
Copyright (c) 2022 Oracle and/or its affiliates.
141+
Copyright (c) 2024 Oracle and/or its affiliates.
142142

143143
Licensed under the Universal Permissive License (UPL), Version 1.0.
144144

145-
See [LICENSE](LICENSE) for more details.
145+
See [LICENSE](LICENSE.txt) for more details.
146146

147147
ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND CONTAINED OR PRODUCED WITHIN THIS REPOSITORY, AND IN PARTICULAR SPECIFICALLY DISCLAIM ANY AND ALL IMPLIED WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. FURTHERMORE, ORACLE AND ITS AFFILIATES DO NOT REPRESENT THAT ANY CUSTOMARY SECURITY REVIEW HAS BEEN PERFORMED WITH RESPECT TO ANY SOFTWARE, MATERIAL OR CONTENT CONTAINED OR PRODUCED WITHIN THIS REPOSITORY. IN ADDITION, AND WITHOUT LIMITING THE FOREGOING, THIRD PARTIES MAY HAVE POSTED SOFTWARE, MATERIAL OR CONTENT TO THIS REPOSITORY WITHOUT ANY REVIEW. USE AT YOUR OWN RISK.

cd3_automation_toolkit/user-scripts/createTenancyConfig.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,12 +473,14 @@ def create_bucket(config, signer):
473473
devops_user_key = config.get('Default', 'oci_devops_git_key').strip()
474474

475475
# Check if Jenkins was installed during image build
476+
476477
if environ.get('USE_DEVOPS') is None:
477478
use_devops_docker = "yes"
478479
else:
479480
use_devops_docker = os.environ['USE_DEVOPS']
480481
use_devops_docker=use_devops_docker.lower()
481482

483+
482484
if use_devops_docker != use_devops:
483485
use_devops = "no"
484486

sonar-project.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ sonar.projectKey=oracle-devrel_cd3-automation-toolkit
22
sonar.organization=oracle-devrel
33

44
# This is the name and version displayed in the SonarCloud UI.
5-
#sonar.projectName=test
6-
#sonar.projectVersion=1.0
5+
# sonar.projectName=test
6+
# sonar.projectVersion=1.0
77

88
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
99
#sonar.sources=.
1010

1111
# Encoding of the source code. Default is default system encoding
12-
#sonar.sourceEncoding=UTF-8
12+
#sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)