diff options
-rw-r--r-- | playbooks/roles/src/templates/stacks/docker-compose.yml | 10 | ||||
-rwxr-xr-x | playbooks/roles/src/templates/volumes/soft-serve/hooks/update | 3 |
2 files changed, 2 insertions, 11 deletions
diff --git a/playbooks/roles/src/templates/stacks/docker-compose.yml b/playbooks/roles/src/templates/stacks/docker-compose.yml index ec514b4..a2349a5 100644 --- a/playbooks/roles/src/templates/stacks/docker-compose.yml +++ b/playbooks/roles/src/templates/stacks/docker-compose.yml @@ -1,14 +1,8 @@ services: frontend: - image: oci.liz.coffee/emprespresso/cgit:release + image: oci.liz.coffee/emprespresso/wwwgit:release volumes: - - {{ src_base }}/volumes/data/repos:/srv/git:ro - environment: - CGIT_TITLE: '{{ src_domain }}' - CGIT_DESC: '<3 {{ domain }}' - CGIT_VROOT: '/cgit' - CGIT_SECTION_FROM_STARTPATH: 1 - CGIT_MAX_REPO_COUNT: 100 + - {{ src_base }}/volumes/data/repos:/var/lib/git/repositories:ro networks: - proxy healthcheck: diff --git a/playbooks/roles/src/templates/volumes/soft-serve/hooks/update b/playbooks/roles/src/templates/volumes/soft-serve/hooks/update index c209b41..266d0d2 100755 --- a/playbooks/roles/src/templates/volumes/soft-serve/hooks/update +++ b/playbooks/roles/src/templates/volumes/soft-serve/hooks/update @@ -47,8 +47,6 @@ post_trigger_ci_jobs() { local path="/job" local json_payload=$(printf '{"type": "ci_pipeline", "arguments": {"remote": "%s", "rev": "%s", "refname": "%s"}}' "$1" "$2" "$3") - echo "> $json_payload" - which curl 2&>/dev/null || apk add -q curl curl -X POST \ -H "Content-Type: application/json" \ @@ -57,7 +55,6 @@ post_trigger_ci_jobs() { --no-progress-meter \ "http://$host:$port$path" - echo "... Done" } # -- </continuous_integration> -- |