Add tests for Extension Gitlab pipeline build #13049
Labels
area/extensions
kind/enhancement
QA/dev-automation
Issues that engineers have written automation around so QA doesn't have look at this
Milestone
Is your feature request related to a problem? Please describe.
Follow-on from #13032
We should add to the nightly extension workflow tests to ensure that the Gitlab reusable workflow (
./shell/scripts/.gitlab/workflows/build-extension-catalog.gitlab-ci.yml
) would pass in a Gitlab pipeline. This would also include the bundled workflow file that is shipped with the extension creator (./creators/extension/app/files/.gitlab-ci.yml
).Describe the solution you'd like
The simplest solution would be to replicate the GitLab CI logic as GitHub Actions steps with the same container image used.
Describe alternatives you've considered
Additional context
Since the
build-extension-catalog.gitlab-ci.yml
is fairly straightforward (it installs some packages, logs into a registry, etc.), the simplest way to test what GitLab does is to copy those steps into a GitHub workflow directly. Essentially, the GitHub Action would:registry.suse.com/bci/bci-base
runnerpodman
,node.js
,yq
, etc.).yarn publish-pkgs
,podman push --dry-run
, etc.).check_version_collisions
job.The text was updated successfully, but these errors were encountered: