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:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
- script: |
|
- script: |
|
||||||
printf 'registry=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/\n\nalways-auth=true' > .npmrc
|
# printf 'registry=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/\n\nalways-auth=true' > .npmrc
|
||||||
npm login
|
# npm login
|
||||||
make -- --dependencies-frontend IN_CONTAINER=true IN_CI=true PROJECT_DIR=${PROJECT_DIR}
|
make -- --dependencies-frontend IN_CONTAINER=true IN_CI=true PROJECT_DIR=${PROJECT_DIR}
|
||||||
name: frontendDependencies
|
name: frontendDependencies
|
||||||
- task: Bash@3
|
- 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
|
# configure npm to use given proxy if specified
|
||||||
RUN if [ ! -z "${HTTP_PROXY}" ]; then npm config set proxy ${HTTP_PROXY}; fi
|
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
|
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.
|
# 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.
|
# in CI-pipelines these two should be different, so that the container caches the compilation results.
|
||||||
|
|||||||
Reference in New Issue
Block a user