Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
3a76111e
Verified
Commit
3a76111e
authored
1 year ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Updated the script
parent
57c7fa79
No related branches found
No related tags found
3 merge requests
!237
Resolve "Proxy settings"
,
!232
Draft: Master
,
!231
CI: Remove build for log-service
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
.gitlab-ci.yml
+6
-4
6 additions, 4 deletions
.gitlab-ci.yml
with
7 additions
and
4 deletions
.gitignore
+
1
−
0
View file @
3a76111e
...
...
@@ -12,6 +12,7 @@ schema.xsd
.docs/.swagger/dist/
.docs/.swagger/site/
site/
final/
.$*
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
6
−
4
View file @
3a76111e
...
...
@@ -500,6 +500,7 @@ build-api-latest:
-
apk add bash git
-
git fetch && git checkout master
-
bash .docs/.swagger/swagger-site.sh
-
find ./site -type f -exec sed -i -e "s/\$TAG/latest/g" {} \;
-
mkdir -p ./swagger/latest
-
cp -r ./site/* ./swagger/latest/
cache
:
...
...
@@ -546,6 +547,7 @@ build-api-1.4:
-
apk add bash git maven
-
git fetch && git checkout release-v1.4
-
bash .docs/.swagger/swagger-site.sh
-
find ./site -type f -exec sed -i -e "s/\$TAG/${VERSION}/g" {} \;
-
mkdir -p ./swagger/${VERSION}
-
cp -r ./site/* ./swagger/${VERSION}/
cache
:
...
...
@@ -594,9 +596,9 @@ docs-latest:
-
git fetch && git checkout master
-
pip install -r ./requirements.txt
-
mkdir -p ./final/{latest,1.3}
-
find .docs -type f -exec sed -i -e "s/\$TAG/latest/g" {} \;
-
find .docs -type f -exec sed -i -e "s/\$VERSION/latest/g" {} \;
-
mkdocs build && cp -r ./site ./final/latest
-
find ./final/latest -type f -exec sed -i -e "s/\$TAG/latest/g" {} \;
-
find ./final/latest -type f -exec sed -i -e "s/\$VERSION/latest/g" {} \;
-
cp ./.docs/redirect.html ./final/index.html
-
cp ./.docs/redirect.html ./final/1.3/index.html
-
cp -r ./swagger/latest ./final/latest/swagger
...
...
@@ -655,9 +657,9 @@ docs-1.4:
-
pip install -r ./.docs/requirements.txt
-
wget https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/dev/.docs/overrides/main.html -O .docs/overrides/main.html -q
-
mkdir -p ./final
-
find .docs -type f -exec sed -i -e "s/\$TAG/${VERSION}/g" {} \;
-
find .docs -type f -exec sed -i -e "s/\$VERSION/${VERSION}/g" {} \;
-
mkdocs build && cp -r ./site ./final/${VERSION}
-
find ./final/${VERSION} -type f -exec sed -i -e "s/\$TAG/${VERSION}/g" {} \;
-
find ./final/${VERSION} -type f -exec sed -i -e "s/\$VERSION/${VERSION}/g" {} \;
-
cp -r ./swagger/${VERSION} ./final/${VERSION}/swagger
cache
:
paths
:
...
...
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
register
or
sign in
to comment