I need the VM created by the gitlab-ci.yml (running Ubuntu 14.04) to install packer and then both access and download either my entire private gitlab repo, or just an individual file from that repo.
First I tried creating an ssh key in my script that creates the container and vm, and then remotely adding the .pub to the gitlab repo. However I forgot that the newly created container is discarded upon completion of the build. Meaning new keys are generated every time the container is created.
Is there anyway that I can dynamically add and delete keys to a private GitLab repo?