Use http git.data.coop endpoints for websites (#139)

Gitea is notoriously strict with its http smart git implementation. This required a few fixes in upstream ocaml-git. They are now released, and we don't have to use github or ssh-keys.

Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Reviewed-on: data.coop/ansible#139
Co-authored-by: reynir <data.coop@reynir.dk>
Co-committed-by: reynir <data.coop@reynir.dk>
This commit is contained in:
reynir 2022-12-13 15:24:32 +00:00 committed by Sam A
parent 3b8c475bb1
commit 99f9615ef2
2 changed files with 2 additions and 4 deletions

View file

@ -11,8 +11,7 @@
VIRTUAL_HOST: "{{ services.slides_2022_website.domain }}"
LETSENCRYPT_HOST: "{{ services.slides_2022_website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
# Temporarily hosting on github
command: "--remote=https://github.com/sorbusursina/datacoop-slides.git#slides2022"
command: "--remote=https://git.data.coop/data.coop/slides.git#slides2022"
capabilities:
- NET_ADMIN
devices:

View file

@ -11,8 +11,7 @@
VIRTUAL_HOST: "{{ services.new_new_data_coop_website.domain }}"
LETSENCRYPT_HOST: "{{ services.new_new_data_coop_website.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
# The ssh-key is for read-only only
command: "--remote=git@git.data.coop:halfd/new-website.git#main --ssh-key ed25519:Ag9RekCyC2eow4P/e5crVvSTQ7dTK46WkG0wqEPVJbU= --ssh-authenticator SHA256:l9kdLkb0kJm46pOJ4tCHCtFUaqV1ImbZWMA5oje10fI"
command: "--remote=https://git.data.coop:halfd/new-website.git#main"
capabilities:
- NET_ADMIN
devices: