Loading ci-templates/default.yml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -7,7 +7,7 @@ stages: .default: .default: variables: variables: DEFAULT_VERSION: "1.2.0-SNAPSHOT" DEFAULT_VERSION: "1.0.0-SNAPSHOT" before_script: before_script: - | - | if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then Loading kubernetes/helm/openslice/Chart.yaml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -20,4 +20,4 @@ version: 0.1.0 # This is the version number of the application being deployed. This version number should be # 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 # 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. # follow Semantic Versioning. They should reflect the version the application is using. appVersion: 1.16.0 appVersion: 1.0.0-SNAPSHOT kubernetes/helm/openslice/files/realm-export.json→kubernetes/helm/openslice/files/keycloak-init/realm-export.json +0 −0 File moved. View file kubernetes/helm/openslice/files/mysql-init/01-databases.sql 0 → 100644 +11 −0 Original line number Original line Diff line number Diff line # create databases CREATE DATABASE IF NOT EXISTS `{{ .Values.oscreds.mysql.openslicedb | default "osdb" }}`; CREATE DATABASE IF NOT EXISTS `{{ .Values.oscreds.mysql.keycloak.database | default "keycloak" }}`; # create portal user and grant rights CREATE USER '{{ .Values.oscreds.mysql.portal.username | default "portaluser" }}'@'localhost' IDENTIFIED BY '{{ .Values.oscreds.mysql.portal.password | default "12345" }}'; GRANT ALL PRIVILEGES ON *.* TO '{{ .Values.oscreds.mysql.portal.username | default "portaluser" }}'@'%' IDENTIFIED BY '{{ .Values.oscreds.mysql.portal.password | default "12345" }}'; # create keycloak user and grant rights CREATE USER '{{ .Values.oscreds.mysql.keycloak.username | default "keycloak" }}'@'localhost' IDENTIFIED BY '{{ .Values.oscreds.mysql.keycloak.password | default "password" }}'; GRANT ALL PRIVILEGES ON *.* TO '{{ .Values.oscreds.mysql.keycloak.username | default "keycloak" }}'@'%' IDENTIFIED BY '{{ .Values.oscreds.mysql.keycloak.password | default "password" }}'; kubernetes/helm/openslice/files/org.etsi.osl.portal.web/src/js/config.js.default 0 → 100644 +14 −0 Original line number Original line Diff line number Diff line var appConfig = angular.module('portalwebapp.config',[]); appConfig.factory('APIEndPointService', function() { return { TITLE: "Openslice demo", WIKI: "{{ .Values.rooturl }}", BUGZILLA: "{{ .Values.rooturl }}/bugzilla/", STATUS: "{{ .Values.rooturl }}/", APIURL: "{{ .Values.rooturl }}", WEBURL: "{{ .Values.rooturl }}/nfvportal", APIOAUTHURL: "{{ .Values.rooturl }}/auth/realms/openslice", APITMFURL: "{{ .Values.rooturl }}/tmf-api/serviceCatalogManagement/v4" }; }); Loading
ci-templates/default.yml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -7,7 +7,7 @@ stages: .default: .default: variables: variables: DEFAULT_VERSION: "1.2.0-SNAPSHOT" DEFAULT_VERSION: "1.0.0-SNAPSHOT" before_script: before_script: - | - | if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then Loading
kubernetes/helm/openslice/Chart.yaml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -20,4 +20,4 @@ version: 0.1.0 # This is the version number of the application being deployed. This version number should be # 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 # 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. # follow Semantic Versioning. They should reflect the version the application is using. appVersion: 1.16.0 appVersion: 1.0.0-SNAPSHOT
kubernetes/helm/openslice/files/realm-export.json→kubernetes/helm/openslice/files/keycloak-init/realm-export.json +0 −0 File moved. View file
kubernetes/helm/openslice/files/mysql-init/01-databases.sql 0 → 100644 +11 −0 Original line number Original line Diff line number Diff line # create databases CREATE DATABASE IF NOT EXISTS `{{ .Values.oscreds.mysql.openslicedb | default "osdb" }}`; CREATE DATABASE IF NOT EXISTS `{{ .Values.oscreds.mysql.keycloak.database | default "keycloak" }}`; # create portal user and grant rights CREATE USER '{{ .Values.oscreds.mysql.portal.username | default "portaluser" }}'@'localhost' IDENTIFIED BY '{{ .Values.oscreds.mysql.portal.password | default "12345" }}'; GRANT ALL PRIVILEGES ON *.* TO '{{ .Values.oscreds.mysql.portal.username | default "portaluser" }}'@'%' IDENTIFIED BY '{{ .Values.oscreds.mysql.portal.password | default "12345" }}'; # create keycloak user and grant rights CREATE USER '{{ .Values.oscreds.mysql.keycloak.username | default "keycloak" }}'@'localhost' IDENTIFIED BY '{{ .Values.oscreds.mysql.keycloak.password | default "password" }}'; GRANT ALL PRIVILEGES ON *.* TO '{{ .Values.oscreds.mysql.keycloak.username | default "keycloak" }}'@'%' IDENTIFIED BY '{{ .Values.oscreds.mysql.keycloak.password | default "password" }}';
kubernetes/helm/openslice/files/org.etsi.osl.portal.web/src/js/config.js.default 0 → 100644 +14 −0 Original line number Original line Diff line number Diff line var appConfig = angular.module('portalwebapp.config',[]); appConfig.factory('APIEndPointService', function() { return { TITLE: "Openslice demo", WIKI: "{{ .Values.rooturl }}", BUGZILLA: "{{ .Values.rooturl }}/bugzilla/", STATUS: "{{ .Values.rooturl }}/", APIURL: "{{ .Values.rooturl }}", WEBURL: "{{ .Values.rooturl }}/nfvportal", APIOAUTHURL: "{{ .Values.rooturl }}/auth/realms/openslice", APITMFURL: "{{ .Values.rooturl }}/tmf-api/serviceCatalogManagement/v4" }; });