Skip to content

Commit 327c50c

Browse files
authored
Merge pull request #31 from oracle-devrel/dip-documentation
Dip documentation. Forcing merge to allow issues.yml file.
2 parents 32fcb89 + 88e4b72 commit 327c50c

39 files changed

+1805
-40
lines changed

.github/workflows/issue.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CD3 Project automation for Issues
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
jobs:
8+
add-to-project:
9+
name: Add issue to project
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/[email protected]
13+
with:
14+
project-url: https://github.com/orgs/oracle-devrel/projects/2/views/1
15+
github-token: ${{ secrets.PROJECT_AUTOMATION_TOKEN }}

README.md

Lines changed: 33 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,42 @@
1-
# cd3-automation-toolkit
1+
# CD3-Automation-Toolkit
22

33
[![License: UPL](https://img.shields.io/badge/license-UPL-green)](https://img.shields.io/badge/license-UPL-green) [![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=oracle-devrel_cd3-automation-toolkit)](https://sonarcloud.io/dashboard?id=oracle-devrel_cd3-automation-toolkit)
44

5+
## Table of Contents :bookmark:
6+
7+
1. [Introduction](#introduction)
8+
2. [Pre-requisites](#pre-requisites)
9+
3. [Launch Docker container](/cd3_automation_toolkit/documentation/user_guide/Launch_Docker_container.md)
10+
4. [Connect container to OCI Tenancy](/cd3_automation_toolkit/documentation/user_guide/Connect_container_to_OCI_Tenancy.md)
11+
5. [Getting Started with Automation Toolkit](/cd3_automation_toolkit/documentation/user_guide/RunningAutomationToolkit.md)
12+
6. [Using the Automation Toolkit](/cd3_automation_toolkit/documentation/user_guide/Workflows.md)
13+
- [Green Field Tenancies](/cd3_automation_toolkit/documentation/user_guide/GreenField.md)
14+
- [Non-Green Field Tenancies](/cd3_automation_toolkit/documentation/user_guide/NonGreenField.md)
15+
7. MUST READ...
16+
- [Managing Network for Green Field Tenancies](/cd3_automation_toolkit/documentation/user_guide/NetworkingScenariosGF.md)
17+
- [Managing Network for Non Green Field Tenancies](/cd3_automation_toolkit/documentation/user_guide/NetworkingScenariosNGF.md)
18+
8. [Creating independent tfstate files for each resource](/cd3_automation_toolkit/documentation/user_guide/RestructuringOutDirectory.md)
19+
9. [Expected Behaviour Of Automation Toolkit](/cd3_automation_toolkit/documentation/user_guide/KnownBehaviour.md)
20+
10. [FAQs](/cd3_automation_toolkit/documentation/user_guide/FAQ.md)
21+
11. Learn More...
22+
- CD3 Excel Information
23+
- [Excel Templates](/cd3_automation_toolkit/documentation/user_guide/RunningAutomationToolkit.md#excel-sheet-templates)
24+
- [CD3 Excelsheet Tabs](/cd3_automation_toolkit/documentation/user_guide/learn_more/CD3ExcelTabs.md)
25+
- [CD3 Validator Features](/cd3_automation_toolkit/documentation/user_guide/learn_more/SupportForCD3Validator.md)
26+
- [Additional CIS Compliance Features](/cd3_automation_toolkit/documentation/user_guide/learn_more/CISFeatures.md)
27+
- [OCI Resource Manager Upload](/cd3_automation_toolkit/documentation/user_guide/learn_more/ResourceManagerUpload.md)
28+
- [Support for Additional Attributes](/cd3_automation_toolkit/documentation/user_guide/learn_more/SupportforAdditionalAttributes.md)
29+
12. [Automation Toolkit Learning Videos](/cd3_automation_toolkit/documentation/user_guide/LearningVideos.md)
30+
531
## Introduction
632
CD3 stands for <b>C</b>loud <b>D</b>eployment <b>D</b>esign <b>D</b>eliverable.
733
The CD3 Automation toolkit has been developed to help in automating the OCI resource object management.
834
<br><br>
9-
It reads input data in the form of CD3 Excel sheets and generates the terraform files instead of handling the task through the OCI console manually. The toolkit also reverse engineers the components in OCI back to the Excel sheet and Terraform configuration. This generated Terraform code can be used by the OCI Resource Manager or leveraged by the organisations’ CI/CD processes.
35+
It reads input data in the form of CD3 Excel sheet and generates the terraform files which can be used to provision the resources in OCI instead of handling the task through the OCI console manually. The toolkit also reverse engineers the components in OCI back to the Excel sheet and Terraform configuration. This generated Terraform code can be used by the OCI Resource Manager or leveraged by the organisations’ CI/CD processes.
1036
<br><br>
37+
<kbd>
1138
<img width="748" alt="Screenshot 2022-12-30 at 11 57 41 AM" src="https://user-images.githubusercontent.com/111430850/210614513-5d2e97a6-3c1e-4a2b-a793-3a1b6410c856.png">
39+
</kbd>
1240
<br>
1341

1442
#### OCI Services Currently Supported by CD3
@@ -25,51 +53,16 @@ It reads input data in the form of CD3 Excel sheets and generates the terraform
2553
| Developer Services | Resource Manager, Oracle Kubernetes Engine (OKE) |
2654
| CIS Landing Zone Compliance | Download CIS Report Script, Execute CIS Report Script, VCN Flow Logs, Cloud Guard, Object Storage, Key Vault, Budget |
2755

28-
`To ease the execution of toolkit, we have provided the steps to build an image which encloses the code base and its package dependencies. Follow the steps provided below to clone the repo and build the image.`
29-
<br>
30-
31-
## Getting Started
3256

33-
### Pre-requisites
57+
## Pre-requisites
3458
* Git
3559
* Any docker CLI compatible platform such as Docker or Rancher.
3660
* Local Directory - A directory in your local system that will be shared with the container to hold the generated Terraform files.
3761
* OCI Tenancy Access Requirement -
3862
Appropriate IAM policies must be in place for each of the resources that the user may try to create.
3963
Minimum requirement for the user to get started is to have the ability to read to the tenancy.
4064

41-
42-
### To clone the repo
43-
* Open your terminal and change the directory to the one where you want to download the git repo.
44-
* Run the git clone command as shown below:<br/>
45-
&nbsp; &nbsp; &nbsp; &nbsp; git clone https://github.com/oracle-devrel/cd3-automation-toolkit
46-
* Once the cloning command completes successfully, the repo will replicate to the local directory.
47-
48-
### To build an image
49-
50-
* Change directory to cd3-automation-toolkit(i.e. the cloned repo in your local).
51-
* Run <i>"docker build --platform linux/amd64 -t cd3toolkit:${image_tag} -f Dockerfile --pull --no-cache ."</i><br/>
52-
<br /><b>Note</b> : ${image_tag} should be replaced with suitable tag as per your requirements/standards.
53-
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The period at the end of the docker build command is required.
54-
55-
### To save the image (Optional)
56-
* Run <i>"docker save cd3toolkit:${image_tag} | gzip > cd3toolkit_${image_tag}.tar.gz"</i>
57-
58-
59-
### To run the CD3 container and exec into it
60-
* Run <i>"docker run --platform linux/amd64 -it -d -v <directory_in_local_system_where_the_files_must_be_generated>:/cd3user/tenancies <image_name>:<image_tag>"</i>
61-
* Run <i>"docker ps"</i>
62-
* Run <i>"docker exec -it <container_id> bash"</i>
63-
<br><br>
64-
Follow the toolkit docs i.e. from the section <i>"Configuring the Docker Container to connect to OCI Tenancy"</i> in
65-
<a href="https://github.com/oracle-devrel/cd3-automation-toolkit/blob/develop/cd3_automation_toolkit/documentation/user_guide/01%20CD3%20Automation%20Toolkit%20-%20End%20to%20End%20Process.pdf">CD3 Automation Tookit - End To End Process Documentation</a>. Please download the document from Github.
66-
<br>
67-
<i>CD3 Quick Start template can be found at <b><a href="https://github.com/oracle-devrel/cd3-automation-toolkit/blob/develop/cd3_automation_toolkit/example/CD3-CIS-template.xlsx">CD3 CIS Template</a></b></i>
68-
<br>
69-
<i>CD3 Sample Excel templates can be found at <b><a href="https://github.com/oracle-devrel/cd3-automation-toolkit/tree/develop/cd3_automation_toolkit/example">Excel Templates</a> </b></i>
70-
<br>
71-
<br>
72-
<b>Note</b> : <i>The above steps have been tested on Windows (Git Bash) and MacOS.</i><br/>
65+
[Click here](/cd3_automation_toolkit/documentation/user_guide/Launch_Docker_container.md) to get started and manage your OCI Infra!!!
7366

7467
## Contributing
7568
This project is open source. Please submit your contributions by raising an <b>Issue</b> or through <b>Discussion topic</b> in this repository. Currently, we do not accept any pull requests. Oracle appreciates any contributions that are made by the open source community.
@@ -81,4 +74,4 @@ Licensed under the Universal Permissive License (UPL), Version 1.0.
8174

8275
See [LICENSE](LICENSE) for more details.
8376

84-
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.
77+
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)