Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
RagConnect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
RagConnect
Merge requests
!20
Hotfix - revert to plain mkdocs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Hotfix - revert to plain mkdocs
hotfix/revert-to-plain-mkdocs
into
master
Overview
0
Commits
2
Pipelines
1
Changes
1
Merged
René Schöne
requested to merge
hotfix/revert-to-plain-mkdocs
into
master
3 years ago
Overview
0
Commits
2
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
4b7740a0
2 commits,
3 years ago
1 file
+
32
−
16
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
32
−
16
Options
@@ -8,6 +8,7 @@ stages:
-
ragdoc_build
-
ragdoc_view
-
publish
-
docu-dev
before_script
:
-
export GRADLE_USER_HOME=`pwd`/.gradle
@@ -95,27 +96,42 @@ pages:
needs
:
-
ragdoc_view
-
test
variables
:
PAGES_BRANCH
:
pages
HTTPS_REMOTE
:
https://${PROJECT_BOT_USER}:${PROJECT_BOT_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git
before_script
:
-
apt update && apt install git-lfs
-
pip install -r pages/requirements.txt
-
git config user.name $PROJECT_BOT_USER
-
git config user.email $PROJECT_BOT_USER@git-st.inf.tu-dresden.de
-
git fetch -f origin $PAGES_BRANCH:$PAGES_BRANCH || echo "Pages branch not deployed yet."
-
git checkout $CI_COMMIT_SHA
script
:
-
cd pages
-
export VERSION=$(python main.py)
-
echo $VERSION
-
mike list --json --prefix public -r $HTTPS_REMOTE -b $PAGES_BRANCH
-
mike deploy --rebase --prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH --update-aliases $VERSION
-
cd ..
-
git checkout $PAGES_BRANCH -- public/
-
cd pages && mkdocs build
artifacts
:
paths
:
-
public/
only
:
-
dev
-
master
pages-dev
:
image
:
python:3.10.0-bullseye
stage
:
publish
needs
:
-
ragdoc_view
-
test
before_script
:
-
pip install -r pages/requirements.txt
script
:
-
cd pages && mkdocs build
-
echo "UPSTREAM_JOB_ID=$CI_JOB_ID" >> build.env
artifacts
:
paths
:
-
public/
reports
:
dotenv
:
build.env
only
:
-
dev
downstream-job
:
stage
:
docu-dev
variables
:
UPSTREAM_BRANCH
:
$CI_COMMIT_REF_NAME
trigger
:
jastadd/ragconnect-dev
needs
:
-
job
:
pages-dev
artifacts
:
true
only
:
-
dev
Loading