[gimp-web-devel/pat/bootstrap] gitmodules: use the https authentication instead.



commit d27833e3ea17b17a8f13f7d2ac060589900963e6
Author: Jehan <jehan girinstud io>
Date:   Wed Sep 7 21:05:36 2022 +0200

    gitmodules: use the https authentication instead.
    
    Cloning from the CI runner failed with:
    
    > Cloning into '/gimp-web-devel/themes/hugo-bootstrap-bare'...
    > Host key verification failed.
    > fatal: Could not read from remote repository.
    > Please make sure you have the correct access rights
    > and the repository exists.
    > fatal: clone of 'git gitlab com:pixlsus/hugo-bootstrap-bare.git' into submodule path 
'/gimp-web-devel/themes/hugo-bootstrap-bare' failed
    
    It seems there might be issues with the SSH connection verification, but
    hopefully it should be alright using HTTPS authentication instead as a
    workaround.
    The real solution might be to add the host key into the CI runner, but
    it's probably not worth the effort for what we are doing here. HTTPS is
    likely secure enough for cloning a repository anonymously.
    See https://gitlab.com/gitlab-org/gitlab-runner/-/issues/3679

 .gitmodules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitmodules b/.gitmodules
index 73aad36..7e663fb 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,4 +1,4 @@
 [submodule "themes/hugo-bootstrap-bare"]
        path = themes/hugo-bootstrap-bare
-       url = git gitlab com:pixlsus/hugo-bootstrap-bare.git
+       url = https://gitlab.com/pixlsus/hugo-bootstrap-bare.git
        branch = bootstrap5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]