Skip to content

Commit 2153091

Browse files
authored
Merge pull request #150 from oracle-devrel/develop
Automation toolkit Release v2025.2.0
2 parents 365182b + 319e5dc commit 2153091

File tree

822 files changed

+8083
-2639
lines changed

Some content is hidden

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

822 files changed

+8083
-2639
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ ARG USER_GID=$USER_UID
1616
# Whether to download Provider as part of image creation
1717
ARG DOWNLOAD_PROVIDER=NO
1818
# TF Provider version
19-
ARG TF_OCI_PROVIDER=7.8.0
19+
ARG TF_OCI_PROVIDER=7.19.0
2020
ARG TF_NULL_PROVIDER=3.2.3
2121

2222
RUN microdnf install -y sudo && \
2323
groupadd --gid $USER_GID $USERNAME && \
24-
useradd --uid $USER_UID --gid $USER_GID -d /$USERNAME -m $USERNAME && \
24+
useradd --uid $USER_UID --gid $USER_GID $USERNAME && \
2525
echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && \
2626
chmod 0440 /etc/sudoers.d/$USERNAME && \
2727
mkdir -p /cd3user/tenancies && \

OCIWorkVMStack/scripts/installToolkit.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
#!/bin/bash
22

33
username=cd3user
4-
sudo mkdir -p /$username/mount_path
54
logfile="/$username/mount_path/installToolkit.log"
65
toolkit_dir="/tmp/githubCode"
7-
tenancyconfig_properties="$toolkit_dir/cd3_automation_toolkit/user-scripts/tenancyconfig.properties"
6+
mount_dir="/$username/mount_path"
7+
sudo mkdir -p /$mount_dir/tenancies
8+
sudo mkdir -p /$mount_dir/oci_tools
9+
10+
tenancyconfig_properties="/$mount_dir/oci_tools/cd3_automation_toolkit/user-scripts/tenancyconfig.properties"
811
start=$(date +%s.%N)
912
sudo sh -c "echo '########################################################################' >> /etc/motd"
1013
sudo sh -c "echo ' Welcome to CD3 Automation Toolkit WorkVM' >> /etc/motd"
@@ -66,7 +69,10 @@ fi
6669
sudo podman --version >> $logfile 2>&1 || true
6770

6871
echo "***Download Toolkit***" >> $logfile 2>&1
69-
sudo git clone https://github.com/oracle-devrel/cd3-automation-toolkit.git $toolkit_dir >> $logfile 2>&1
72+
sudo git clone https://github.com/oracle-devrel/cd3-automation-toolkit.git -b develop $toolkit_dir >> $logfile 2>&1
73+
cp -r $toolkit_dir/cd3_automation_toolkit /$mount_dir/oci_tools/
74+
cp -r $toolkit_dir/othertools /$mount_dir/oci_tools/
75+
sudo chown -R $username:$username /$mount_dir/oci_tools/
7076
stop_exec
7177

7278
curl -H "Authorization: Bearer Oracle" -L http://169.254.169.254/opc/v2/instance/ -o /tmp/metadata.json
@@ -88,7 +94,7 @@ stop_exec
8894
sudo podman images >> $logfile 2>&1
8995

9096
echo "***Setting Up podman Container***" >> $logfile 2>&1
91-
sudo podman run --name cd3_toolkit -it -p 8443:8443 -d -v /cd3user/mount_path:/cd3user/tenancies cd3_toolkit bash >> $logfile 2>&1
97+
sudo podman run --name cd3_toolkit -it -p 8443:8443 -d -v /cd3user/mount_path:/cd3user cd3_toolkit bash >> $logfile 2>&1
9298
stop_exec
9399
sudo podman ps -a >> $logfile 2>&1
94100
echo "Connect to Container using command - sudo podman exec -it cd3_toolkit bash " >> $logfile 2>&1
@@ -99,4 +105,4 @@ duration_sec=$(echo "$(date +%s.%N) - $start" | bc)
99105
duration_min=$(echo "$duration_sec%3600/60" | bc)
100106
execution_time=`printf "%.2f seconds" $duration_sec`
101107
echo "Script Execution Time in Seconds: $execution_time" >> $logfile 2>&1
102-
echo "Script Execution Time in Minutes: approx $duration_min Minutes" >> $logfile 2>&1
108+
echo "Script Execution Time in Minutes: approx $duration_min Minutes" >> $logfile 2>&1

README.md

Lines changed: 10 additions & 12 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/v2025.1.4) &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/v2025.2.0) &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

@@ -39,16 +39,15 @@ Additionally, the toolkit also supports seamless resource management using OCI D
3939
<td>DNS Management</td>
4040
<td>Load Balancers</td>
4141
</tr>
42-
<tr>
43-
<td>OCI Network Firewall</td>
44-
<td>KMS</td>
45-
<td>Policy Enforcement using OPA</td>
46-
47-
</tr>
4842
<tr>
4943
<td>Compute</td>
5044
<td>Storage</td>
51-
<td>Database</td>
45+
<td>Oracle, MySQL Databases</td>
46+
</tr>
47+
<tr>
48+
<td>OCI Network Firewall</td>
49+
<td>KMS</td>
50+
<td>Policy Enforcement using OPA</td>
5251
</tr>
5352
<tr>
5453
<td>OKE</td>
@@ -63,15 +62,14 @@ Additionally, the toolkit also supports seamless resource management using OCI D
6362
<tr>
6463
<td>Cloud Guard</td>
6564
<td>SHOWOCI report</td>
66-
<td>CIS Landing Zone<br>Compliance</td>
67-
65+
<td>CIS Compliance Report</td>
6866
</tr>
6967
</table>
7068
</tr>
71-
72-
7369
</body>
7470

71+
📌 The Toolkit also extends its support to <b>ADB@Azure</b>
72+
7573
<br>
7674

7775
## Why CD3?

cd3_automation_toolkit/CostManagement/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

cd3_automation_toolkit/DeveloperServices/__init__.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

cd3_automation_toolkit/Governance/__init__.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

cd3_automation_toolkit/Identity/__init__.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

cd3_automation_toolkit/ManagementServices/EventsAndNotifications/templates/notifications-subscriptions-template

Lines changed: 0 additions & 57 deletions
This file was deleted.

cd3_automation_toolkit/ManagementServices/__init__.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

cd3_automation_toolkit/Network/__init__.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)