-
Bug
-
Resolution: Unresolved
-
Critical
-
3.1.0.GA
-
None
-
False
-
None
-
False
-
Not Required
devfile registry requires a bootstrapping stage to collect some files for use in brew.
https://github.com/redhat-developer/devspaces-images/blob/devspaces-3-rhel-8/devspaces-devfileregistry/get-sources.sh
https://github.com/redhat-developer/devspaces-images/blob/devspaces-3-rhel-8/devspaces-operator/Dockerfile
So... we would switch to adding a fetch-artifacts-url.yaml file to the mid and downstream repos, per the docs? if not, a fallback method might be to commit the contents of the devspaces-samples project repos directly into the midstream GH repo, and sync it downstream to pkgs.devel repos.
https://osbs.readthedocs.io/en/latest/users.html#fetch-artifacts-url-yaml
Could also use cachito w/o a package manager to simply fetch sources from the dozens of devspaces-samples GH projects (and a commit SHA) so that the sources are available in the downstream repo at build time.
Contents of the sources file is right now:
SHA512 (root-local.tgz) = 4ce440fb02375aa5981cad3175003651a20bd91ada1383779bc8ffb9ff20d115705ca0cfdf298ba32cab3db64b944385e0dcba4d351f4f8d21d335576e945cad SHA512 (resources.tgz) = a42df4c30e4d1bd75eb5b61dde8b80d3f691665023bc1ba02d246998987809080292da09438fa06c25fcb29f8b5ad8216d79237eba1b704c534c476e24c15cfc
These are created from bootstrap.Dockerfile, then we collect these files/folders:
- root-local.tgz :: /opt/app-root/src/.local/bin/
- root-local.tgz :: /opt/app-root/src/.local/lib/
- resources.tgz :: /build/devfiles
- resources.tgz :: /build/resources
Note that we have two similar dockerfiles: