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
9bfe02a1
Verified
Commit
9bfe02a1
authored
Mar 6, 2024
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Updated CI/CD
parent
cd6b725b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+48
-8
48 additions, 8 deletions
.gitlab-ci.yml
with
48 additions
and
8 deletions
.gitlab-ci.yml
+
48
−
8
View file @
9bfe02a1
...
...
@@ -578,7 +578,7 @@ build-api-1.3:
-
./swagger/1.3.0
expire_in
:
1 days
build-api-1.4
:
build-api-1.4
.0
:
stage
:
build
image
:
docker.io/alpine:3.18
only
:
...
...
@@ -588,13 +588,31 @@ build-api-1.4:
-
release-v1.4
script
:
-
apk add bash git maven
-
git fetch --tags
-
git checkout v1.4.0
-
git fetch --tags && git checkout v1.4.0
-
bash .docs/.swagger/swagger-site.sh
-
find ./site -type f -exec sed -i -e "s/__APPVERSION__/1.4.0/g" {} \;
-
mkdir -p ./swagger/1.4.0
-
cp -r ./site/* ./swagger/1.4.0/
-
git checkout release-v1.4
cache
:
paths
:
-
./swagger/1.4.0
artifacts
:
when
:
always
paths
:
-
./swagger/1.4.0
expire_in
:
1 days
build-api-1.4
:
stage
:
build
image
:
docker.io/alpine:3.18
only
:
refs
:
-
master
-
release-v1.3
-
release-v1.4
script
:
-
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/__APPVERSION__/${APP_VERSION}/g" {} \;
-
mkdir -p ./swagger/${APP_VERSION}
...
...
@@ -688,7 +706,7 @@ docs-1.3:
-
./final
expire_in
:
1 days
docs-1.4
:
docs-1.4
.0
:
stage
:
docs
image
:
docker.io/python:3.11-slim
needs
:
...
...
@@ -702,8 +720,7 @@ docs-1.4:
-
release-v1.4
script
:
-
apt-get update && apt-get install -y git make sed wget
-
git fetch --tags
-
git checkout v1.4.0
-
git fetch --tags && git checkout v1.4.0
-
pip install -r ./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
...
...
@@ -711,7 +728,30 @@ docs-1.4:
-
find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/1.4.0/g" {} \;
-
mkdocs build && cp -r ./site ./final/1.4.0
-
cp -r ./swagger/${APP_VERSION} ./final/1.4.0/swagger
-
git checkout release-v1.4
cache
:
paths
:
-
./final
artifacts
:
when
:
always
paths
:
-
./final
expire_in
:
1 days
docs-1.4
:
stage
:
docs
image
:
docker.io/python:3.11-slim
needs
:
-
build-api-latest
-
build-api-1.3
-
build-api-1.4
only
:
refs
:
-
master
-
release-v1.3
-
release-v1.4
script
:
-
apt-get update && apt-get install -y git make sed wget
-
git fetch && git checkout release-v1.4
-
pip install -r ./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
...
...
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