Compare commits
No commits in common. "77b044bdd8697dc2c0eb14e74a88a49666040891" and "b2826ac2287007b05e04d4ae79de11ac3fe752e3" have entirely different histories.
77b044bdd8
...
b2826ac228
4 changed files with 3 additions and 25 deletions
|
|
@ -5,4 +5,3 @@
|
||||||
- utilizing 'SparkleShare' for real-time sync.
|
- utilizing 'SparkleShare' for real-time sync.
|
||||||
- CI powered by server-side gitlab-runner !
|
- CI powered by server-side gitlab-runner !
|
||||||
- themes are ALL pre-download and located at specific location in the server: /home/admin/pelican-themes/
|
- themes are ALL pre-download and located at specific location in the server: /home/admin/pelican-themes/
|
||||||
- look inside 'gitlab-runner_config_example' for the server-side configuration tips.
|
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,10 @@
|
||||||
# and THEN, add more options & modify options..
|
# and THEN, add more options & modify options..
|
||||||
# because the registration must be done explicitly from commnadline.. to get A_GENERATED_TOKEN.
|
# because the registration must be done explicitly from commnadline.. to get A_GENERATED_TOKEN.
|
||||||
|
|
||||||
# https://docs.gitlab.com/runner/commands/README.html#gitlab-runner-register
|
|
||||||
# https://docs.gitlab.com/runner/configuration/advanced-configuration.html
|
|
||||||
|
|
||||||
# example setup running CI @ docker
|
# example setup running CI @ docker
|
||||||
# with this, every commit will refresh whole python packages.. will take 1 min. ==> slow. but up to date all the time..
|
# with this, every commit will refresh whole python packages.. will take 1 min. ==> slow. but up to date all the time..
|
||||||
|
|
||||||
concurrent = 2 # this should be > 0
|
concurrent = 2
|
||||||
check_interval = 0
|
check_interval = 0
|
||||||
|
|
||||||
[session_server]
|
[session_server]
|
||||||
|
|
@ -28,9 +25,8 @@ check_interval = 0
|
||||||
oom_kill_disable = false
|
oom_kill_disable = false
|
||||||
disable_cache = false
|
disable_cache = false
|
||||||
volumes = ["/home/admin/pelican-themes/:/themes", "/var/www/webapp_doohoyi/nosignal.hopto.org_site/ci:/site-public:rw"]
|
volumes = ["/home/admin/pelican-themes/:/themes", "/var/www/webapp_doohoyi/nosignal.hopto.org_site/ci:/site-public:rw"]
|
||||||
# above is important, --> https://stackoverflow.com/a/38099850
|
|
||||||
shm_size = 0
|
shm_size = 0
|
||||||
network_mode = "host" # check your network name with 'docker network ls' --> https://stackoverflow.com/a/50461875
|
network_mode = "host"
|
||||||
[runners.cache]
|
[runners.cache]
|
||||||
[runners.cache.s3]
|
[runners.cache.s3]
|
||||||
[runners.cache.gcs]
|
[runners.cache.gcs]
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
build:
|
|
||||||
script:
|
|
||||||
- pip install -r requirements.txt
|
|
||||||
- PATH=$PATH:~/.local/bin
|
|
||||||
- make publish
|
|
||||||
- rm -rf /var/www/webapp_doohoyi/nosignal.hopto.org_site/ci/pelican
|
|
||||||
- cp -r public /var/www/webapp_doohoyi/nosignal.hopto.org_site/ci/pelican
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- public
|
|
||||||
|
|
@ -1,15 +1,8 @@
|
||||||
# FIRST, generate a [[runners]] block using command 'sudo gitlab-runner register'
|
|
||||||
# and THEN, add more options & modify options..
|
|
||||||
# because the registration must be done explicitly from commnadline.. to get A_GENERATED_TOKEN.
|
|
||||||
|
|
||||||
# https://docs.gitlab.com/runner/commands/README.html#gitlab-runner-register
|
|
||||||
# https://docs.gitlab.com/runner/configuration/advanced-configuration.html
|
|
||||||
|
|
||||||
# simple setup running CI @ localhost
|
# simple setup running CI @ localhost
|
||||||
# this means you need to manage python3 repos @ localhost by yourself!
|
# this means you need to manage python3 repos @ localhost by yourself!
|
||||||
# but this builds really fast, because no image fetch/ no update packages, just make !
|
# but this builds really fast, because no image fetch/ no update packages, just make !
|
||||||
|
|
||||||
concurrent = 2 # this should be > 0
|
concurrent = 2
|
||||||
check_interval = 0
|
check_interval = 0
|
||||||
|
|
||||||
[session_server]
|
[session_server]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue