Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fda-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
FAIR Data Austria DB Repository
fda-docs
Commits
8557857b
Verified
Commit
8557857b
authored
1 year ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Renamed targets
parent
4895d6cb
No related branches found
No related tags found
No related merge requests found
Pipeline
#5899
failed
1 year ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-14
6 additions, 14 deletions
.gitlab-ci.yml
Makefile
+4
-9
4 additions, 9 deletions
Makefile
with
10 additions
and
23 deletions
.gitlab-ci.yml
+
6
−
14
View file @
8557857b
...
@@ -3,38 +3,30 @@ cache:
...
@@ -3,38 +3,30 @@ cache:
-
./site
-
./site
stages
:
stages
:
-
configure
-
build
-
build
-
deploy
-
deploy
configure-certs
:
build-docs
:
stage
:
configure
script
:
-
make configure
build-mkdocs
:
stage
:
build
stage
:
build
needs
:
-
configure-certs
script
:
script
:
-
make build
-
make build
-docs
deploy-docs
:
deploy-docs
:
stage
:
deploy
stage
:
deploy
needs
:
needs
:
-
build-
mk
docs
-
build-docs
only
:
only
:
refs
:
refs
:
-
master
-
master
script
:
script
:
-
make deploy
-
make deploy
-docs
deploy-dockerhub-docs
:
deploy-dockerhub-docs
:
stage
:
deploy
stage
:
deploy
needs
:
needs
:
-
build-
mk
docs
-
build-docs
only
:
only
:
refs
:
refs
:
-
master
-
master
script
:
script
:
-
DOCKER_USERNAME="${DOCKER_USERNAME}" DOCKER_PASSWORD="${DOCKER_PASSWORD}" make docs
-
DOCKER_USERNAME="${DOCKER_USERNAME}" DOCKER_PASSWORD="${DOCKER_PASSWORD}" make
deploy deploy-dockerhub-
docs
This diff is collapsed.
Click to expand it.
Makefile
+
4
−
9
View file @
8557857b
...
@@ -2,31 +2,26 @@
...
@@ -2,31 +2,26 @@
TAG
?=
latest
TAG
?=
latest
all
:
build
all
:
build
-docs
clean
:
clean
:
rm
-rf
./site
rm
-rf
./site
release
:
release-dockerhub
deploy-dockerhub-docs
:
release-dockerhub
:
sudo
pip3
install
-r
./requirements.txt
sudo
pip3
install
-r
./requirements.txt
python3 ./dockerhub/release.py
python3 ./dockerhub/release.py
verify
:
verify
:
sudo
nginx
-t
sudo
nginx
-t
build
:
build
-docs
:
mkdocs build
mkdocs build
cd
./swagger
&&
bash ./generate.sh
cd
./swagger
&&
bash ./generate.sh
build-swagger
:
build-swagger
:
cd
./swagger
&&
UPDATE
=
1 ./generate.sh
cd
./swagger
&&
UPDATE
=
1 ./generate.sh
configure
:
deploy-docs
:
build-docs
sudo
certbot certonly
--standalone
--preferred-challenges
http
-d
dbrepo-docs.ossdip.at
--agree-tos
--keep-until-expiring
deploy
:
build
tar
czfv ./site.tar.gz ./site
tar
czfv ./site.tar.gz ./site
scp ./site.tar.gz ec-thoas2:site.tar.gz
scp ./site.tar.gz ec-thoas2:site.tar.gz
ssh ec-thoas2
"rm -rf /system/user/ifs/infrastructures/public_html/dbrepo/*; tar xzfv ./site.tar.gz; rm -f ./site.tar.gz; cp -r ./site/* /system/user/ifs/infrastructures/public_html/dbrepo; rm -rf ./site"
ssh ec-thoas2
"rm -rf /system/user/ifs/infrastructures/public_html/dbrepo/*; tar xzfv ./site.tar.gz; rm -f ./site.tar.gz; cp -r ./site/* /system/user/ifs/infrastructures/public_html/dbrepo; rm -rf ./site"
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