Skip to content

Commit 895ab70

Browse files
committed
First sample
1 parent a350ebe commit 895ab70

File tree

126 files changed

+2308
-9
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

+2308
-9
lines changed

README.md

Lines changed: 41 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,51 @@
55
## THIS IS A NEW, BLANK REPO THAT IS NOT READY FOR USE YET. PLEASE CHECK BACK SOON!
66

77
## Introduction
8-
MISSING
98

10-
## Getting Started
11-
MISSING
9+
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.
1210

13-
### Prerequisites
14-
MISSING
11+
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.
1512

16-
## Notes/Issues
17-
MISSING
13+
## OCI Devops examples
1814

19-
## URLs
20-
* Nothing at this time
15+
- [CICD with OCI Devops services - samples](./oci-pipeline-examples/README.md)
16+
- [OCI Devops Build service - samples](./oci-build-examples/README.md)
17+
- [OCI Devops Deployment service - samples](./oci-deployment-examples/README.md)
18+
- [OCI Source Code Management service - sample](./oci-coderepo-examples/README.md)
19+
20+
## Instruction to clone a specific example.
21+
22+
```
23+
$ git init <foldername>
24+
$ cd <Foldername>
25+
$ git remote add origin <url to this git repo>
26+
$ git config core.sparsecheckout true
27+
$ echo "example path/*">>.git/info/sparse-checkout
28+
$ git pull --depth=1 origin main
29+
```
30+
31+
A sample to clone a build-sample with oci sonarqube integration.
32+
33+
$ git init oci_devops_sonarqube
34+
$ cd oci_devops_sonarqube
35+
$ git remote add origin <url to this git repo>
36+
$ git config core.sparsecheckout true
37+
$ echo "oci-build-examples/oci_buildrunner_with_sonarqube/*">>.git/info/sparse-checkout
38+
$ git pull --depth=1 origin main
39+
$ ls -ltr */*
40+
$ ls -ltr */*
41+
-rw-r--r-- 1 rahulmr_in staff 202 Feb 22 14:33 oci_buildrunner_with_sonarqube/Dockerfile
42+
-rw-r--r-- 1 rahulmr_in staff 6313 Feb 22 14:33 oci_buildrunner_with_sonarqube/README.md
43+
-rwxr-xr-x 1 rahulmr_in staff 41 Feb 22 14:33 oci_buildrunner_with_sonarqube/build.sh
44+
-rw-r--r-- 1 rahulmr_in staff 3204 Feb 22 14:33 oci_buildrunner_with_sonarqube/build_spec.yaml
45+
-rw-r--r-- 1 rahulmr_in staff 1011 Feb 22 14:33 oci_buildrunner_with_sonarqube/deploy_spec.yaml
46+
-rw-r--r-- 1 rahulmr_in staff 53 Feb 22 14:33 oci_buildrunner_with_sonarqube/package.json
47+
-rwxr-xr-x 1 rahulmr_in staff 77 Feb 22 14:33 oci_buildrunner_with_sonarqube/run.sh
48+
-rw-r--r-- 1 rahulmr_in staff 2901 Feb 22 14:33 oci_buildrunner_with_sonarqube/server.js
49+
50+
oci_buildrunner_with_sonarqube/images:
51+
total 3136
52+
.....
2153

2254
## Contributing
2355
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.

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)