{"id":51116402,"url":"https://github.com/oracle-devrel/terraform-jenkins-ci-cd-oci","last_synced_at":"2026-06-24T22:30:30.497Z","repository":{"id":166054728,"uuid":"641488120","full_name":"oracle-devrel/terraform-jenkins-ci-cd-oci","owner":"oracle-devrel","description":"terraform-jenkins-ci-cd-oci","archived":false,"fork":false,"pushed_at":"2024-07-23T21:01:34.000Z","size":247,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-04-21T22:33:49.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"upl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle-devrel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-16T15:13:19.000Z","updated_at":"2025-02-17T20:32:08.000Z","dependencies_parsed_at":"2024-05-16T17:46:48.920Z","dependency_job_id":null,"html_url":"https://github.com/oracle-devrel/terraform-jenkins-ci-cd-oci","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"oracle-devrel/repo-template","purl":"pkg:github/oracle-devrel/terraform-jenkins-ci-cd-oci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-jenkins-ci-cd-oci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-jenkins-ci-cd-oci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-jenkins-ci-cd-oci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-jenkins-ci-cd-oci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle-devrel","download_url":"https://codeload.github.com/oracle-devrel/terraform-jenkins-ci-cd-oci/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-jenkins-ci-cd-oci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34752465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-24T22:30:26.450Z","updated_at":"2026-06-24T22:30:30.487Z","avatar_url":"https://github.com/oracle-devrel.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-jenkins-ci-cd-oci\n\n[![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_terraform-jenkins-ci-cd-oci)](https://sonarcloud.io/dashboard?id=oracle-devrel_terraform-jenkins-ci-cd-oci)\n\nDeploy a Jenkins CI/CD pipeline using Docker containers on Oracle Linux VM\n\n\n## Reference Architecture \nThe final reference architecture after the deployment and some key components are described below.\n\n![Reference Architecture](https://github.com/oracle-devrel/terraform-jenkins-ci-cd-oci/blob/main/Image/Architecture.png)\n\n\n## Prerequisites\n\n- Permission to `manage` the following types of resources in your Oracle Cloud Infrastructure tenancy: `vcns`, `internet-gateways`, `route-tables`, `network-security-groups`, `subnets`, and `instances`.\n\n- Quota to create the following resources: 1 VCN, 1 subnet, 1 Internet Gateway, 1 NAT Gateway, 2 route rules, and 1 compute instance.\n\nIf you don't have the required permissions and quota, contact your tenancy administrator. See [Policy Reference](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Reference/policyreference.htm), [Service Limits](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/servicelimits.htm), [Compartment Quotas](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcequotas.htm).\n\n## Deployment Options\nThe pipeline can be deployed on [Oracle Cloud Infrastructure][oci] using the below deployment options:\n\n1. [Terraform][tf] \n2. [Resource Manager][orm_landing] by clicking the following button  [![Deploy to Oracle Cloud][magic_button]][magic_rm_stack]\n\n\n## Deploy Using Oracle Resource Manager\nThe steps below guide you through deploying the pipeline on your tenancy using the OCI Resource Manager:\n\n1. Download the [`jenkins-stack-configuration.zip`](https://github.com/oracle-devrel/terraform-jenkins-ci-cd-oci/releases/latest/download/jenkins-stack-configuration.zip) file.\n2. [Login](https://cloud.oracle.com/resourcemanager/stacks/create) to Oracle Cloud Infrastructure to import the stack\n    \u003e `Home \u003e Developer Services \u003e Resource Manager \u003e Stacks \u003e Create Stack`\n3. Upload the `jenkins-stack-configuration.zip` file that was downloaded earlier, and provide a name and description for the stack\n4. Configure the stack\n   1. **Jenkins username** - Provide a username for jenkins login\n   2. **Jenkins password** - Provide a password for jenkins login\n5. Review the information and click Create button.\n   \u003e The upload can take a few seconds, after which you will be taken to the newly created stack\n6. On Stack details page, click on `Terraform Actions \u003e Apply`\n\nThe private ssh key for the Linux VM will be displayed along with the public ip of the server on the Application Information tab.\n\n## Deploy Using the Terraform CLI\n\n### Clone the Repository\nNow, you'll want a local copy of this repo. You can make that with the commands:\n\n    git clone https://github.com/oracle-devrel/terraform-jenkins-ci-cd-oci\n    cd Jenkins-CI-CD-OCI\n    ls\n\n2. Create a `terraform.tfvars` file, and specify the following variables:\n\n```\n# Authentication\ntenancy_ocid         = \"\u003ctenancy_ocid\u003e\"\nuser_ocid            = \"\u003cuser_ocid\u003e\"\nfingerprint          = \"\u003cfinger_print\u003e\"\nprivate_key_path     = \"\u003cpem_private_key_path\u003e\"\n\n# Region\nregion = \"\u003coci_region\u003e\"\n\n# Availability Domain \navailability_domain_name = \"\u003cavailability_domain_name\u003e\"\n\n# Compartment\ncompartment_ocid = \"\u003ccompartment_ocid\u003e\"\n```\n\n### Create the Resources\nRun the following commands:\n\n    terraform init\n    terraform plan\n    terraform apply\n\n### Destroy the Deployment\nWhen you no longer need the deployment, you can run this command to destroy the resources:\n\n    terraform destroy\n\n## Contributing\nThis project is open source.  Please submit your contributions by forking this repository and submitting a pull request!  Oracle appreciates any contributions that are made by the open source community.\n\n## License\nCopyright (c) 2024 Oracle and/or its affiliates.\n\nLicensed under the Universal Permissive License (UPL), Version 1.0.\n\nSee [LICENSE](LICENSE) for more details.\n\nORACLE 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. \n\n\n[oci]: https://cloud.oracle.com\n[orm]: https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm\n[tf]: https://www.terraform.io\n[orm_landing]:https://www.oracle.com/cloud/systems-management/resource-manager/\n[magic_button]: https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg\n[magic_rm_stack]: https://cloud.oracle.com/resourcemanager/stacks/create?region=home\u0026zipUrl=https://github.com/oracle-devrel/terraform-jenkins-ci-cd-oci/releases/latest/download/jenkins-stack-configuration.zip\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-devrel%2Fterraform-jenkins-ci-cd-oci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle-devrel%2Fterraform-jenkins-ci-cd-oci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-devrel%2Fterraform-jenkins-ci-cd-oci/lists"}