From 8b37d788a746727a7eff4ef3c42ac5d1fa714f17 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Tue, 21 Jan 2025 10:03:07 +0100 Subject: [PATCH] ci(azure-pipelines): dont use azure artifacts; fix node ca certs --- azure-pipelines.yaml | 4 ++-- docker/frontend/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 97bab4ba0..980619cc9 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -99,8 +99,8 @@ jobs: steps: - checkout: self - script: | - printf 'registry=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/\n\nalways-auth=true' > .npmrc - npm login + # printf 'registry=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/\n\nalways-auth=true' > .npmrc + # npm login make -- --dependencies-frontend IN_CONTAINER=true IN_CI=true PROJECT_DIR=${PROJECT_DIR} name: frontendDependencies - task: Bash@3 diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile index 047146cb9..d928f4411 100644 --- a/docker/frontend/Dockerfile +++ b/docker/frontend/Dockerfile @@ -18,7 +18,7 @@ RUN apt-get -y update && apt-get -y install imagemagick # configure npm to use given proxy if specified RUN if [ ! -z "${HTTP_PROXY}" ]; then npm config set proxy ${HTTP_PROXY}; fi RUN if [ ! -z "${FRAPORT_NOPROXY}" ]; then npm config set noproxy "${FRAPORT_NOPROXY}"; fi -ENV NODE_EXTRA_CA_CERTS: "/etc/ssl/certs/ca-certificates.crt" +ENV NODE_EXTRA_CA_CERTS="/etc/ssl/certs/ca-certificates.crt" # locally these two should be identical, so that compilation results are written out into the file dir. # in CI-pipelines these two should be different, so that the container caches the compilation results.