acoustic-businessperson-27970
11/30/2021, 10:09 AM[RuntimeException]
Failed to execute git clone --mirror -- '<mailto:git@gitlab.xxxxxxxxxxx.de|git@gitlab.xxxxxxxxxxx.de>:xxxxx/xxxxx.git' '/home/spryker/.composer/cache/vcs/xxxxxxxx.git/'
Cloning into bare repository '/home/spryker/.composer/cache/vcs/xxxxxxxx.git/' ...
<mailto:git@gitlab.xxxxxxxxxxx.de|git@gitlab.xxxxxxxxxxx.de>: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
sparse-fall-78248
11/30/2021, 10:19 AMcomposer.json
2. Create a GitLab token for yourself with read_api
and read_repository
permissions.
3. Run composer config gitlab-token.<your-repo-server> <your-access-token>
4. This will create an auth.json
file which should be added to .gitignore etc.
Additionally, if you build your own Docker containers, you can add this to your RUN line that will pull in all dependencies:
RUN --mount=type=secret,id=gitlab,uid=1000,dst=/data/auth.json
Hope this helps.acoustic-businessperson-27970
11/30/2021, 10:24 AMacoustic-businessperson-27970
11/30/2021, 10:25 AMsparse-fall-78248
11/30/2021, 10:25 AMdocker/sdk cli composer ...
acoustic-businessperson-27970
11/30/2021, 10:26 AM