Skip to content

fix: multi instance release

Steve Xuereb requested to merge fix/multi-repo-release into main

Background

jsonnet-tool is used for multiple projects, both hosted on GitLab.com and ops.GitLab.net. ops.GitLab.net is used to operate GitLab.com, so we can't have any dependecies between them. In https://ops.gitlab.net/gitlab-com/gitlab-com-infrastructure/-/merge_requests/2896 we need to use the jsonnet-tool image inside of our pipeline, which is why we need to have the image inside of ops.GitLab.net

Solution

Update goreleaesr and semantic-release so it doesn't try to tag,push containers on just GitLab.com but use predefined environment variable to know to which GitLab instance to push binaries/images.

Testing

Merge request reports