Add GitLabDemoUpstream.jl as a dependency
Just following https://docs.gitlab.com/ee/ci/ssh_keys/README.html
Concrete steps:
- Create an SSH key pair with
ssh-keygen -t ed25519 -C GitLabDemoDownstream@gitlab-ci -f key - Add the public key as a deploy key at https://gitlab.com/tkfm/gitlabdemoupstream.jl/-/settings/repository#js-deploy-keys-settings
- Add the private key as
SSH_PRIVATE_KEYenvironment variable at https://gitlab.com/tkfm/gitlabdemodownstream.jl/-/settings/ci_cd- Turn off
Protectedswitch.- Without this,
$SSH_PRIVATE_KEYis not set andssh-addwould complain thatError loading key "(stdin)": invalid formathttps://gitlab.com/tkfm/gitlabdemodownstream.jl/-/jobs/759713949#L107
- Without this,
- Turn off
Edited by Takafumi Arakaki