Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docs.it4i.cz_fumadocs
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCS
docs.it4i.cz_fumadocs
Commits
31538615
Commit
31538615
authored
1 month ago
by
Ondrej Tabach
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'dir-structure'
# Conflicts: # .gitlab-ci.yml # README.md
parents
c9a2746d
9f78f6eb
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!7
Update 2 files
Pipeline
#44750
passed with warnings
1 month ago
Stage: test
Stage: deploy
Stage: after_test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+16
-12
16 additions, 12 deletions
.gitlab-ci.yml
with
16 additions
and
12 deletions
.gitlab-ci.yml
+
16
−
12
View file @
31538615
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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment