{"id":51116449,"url":"https://github.com/oracle-devrel/terraform-oci-arch-devops-cicd-instances","last_synced_at":"2026-06-24T22:30:31.972Z","repository":{"id":61217411,"uuid":"540541376","full_name":"oracle-devrel/terraform-oci-arch-devops-cicd-instances","owner":"oracle-devrel","description":"terraform-oci-arch-devops-cicd-instances","archived":false,"fork":false,"pushed_at":"2025-01-21T20:33:35.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":10,"default_branch":"main","last_synced_at":"2026-04-21T20:19:52.721Z","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.txt","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":"2022-09-23T17:08:53.000Z","updated_at":"2025-01-21T20:33:38.000Z","dependencies_parsed_at":"2025-01-21T21:25:53.263Z","dependency_job_id":"eeecbf8a-17af-4bf1-a99e-5cd4dac35542","html_url":"https://github.com/oracle-devrel/terraform-oci-arch-devops-cicd-instances","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"oracle-devrel/repo-template","purl":"pkg:github/oracle-devrel/terraform-oci-arch-devops-cicd-instances","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-devops-cicd-instances","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-devops-cicd-instances/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-devops-cicd-instances/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-devops-cicd-instances/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle-devrel","download_url":"https://codeload.github.com/oracle-devrel/terraform-oci-arch-devops-cicd-instances/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-devrel%2Fterraform-oci-arch-devops-cicd-instances/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:28.952Z","updated_at":"2026-06-24T22:30:31.955Z","avatar_url":"https://github.com/oracle-devrel.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-oci-arch-devops-cicd-instances\n\nRapid delivery of software is essential for efficiently running your applications in the cloud. Oracle DevOps service provides a continuous integration and deployment (CI/CD) platform for developers. You can use the DevOps service to easily build, test, and deploy software and applications on Oracle Cloud. DevOps build and deployment pipelines reduce change-driven errors and decrease the time customers spend on building and deploying releases. The service also provides a private Git repositories to store your code and supports connections to external code repositories.\n\nWhether you're migrating workloads to OCI (from on-premises or other clouds) or developing new applications on OCI, you can use the DevOps service to simplify your software delivery lifecycle!\n\nIn this reference architecture , we will be building and deploying a modern application to OCI compute instances.We will be using an application based on Graal Enterprise - Micronaut enabled java application.The application is exposed via an OCI loadbalancer to ensure a smooth shift of traffic during an active deployments.\n\n\nFor details of the architecture, see [Build a CI/CD pipeline by using Oracle Cloud Infrastructure DevOps service and OCI Instances](TBD)\n\n## Terraform Provider for Oracle Cloud Infrastructure\nThe OCI Terraform Provider is now available for automatic download through the Terraform Provider Registry.\nFor more information on how to get started view the [documentation](https://www.terraform.io/docs/providers/oci/index.html)\nand [setup guide](https://www.terraform.io/docs/providers/oci/guides/version-3-upgrade.html).\n\n* [Documentation](https://www.terraform.io/docs/providers/oci/index.html)\n* [OCI forums](https://cloudcustomerconnect.oracle.com/resources/9c8fa8f96f/summary)\n* [Github issues](https://github.com/terraform-providers/terraform-provider-oci/issues)\n* [Troubleshooting](https://www.terraform.io/docs/providers/oci/guides/guides/troubleshooting.html)\n\n## Deploy Using Oracle Resource Manager\n\n1. Click [![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?region=home\u0026zipUrl=https://github.com/oracle-devrel/terraform-oci-arch-devops-cicd-instances/releases/latest/download/terraform-oci-arch-devops-cicd-instances-stack-latest.zip)\n\n   If you aren't already signed in, when prompted, enter the tenancy and user credentials.\n\n2. Review and accept the terms and conditions.\n\n3. Select the region where you want to deploy the stack.\n\n4. Follow the on-screen prompts and instructions to create the stack.\n\n5. After creating the stack, click **Terraform Actions**, and select **Plan**.\n\n6. Wait for the job to be completed, and review the plan.\n\n   To make any changes, return to the Stack Details page, click **Edit Stack**, and make the required changes. Then, run the **Plan** action again.\n\n7. If no further changes are necessary, return to the Stack Details page, click **Terraform Actions**, and select **Apply**.\n\n### Validate the Deployment\n\n- Post the infra deployment , run a build run using `OCI Console` \u003e`Developer service`\u003e`OCI Devops project`\u003e`Project Name ` \u003e `Build pipeline` \u003e `Name of the build pipeline`\n\n- Validate the application using the loadbalancer's public ip address.\n\n\n## Deploy Using the Terraform CLI\n\n### Clone the Module\n\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-oci-arch-devops-cicd-with-functions\n    cd terraform-oci-arch-devops-cicd-with-functions\n    ls\n\n### Prerequisites\nFirst off, you'll need to do some pre-deploy setup.  That's all detailed [here](https://github.com/cloud-partners/oci-prerequisites).\n\nSecondly, create a `terraform.tfvars` file and populate with the following information:\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# Compartment\ncompartment_ocid = \"\u003ccompartment_ocid\u003e\"\n\n# OCI User and Authtoken\noci_user_name       = \"\u003coci_username\u003e \n# For a federated user (single sign-on with an identity provider), enter the username in the following format: TenancyName/Federation/UserName. \n# For example, if you use OCI's identity provider, your login would be, Acme/oracleidentitycloudservice/alice.jones@acme.com. \n#If you are using OCI's direct sign-in, enter the username in the following format: TenancyName/YourUserName. For example, Acme/alice_jones. Your password is the auth token you created previously.\n\noci_user_authtoken = \"\u003coci_user_authtoken\u003e\" \n# You can get the auth token from your Profile menu -\u003e click User Settings -\u003e On left side  click *Auth Tokens -\u003e Generate Token\n\n````\n\nDeploy:\n\n    terraform init\n    terraform plan\n    terraform apply\n\n\n### Validate the Deployment\n\n- Post the infra deployment , run a build run using `OCI Console` \u003e`Developer service`\u003e`OCI Devops project`\u003e`Project Name ` \u003e `Build pipeline` \u003e `Name of the build pipeline`\n\n- Validate the application using the loadbalancer's public ip address.\n\n\n## Destroy the Deployment\nDelete all the artifacts with in the `OCI Artifact repository` then follow terraform command and destroy.\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### Attribution \u0026 Credits\n- Rahul M R (https://github.com/RahulMR42)\n\n## License\nCopyright (c) 2024 Oracle and/or its affiliates.\nLicensed under the Universal Permissive License (UPL), Version 1.0.\nSee [LICENSE](LICENSE.txt) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-devrel%2Fterraform-oci-arch-devops-cicd-instances","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle-devrel%2Fterraform-oci-arch-devops-cicd-instances","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-devrel%2Fterraform-oci-arch-devops-cicd-instances/lists"}