Skip to content

Commit eb727e7

Browse files
authored
Merge pull request #2 from oracle-devrel/development
First sample
2 parents a350ebe + d830def commit eb727e7

File tree

126 files changed

+2317
-14
lines changed

Some content is hidden

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

126 files changed

+2317
-14
lines changed

README.md

Lines changed: 45 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,53 @@
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_oci-devops-examples)](https://sonarcloud.io/dashboard?id=oracle-devrel_oci-devops-examples)
44

5-
## THIS IS A NEW, BLANK REPO THAT IS NOT READY FOR USE YET. PLEASE CHECK BACK SOON!
65

76
## Introduction
8-
MISSING
97

10-
## Getting Started
11-
MISSING
12-
13-
### Prerequisites
14-
MISSING
15-
16-
## Notes/Issues
17-
MISSING
18-
19-
## URLs
20-
* Nothing at this time
8+
Rapid 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 OCI 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.
9+
10+
The service also provides private Git repositories to store your code and it supports connections to external code repositories. Whether you're migrating workloads to Oracle Cloud Infrastructure (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.
11+
12+
## OCI Devops examples
13+
14+
- [CICD with OCI Devops services - samples](./oci-pipeline-examples/README.md)
15+
- [OCI Devops Build service - samples](./oci-build-examples/README.md)
16+
- [OCI Devops Deployment service - samples](./oci-deployment-examples/README.md)
17+
- [OCI Source Code Management service - sample](./oci-coderepo-examples/README.md)
18+
19+
## Instruction to clone a specific example.
20+
21+
```
22+
$ git init <foldername>
23+
$ cd <Foldername>
24+
$ git remote add origin <url to this git repo>
25+
$ git config core.sparsecheckout true
26+
$ echo "example path/*">>.git/info/sparse-checkout
27+
$ git pull --depth=1 origin main
28+
```
29+
30+
A sample to clone a build-sample with oci sonarqube integration.
31+
32+
$ git init oci_devops_sonarqube
33+
$ cd oci_devops_sonarqube
34+
$ git remote add origin <url to this git repo>
35+
$ git config core.sparsecheckout true
36+
$ echo "oci-build-examples/oci_buildrunner_with_sonarqube/*">>.git/info/sparse-checkout
37+
$ git pull --depth=1 origin main
38+
$ ls -ltr */*
39+
$ ls -ltr */*
40+
-rw-r--r-- 1 rahulmr_in staff 202 Feb 22 14:33 oci_buildrunner_with_sonarqube/Dockerfile
41+
-rw-r--r-- 1 rahulmr_in staff 6313 Feb 22 14:33 oci_buildrunner_with_sonarqube/README.md
42+
-rwxr-xr-x 1 rahulmr_in staff 41 Feb 22 14:33 oci_buildrunner_with_sonarqube/build.sh
43+
-rw-r--r-- 1 rahulmr_in staff 3204 Feb 22 14:33 oci_buildrunner_with_sonarqube/build_spec.yaml
44+
-rw-r--r-- 1 rahulmr_in staff 1011 Feb 22 14:33 oci_buildrunner_with_sonarqube/deploy_spec.yaml
45+
-rw-r--r-- 1 rahulmr_in staff 53 Feb 22 14:33 oci_buildrunner_with_sonarqube/package.json
46+
-rwxr-xr-x 1 rahulmr_in staff 77 Feb 22 14:33 oci_buildrunner_with_sonarqube/run.sh
47+
-rw-r--r-- 1 rahulmr_in staff 2901 Feb 22 14:33 oci_buildrunner_with_sonarqube/server.js
48+
49+
oci_buildrunner_with_sonarqube/images:
50+
total 3136
51+
.....
2152

2253
## Contributing
2354
This 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.
@@ -29,4 +60,4 @@ Licensed under the Universal Permissive License (UPL), Version 1.0.
2960

3061
See [LICENSE](LICENSE) for more details.
3162

32-
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.
63+
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.

oci-build-examples/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
All about OCI devops build samples ..
2+
=======
3+
4+
<details>
5+
<summary>Security & Quality - click to expand</summary>
6+
7+
* [Integrate sonarqube with OCI devops build runner.](./oci_buildrunner_with_sonarqube/)
8+
9+
</details>
10+
11+
12+
13+
### Back to examples.
14+
----
15+
16+
- 🏝️ [Back to OCI Devops sample](../README.md)
17+
18+
19+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
images
2+
images/*
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
pip-wheel-metadata/
24+
share/python-wheels/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
MANIFEST
29+
30+
# PyInstaller
31+
# Usually these files are written by a python script from a template
32+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
33+
*.manifest
34+
*.spec
35+
36+
# Installer logs
37+
pip-log.txt
38+
pip-delete-this-directory.txt
39+
40+
# Unit test / coverage reports
41+
htmlcov/
42+
.tox/
43+
.nox/
44+
.coverage
45+
.coverage.*
46+
.cache
47+
nosetests.xml
48+
coverage.xml
49+
*.cover
50+
*.py,cover
51+
.hypothesis/
52+
.pytest_cache/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
target/
76+
77+
# Jupyter Notebook
78+
.ipynb_checkpoints
79+
80+
# IPython
81+
profile_default/
82+
ipython_config.py
83+
84+
# pyenv
85+
.python-version
86+
87+
# pipenv
88+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
90+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
91+
# install all needed dependencies.
92+
#Pipfile.lock
93+
94+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
95+
__pypackages__/
96+
97+
# Celery stuff
98+
celerybeat-schedule
99+
celerybeat.pid
100+
101+
# SageMath parsed files
102+
*.sage.py
103+
104+
# Environments
105+
.env
106+
.venv
107+
env/
108+
venv/
109+
ENV/
110+
env.bak/
111+
venv.bak/
112+
113+
# Spyder project settings
114+
.spyderproject
115+
.spyproject
116+
117+
# Rope project settings
118+
.ropeproject
119+
120+
# mkdocs documentation
121+
/site
122+
123+
# mypy
124+
.mypy_cache/
125+
.dmypy.json
126+
dmypy.json
127+
128+
# Pyre type checker
129+
.pyre/
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM ghcr.io/graalvm/graalvm-ce:latest
2+
3+
WORKDIR /sample-polyglot-app
4+
5+
COPY package.json .
6+
7+
RUN gu install nodejs
8+
RUN gu install R
9+
10+
COPY . .
11+
12+
CMD ["node", "--jvm", "--polyglot", "server.js"]
13+
14+
15+

0 commit comments

Comments
 (0)