Until the swift-openapi-runtime repository is made public, it cannot be
cloned using a HTTPS package URL without authentication, which is what
this package is using in its Package.swift.
This means CI isn't able to run for this package. However, CI is able to
clone this repository over SSH, which presents an opportunity for a
temporary workaround.
Modifications
Add a temporary step to the Docker Compose CI flow, which creates a Git
config in a shared ephemeral volume with the following contents:
(Same as: https://github.com/apple/swift-openapi-generator/pull/3)
Motivation
Until the swift-openapi-runtime repository is made public, it cannot be cloned using a HTTPS package URL without authentication, which is what this package is using in its Package.swift.
This means CI isn't able to run for this package. However, CI is able to clone this repository over SSH, which presents an opportunity for a temporary workaround.
Modifications
Add a temporary step to the Docker Compose CI flow, which creates a Git config in a shared ephemeral volume with the following contents:
Result
The CI should be able to clone the private dependency and then succeed.
Test Plan
Locally, this works:
Also, if we use can use the
shell
Docker Compose service to see things are configured correctly: