Reduce dependencies in step-runner go.mod

Changes

The OCI registry server used in tests has been converted to a binary. This removes many test dependencies from the go.mod file, making it easier to integrate the step-runner into the gitlab-runner as a library.

  • The binary .local/bin/oci-registry-server is created every time make test-dependencies is run
  • The bldr.StartOCIRegistryServer(t) now manages running the oci-registry-server process, instead of running it using code
  • No tests have changed as part of this MR
  • A new job, runner-go-integration, has been added to get fast feedback if runner cannot import the step-runner as a library

References

Dependency conflict: go.opentelemetry.io versio... (#348 - closed)

Edited by Cameron Swords

Merge request reports

Loading