ci(azure-pipelines): dont use azure artifacts; fix node ca certs
This commit is contained in:
parent
47a7fe15fd
commit
8b37d788a7
@ -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
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user