Skip to content

Commit d4f0962

Browse files
authored
Merge pull request #26 from oracle-devrel/adm
Adm
2 parents 400be42 + 80fa5bc commit d4f0962

Some content is hidden

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

44 files changed

+1266
-7
lines changed

AIO.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ All in One reference for samples - In Alphabetical (A to Z) order.
33

44
- Build Caching - https://github.com/oracle-devrel/oci-devops-examples/tree/main/oci-build-examples/oci-build-caching
55
- Build Native image with Graal VM Enterprise edition - https://github.com/oracle-devrel/oci-devops-examples/tree/main/oci-build-examples/oci_devops_build_with_graalenterprise
6+
- Build a micronaut restapi application with Graal VM Enterprise - https://github.com/oracle-devrel/oci-devops-examples/tree/main/oci-build-examples/oci_devops_graalee_micronaut
67
- Build and Deploy a Golan application using OCI Devops - https://github.com/oracle-devrel/oci-devops-examples/blob/main/oci-pipeline-examples/oci-devops-golan-sample
78
- Build and Deploy a RUST application using OCI Devops - https://github.com/oracle-devrel/oci-devops-examples/blob/main/oci-pipeline-examples/oci-devops-cicd-rust-sample
89
- Build and run a OCI devops pipeline with JAVA and Graal VM framework. - https://github.com/oracle-devrel/oci-devops-examples/blob/main/oci-pipeline-examples/oci-java-graalvm-devops-example
@@ -21,4 +22,4 @@ All in One reference for samples - In Alphabetical (A to Z) order.
2122
- Integrate GITLAB.com repo with OCI Devops . - https://github.com/oracle-devrel/oci-devops-examples/blob/main/oci-coderepo-examples/oci-devops-coderepo-with-gitlab
2223
- Integrate sonarqube with OCI devops build runner. - https://github.com/oracle-devrel/oci-devops-examples/tree/main/oci-build-examples/oci_buildrunner_with_sonarqube
2324
- OCI Policy management using terraform - https://github.com/oracle-devrel/oci-devops-examples/blob/main/oci-config-examples/oci_devops_policy_dg_terraform
24-
- Scanning code for vulnerabilities for Maven packages - https://github.com/oracle-devrel/oci-devops-examples/tree/main/oci-build-examples/oci-devops-vulnerability-audit-management
25+
- Scanning code for vulnerabilities for Maven packages - https://github.com/oracle-devrel/oci-devops-examples/tree/main/oci-build-examples/oci-devops-vulnerability-audit-management

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ The service also provides private Git repositories to store your code and it sup
1111

1212
## OCI Devops examples (Catogorical view )
1313

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-
- [OCI Devops Policies and Groups - sample](./oci-config-examples/README.md)
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+
- [OCI Devops Policies and Groups - sample](./oci-config-examples/README.md)
1919

2020
## All samples (A to Z sorted order)
2121

22-
- [All the published samples of OCI-devops](AIO.md)
22+
- [🌟 All the published samples of OCI-devops](AIO.md)
2323

2424
## Instruction to clone a specific example.
2525

oci-build-examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ All about OCI devops build samples ..
1818
<summary>Graal VM Enterprise - click to expand</summary>
1919

2020
* [Build a native executable application with Graal VM Enterprise](./oci_devops_build_with_graalenterprise/)
21+
* [Build a micronaut restapi application with Graal VM Enterprise](./oci_devops_graalee_micronaut/)
2122

2223
</details>
2324

oci-build-examples/oci_devops_build_with_graalenterprise/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ ALL {resource.type = 'devopsrepository', resource.compartment.id = 'COMPARMENT O
5656
```markdown
5757
Allow dynamic-group "NAME OF THE DynamicGroup" to manage repos in compartment "COMPARTMENT NAME"
5858
Allow dynamic-group "NAME OF THE DynamicGroup" to use ons-topics in compartment "COMPARTMENT NAME"
59+
60+
Allow dynamic-group "NAME OF THE DynamicGroup" to manage repos in compartment "COMPARTMENT NAME"
5961
```
6062

6163
- Switch back to OCI DevOps Project and create an OCI Code repo - https://docs.oracle.com/en-us/iaas/Content/devops/using/create_repo.htm#create_repo
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
# This is a Dockerfile to create a small runtime container image by
3+
# packaging the Micronaut app native executable as a “mostly static”
4+
# native image which statically links everything except libc.
5+
# Statically linking all your libraries except glibc ensures your
6+
# application has all the libraries it needs to run on any
7+
# Linux glibc-based distribution like "gcr.io/distroless/base".
8+
# The application runtime image size is only 82.5 MB.
9+
#
10+
# Reference: https://www.graalvm.org/22.1/reference-manual/native-image/StaticImages/#build-mostly-static-native-image
11+
#
12+
13+
## Begin: Option 1
14+
# FROM gcr.io/distroless/base AS runtime
15+
## End: Option 1
16+
17+
## Begin: Option 2
18+
FROM frolvlad/alpine-glibc:alpine-3.12
19+
RUN apk update && apk add libstdc++
20+
## End: Option 2
21+
22+
ARG APP_FILE
23+
EXPOSE 8080
24+
WORKDIR /home/app
25+
26+
COPY target/${APP_FILE} app
27+
ENTRYPOINT ["./app"]

0 commit comments

Comments
 (0)