mirror of
https://github.com/mfocko/blog.git
synced 2024-11-22 04:53:47 +01:00
ci: switch to newer image and remove unused
* switch to the latest alpine image * remove commented out code that was used before Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
a868efaee6
commit
718d4bd6f6
1 changed files with 1 additions and 100 deletions
101
.gitlab-ci.yml
101
.gitlab-ci.yml
|
@ -1,4 +1,4 @@
|
||||||
image: node:current-alpine3.15
|
image: node:current-alpine
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
key:
|
key:
|
||||||
|
@ -22,102 +22,3 @@ pages:
|
||||||
- public
|
- public
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||||
# .build:
|
|
||||||
# before_script:
|
|
||||||
# # Handle the Yarn
|
|
||||||
# - echo 'yarn-offline-mirror ".yarn-cache/"' >> .yarnrc
|
|
||||||
# - echo 'yarn-offline-mirror-pruning true' >> .yarnrc
|
|
||||||
# - yarn install --frozen-lockfile --no-progress
|
|
||||||
|
|
||||||
# # Install the dependencies for alpine
|
|
||||||
# - apk update && apk add make graphviz zip
|
|
||||||
|
|
||||||
# .deploy:
|
|
||||||
# before_script:
|
|
||||||
# # Install the dependencies for alpine
|
|
||||||
# - apk update && apk add make openssh rsync
|
|
||||||
|
|
||||||
# # Prepare environment for SSH
|
|
||||||
# - mkdir -p ~/.ssh
|
|
||||||
# - ln -s $SSH_CONFIG ~/.ssh/config
|
|
||||||
# - ln -s $SSH_KEY ~/.ssh/id_ed25519
|
|
||||||
# - ln -s $SSH_KNOWN_HOSTS ~/.ssh/known_hosts
|
|
||||||
# - chmod 600 ~/.ssh/config ~/.ssh/id_ed25519 ~/.ssh/known_hosts
|
|
||||||
|
|
||||||
# default:
|
|
||||||
# image: node:current-alpine3.15
|
|
||||||
|
|
||||||
# cache:
|
|
||||||
# key:
|
|
||||||
# files:
|
|
||||||
# - yarn.lock
|
|
||||||
# paths:
|
|
||||||
# - .yarn-cache/
|
|
||||||
|
|
||||||
# stages:
|
|
||||||
# - build
|
|
||||||
# - deploy
|
|
||||||
|
|
||||||
# build:poincare:
|
|
||||||
# stage: build
|
|
||||||
|
|
||||||
# extends: .build
|
|
||||||
|
|
||||||
# script:
|
|
||||||
# # Regenerate the static files
|
|
||||||
# - make regenerate-dots
|
|
||||||
# - make regenerate-zips
|
|
||||||
|
|
||||||
# - URL="https://blog.mfocko.xyz" BASE_URL="/" yarn run build
|
|
||||||
|
|
||||||
# artifacts:
|
|
||||||
# paths:
|
|
||||||
# - "build/"
|
|
||||||
|
|
||||||
# build:aisa:
|
|
||||||
# stage: build
|
|
||||||
|
|
||||||
# extends: .build
|
|
||||||
|
|
||||||
# script:
|
|
||||||
# # Regenerate the static files
|
|
||||||
# - make regenerate-dots
|
|
||||||
# - make regenerate-zips
|
|
||||||
|
|
||||||
# - URL="https://fi.muni.cz" BASE_URL="~xfocko/kb/" yarn run build
|
|
||||||
|
|
||||||
# artifacts:
|
|
||||||
# paths:
|
|
||||||
# - "build/"
|
|
||||||
|
|
||||||
# deploy:poincare:
|
|
||||||
# stage: deploy
|
|
||||||
# needs: [build:poincare]
|
|
||||||
|
|
||||||
# extends: .deploy
|
|
||||||
|
|
||||||
# script:
|
|
||||||
# - rsync -avzrlpptv --delete build/ poincare:~/public_html/blog/
|
|
||||||
|
|
||||||
# artifacts:
|
|
||||||
# paths:
|
|
||||||
# - "build/"
|
|
||||||
|
|
||||||
# only:
|
|
||||||
# - main
|
|
||||||
|
|
||||||
# deploy:aisa:
|
|
||||||
# stage: deploy
|
|
||||||
# needs: [build:aisa]
|
|
||||||
|
|
||||||
# extends: .deploy
|
|
||||||
|
|
||||||
# script:
|
|
||||||
# - rsync -avzrlpptv --delete build/ aisa:~/public_html/kb/
|
|
||||||
|
|
||||||
# artifacts:
|
|
||||||
# paths:
|
|
||||||
# - "build/"
|
|
||||||
|
|
||||||
# only:
|
|
||||||
# - main
|
|
||||||
|
|
Loading…
Reference in a new issue