diff --git a/ci/helm-charts/assets_server/Chart.lock b/ci/helm-charts/assets_server/Chart.lock index 6ad20e088..bcc66d642 100644 --- a/ci/helm-charts/assets_server/Chart.lock +++ b/ci/helm-charts/assets_server/Chart.lock @@ -2,5 +2,5 @@ dependencies: - name: owner-info repository: oci://keppel.eu-de-1.cloud.sap/ccloud-helm version: 1.0.0 -digest: sha256:6c7a0e8b21abdaecf3124234d79457638aff93c3f51c9cedd56500d24eb652e0 -generated: "2024-03-21T12:16:50.704837+01:00" +digest: sha256:ca7c19b16632950e17c13dc4e5dbda8c7006ad9178f511fefe25bc57e69ad033 +generated: "2024-08-30T17:31:46.336626848+02:00" diff --git a/ci/helm-charts/assets_server/charts/owner-info-0.2.0.tgz b/ci/helm-charts/assets_server/charts/owner-info-0.2.0.tgz deleted file mode 100644 index 3978896d8..000000000 Binary files a/ci/helm-charts/assets_server/charts/owner-info-0.2.0.tgz and /dev/null differ diff --git a/ci/helm-charts/assets_server/charts/owner-info-1.0.0.tgz b/ci/helm-charts/assets_server/charts/owner-info-1.0.0.tgz new file mode 100644 index 000000000..697004d32 Binary files /dev/null and b/ci/helm-charts/assets_server/charts/owner-info-1.0.0.tgz differ diff --git a/ci/pipeline.yaml.erb b/ci/pipeline.yaml.erb index 799fffc7d..36ae08ced 100644 --- a/ci/pipeline.yaml.erb +++ b/ci/pipeline.yaml.erb @@ -10,26 +10,26 @@ } ASSETS = { - "auth": { type: "package", path: "packages/auth" }, - "assets-overview": { type: "package", path: "packages/assets-overview"}, - "user-activity": { type: "package", path: "packages/user-activity"}, - "volta": { type: "package", path: "packages/volta"}, - "whois": { type: "package", path: "packages/whois"}, - "widget-loader": { type: "package", path: "packages/widget-loader"}, - "dashboard": { type: "package", path: "packages/dashboard"}, - "playground": { type: "package", path: "packages/playground"}, + "auth": { type: "package", path: "packages/auth", monorepo: false }, + "assets-overview": { type: "package", path: "packages/assets-overview", monorepo: false}, + "user-activity": { type: "package", path: "packages/user-activity", monorepo: false}, + "volta": { type: "package", path: "packages/volta", monorepo: false}, + "whois": { type: "package", path: "packages/whois", monorepo: false}, + "widget-loader": { type: "package", path: "packages/widget-loader", monorepo: false}, + "dashboard": { type: "package", path: "packages/dashboard", monorepo: false}, + "playground": { type: "package", path: "packages/playground", monorepo: false}, # "policy-engine": { type: "package", path: "packages/policy-engine"}, } CLOUDOPERATOR_ASSETS = { - "example": { type: "app", path: "apps/example"}, - "communicator": { type: "package", path: "packages/communicator"}, - "messages-provider": { type: "package", path: "packages/messages-provider"}, - "ui-components": { type: "package", path: "packages/ui-components"}, - "oauth": { type: "package", path: "packages/oauth"}, - "url-state-provider": { type: "package", path: "packages/url-state-provider"}, - "url-state-router": { type: "package", path: "packages/url-state-router"}, - "utils": { type: "package", path: "packages/utils"}, + "example": { type: "app", path: "apps/example", monorepo: true}, + "communicator": { type: "package", path: "packages/communicator", monorepo: true}, + "messages-provider": { type: "package", path: "packages/messages-provider", monorepo: true}, + "ui-components": { type: "package", path: "packages/ui-components", monorepo: true}, + "oauth": { type: "package", path: "packages/oauth", monorepo: true}, + "url-state-provider": { type: "package", path: "packages/url-state-provider", monorepo: true}, + "url-state-router": { type: "package", path: "packages/url-state-router", monorepo: true}, + "utils": { type: "package", path: "packages/utils", monorepo: true}, } HA_REGIONS = ["eu-de-1","eu-de-2","eu-nl-1","ap-ae-1","ap-jp-2","ap-au-1","la-br-1","na-us-1","na-us-2"] @@ -312,11 +312,17 @@ jobs: - -c - | set -e - ls -la + WORKDIR=$(pwd) + <% if details[:monorepo]%> cd ./latest - npm ci --omit=dev - cd ../ + npm ci + <% else %> + cd ./latest/<%= details[:path] %> + npm ci + <% end %> + cd $WORKDIR/latest echo "Done" + ls -la /juno/ci/scripts/asset_build.sh --asset-name <%= name %> --asset-type <%= details[:type] %> --output-path ../build_result <% if details[:type] == "lib" %> --last-build-path ../last_build <% end %> - task: sync file: juno.git/ci/shared/swift-upload.yaml