Skip to content
Snippets Groups Projects
Commit 31538615 authored by Ondrej Tabach's avatar Ondrej Tabach
Browse files

Merge branch 'master' into 'dir-structure'

# Conflicts:
#   .gitlab-ci.yml
#   README.md
parents c9a2746d 9f78f6eb
Branches
Tags
1 merge request!7Update 2 files
Pipeline #44750 passed with warnings
stages: stages:
- test - test
- deploy - deploy
...@@ -71,16 +72,19 @@ deploy fumadocs to docs.it4i.cz: ...@@ -71,16 +72,19 @@ deploy fumadocs to docs.it4i.cz:
# image: it4innovations/docker-fumadocscheck:latest # image: it4innovations/docker-fumadocscheck:latest
image: it4innovations/docker-mkdocscheck:latest image: it4innovations/docker-mkdocscheck:latest
before_script: before_script:
# install packages # Update Debian repositories for oldoldstable
- sed -i 's|http://deb.debian.org/debian buster|http://deb.debian.org/debian oldoldstable|g' /etc/apt/sources.list - sed -i 's|http://deb.debian.org/debian buster|http://deb.debian.org/debian oldoldstable|g' /etc/apt/sources.list
- sed -i 's|http://security.debian.org/debian-security buster/updates|http://security.debian.org/debian-security oldoldstable/updates|g' /etc/apt/sources.list - sed -i 's|http://security.debian.org/debian-security buster/updates|http://security.debian.org/debian-security oldoldstable/updates|g' /etc/apt/sources.list
- sed -i 's|http://deb.debian.org/debian buster-updates|http://deb.debian.org/debian oldoldstable-updates|g' /etc/apt/sources.list - sed -i 's|http://deb.debian.org/debian buster-updates|http://deb.debian.org/debian oldoldstable-updates|g' /etc/apt/sources.list
- apt-get update -y - apt-get update -y
# Install required packages
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- 'which rsync || ( apt-get update -y && apt-get install rsync -y )' - 'which rsync || ( apt-get update -y && apt-get install rsync -y )'
- 'which jq || ( apt-get update -y && apt-get install jq -y )' - 'which jq || ( apt-get update -y && apt-get install jq -y )'
# Start the ssh-agent and add the SSH private key
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY") - ssh-add <(echo "$SSH_PRIVATE_KEY")
# Configure SSH to skip host verification (not recommended for production)
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment