GitLab auf Google Cloud Platform VM

GitLab auf Google Cloud Platform VM

Ich versuche, Gitlab auf der Google Cloud Platform auszuführen. Ich bin diesem Tutorial gefolgt:https://docs.gitlab.com/ce/install/google_cloud_platform/index.htmlaber jetzt bin ich an dem Punkt angelangt, an dem ich das Commit nicht zum Remote-Gerät übertragen kann.

[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Der SSH-Schlüssel wird der Google Cloud Platform-VM sowie dem Gitlab-Konto hinzugefügt. Ich glaube, ich muss Git irgendwie über SSH aktivieren, bin mir aber nicht sicher, wie das mit der Sicherheit der Google Cloud Platform zusammenpasst.

Antwort1

Das Problem lag also woanders.

Ich habe vor Kurzem die IP-Adresse der VM geändert (um eine statische zu haben). Leider habe ich vergessen, die IP in den GitLab-Einstellungen zu ändern, sodass die Klonlinks immer noch auf die alte verweisen. Daher das Could not read from remote repository.

verwandte Informationen