Skip to content

Fix and streamline Operator/bundle building for tags/forks

Dmytro Makovey requested to merge 379-remove-osdk_opm-install into master

Summary

Primary goal was to remove build/install of opm and operator-sdk from the pipeline, as they were moved into the builder image with gitlab-org/gitlab-build-images!437 (merged)

Since this MR can only be tested in forked instance several other fixes are part of this MR:

  • fix for tag pipeline (build_tag_image)
  • disable issue-bot in forked pipelines (ISSUE_BOT_API_TOKEN)
  • fixes for forked pipeline (DEFAULT_IMG)
  • applies proper image tag to bundle/catalog being published (BUNDLE_IMAGE_TAG)
  • corrected GOPATH handling (.gopath_extractor)

Related issues

Closes #379 (closed)

Closes #443 (closed)

Testing

  • fork this repo
  • in a forked repo create a tag in the form X.Y.Z which should trigger pipeline
  • launch manual step for upload_manifest
  • inspect Deployments/Releases for available releases
  • inspect Packages & Registries/Container Registry for available bundle & catalog builds
Edited by Dmytro Makovey

Merge request reports