Loading .gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ include: - ci-templates/default.yml - ci-templates/build.yml rules: - if: '$CI_COMMIT_REF_PROTECTED && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' - if: '$CI_COMMIT_REF_PROTECTED == "true" && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' - project: osl/code/org.etsi.osl.main ref: develop Loading @@ -29,7 +29,7 @@ include: - ci-templates/default.yml - ci-templates/build_unprotected.yml rules: - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && !$CI_COMMIT_REF_PROTECTED' - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_REF_PROTECTED == "false"' maven_build: extends: .maven_build Loading Dockerfile +2 −2 Original line number Diff line number Diff line Loading @@ -2,5 +2,5 @@ FROM ibm-semeru-runtimes:open-17.0.7_7-jdk MAINTAINER openslice.io RUN mkdir /opt/shareclasses RUN mkdir -p /opt/openslice/lib/ COPY target/org.etsi.osl.cridge-1.0.0-exec.jar /opt/openslice/lib/ CMD ["java", "-Xshareclasses:cacheDir=/opt/shareclasses", "-jar", "/opt/openslice/lib/org.etsi.osl.cridge-1.0.0-exec.jar"] COPY target/org.etsi.osl.cridge-1.1.0-exec.jar /opt/openslice/lib/ CMD ["java", "-Xshareclasses:cacheDir=/opt/shareclasses", "-jar", "/opt/openslice/lib/org.etsi.osl.cridge-1.1.0-exec.jar"] helm/cridge/.helmignore 0 → 100644 +23 −0 Original line number Diff line number Diff line # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *.orig *~ # Various IDEs .project .idea/ *.tmproj .vscode/ helm/cridge/Chart.yaml 0 → 100644 +23 −0 Original line number Diff line number Diff line apiVersion: v2 name: cridge description: Cridge Helm chart for Kubernetes # A chart can be either an 'application' or a 'library' chart. # # Application charts are a collection of templates that can be packaged into versioned archives # to be deployed. # # Library charts provide useful utilities or functions for the chart developer. They're included as # a dependency of application charts to inject those utilities and functions into the rendering # pipeline. Library charts do not define any templates and therefore cannot be deployed. type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) version: 1.0.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. appVersion: 2024Q4-SNAPSHOT helm/cridge/files/org.etsi.osl.cridge/kubeconfig.yaml.empty 0 → 100644 +19 −0 Original line number Diff line number Diff line apiVersion: v1 kind: Config clusters: - name: development-cluster cluster: certificate-authority: path/to/ca.crt # Path to certificate authority file server: https://123.45.67.89:6443 # Cluster API server address contexts: - name: dev-user@development-cluster context: cluster: development-cluster namespace: development # Default namespace user: dev-user current-context: dev-user@development-cluster users: - name: dev-user user: client-certificate: path/to/cert.crt # Path to the client certificate client-key: path/to/key.key # Path to the client key Loading
.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ include: - ci-templates/default.yml - ci-templates/build.yml rules: - if: '$CI_COMMIT_REF_PROTECTED && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' - if: '$CI_COMMIT_REF_PROTECTED == "true" && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' - project: osl/code/org.etsi.osl.main ref: develop Loading @@ -29,7 +29,7 @@ include: - ci-templates/default.yml - ci-templates/build_unprotected.yml rules: - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && !$CI_COMMIT_REF_PROTECTED' - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_REF_PROTECTED == "false"' maven_build: extends: .maven_build Loading
Dockerfile +2 −2 Original line number Diff line number Diff line Loading @@ -2,5 +2,5 @@ FROM ibm-semeru-runtimes:open-17.0.7_7-jdk MAINTAINER openslice.io RUN mkdir /opt/shareclasses RUN mkdir -p /opt/openslice/lib/ COPY target/org.etsi.osl.cridge-1.0.0-exec.jar /opt/openslice/lib/ CMD ["java", "-Xshareclasses:cacheDir=/opt/shareclasses", "-jar", "/opt/openslice/lib/org.etsi.osl.cridge-1.0.0-exec.jar"] COPY target/org.etsi.osl.cridge-1.1.0-exec.jar /opt/openslice/lib/ CMD ["java", "-Xshareclasses:cacheDir=/opt/shareclasses", "-jar", "/opt/openslice/lib/org.etsi.osl.cridge-1.1.0-exec.jar"]
helm/cridge/.helmignore 0 → 100644 +23 −0 Original line number Diff line number Diff line # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *.orig *~ # Various IDEs .project .idea/ *.tmproj .vscode/
helm/cridge/Chart.yaml 0 → 100644 +23 −0 Original line number Diff line number Diff line apiVersion: v2 name: cridge description: Cridge Helm chart for Kubernetes # A chart can be either an 'application' or a 'library' chart. # # Application charts are a collection of templates that can be packaged into versioned archives # to be deployed. # # Library charts provide useful utilities or functions for the chart developer. They're included as # a dependency of application charts to inject those utilities and functions into the rendering # pipeline. Library charts do not define any templates and therefore cannot be deployed. type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) version: 1.0.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. appVersion: 2024Q4-SNAPSHOT
helm/cridge/files/org.etsi.osl.cridge/kubeconfig.yaml.empty 0 → 100644 +19 −0 Original line number Diff line number Diff line apiVersion: v1 kind: Config clusters: - name: development-cluster cluster: certificate-authority: path/to/ca.crt # Path to certificate authority file server: https://123.45.67.89:6443 # Cluster API server address contexts: - name: dev-user@development-cluster context: cluster: development-cluster namespace: development # Default namespace user: dev-user current-context: dev-user@development-cluster users: - name: dev-user user: client-certificate: path/to/cert.crt # Path to the client certificate client-key: path/to/key.key # Path to the client key