chore(gitlab-ci): ...

This commit is contained in:
Gregor Kleen 2021-09-14 12:51:32 +02:00
parent 7d66c8629c
commit fcffa4808c

View File

@ -17,15 +17,16 @@ stages:
node dependencies:
stage: setup
script:
- nix build -o node-dependencies .#uniworxNodeDependencies
- nix -L build -o node-dependencies .#uniworxNodeDependencies
before_script:
- install -m 0644 .gitlab-ci/nix-bootstrap.conf /etc/nix/nix.conf
- nix-env -f '<nixpkgs>' -riA envsubst
- envsubst -i .gitlab-ci/nix.conf -o /etc/nix/nix.conf
- git config --global init.defaultBranch master
- install -v -m 0700 -d ~/.ssh
- install -v -T -m 0644 ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts
- install -v -T -m 0400 ${SSH_DEPLOY_KEY} ~/.ssh/deploy && echo "IdentityFile ~/.ssh/deploy" >> ~/.ssh/config;
- install -v -T -m 0644 ${FONTAWESOME_NPM_AUTH_FILE} /etc/fontawesome-token
- install -v -T -m 0644 "${SSH_KNOWN_HOSTS}" ~/.ssh/known_hosts
- install -v -T -m 0400 "${SSH_DEPLOY_KEY}" ~/.ssh/deploy && echo "IdentityFile ~/.ssh/deploy" >> ~/.ssh/config;
- install -v -T -m 0644 "${FONTAWESOME_NPM_AUTH_FILE}" /etc/fontawesome-token
artifacts:
paths:
- node-dependencies