github dropped support for git protocol
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Scott Little |
Bug Description
Brief Description
-----------------
Github has dropped support for the 'git' protocal. We'll have to audit all manifests, docker files, etc. and switch to https protocol where required.
Severity
--------
Critical
Steps to Reproduce
------------------
docker build --ulimit core=0 --network host --tag starlingx/
Expected Behavior
------------------
Aptly container builds
Actual Behavior
----------------
Aptly container fails to build
Reproducibility
---------------
100%
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
2021-11-02
Last Pass
---------
2021-11-01
Timestamp/Logs
--------------
Cloning git://github.
Running command git clone -q git://github.
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https:/
WARNING: Discarding git+git:
ERROR: Command errored out with exit status 128: git clone -q git://github.
The command '/bin/sh -c apt-get update && apt-get install --no-install-
Test Activity
-------------
Build
Workaround
----------
pull build containers from dockerhub
Changed in starlingx: | |
status: | New → In Progress |
tags: | added: stx.build |
Changed in starlingx: | |
importance: | Undecided → Critical |
assignee: | nobody → Chuck Short (zulcss) |
tags: | added: stx.6.0 |
Reviewed: https:/ /review. opendev. org/c/starlingx /manifest/ +/816358 /opendev. org/starlingx/ manifest/ commit/ 99ea58653bfb9d4 80ff8df8f23e385 21a7eeb77c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 99ea58653bfb9d4 80ff8df8f23e385 21a7eeb77c
Author: Charles Short <email address hidden>
Date: Tue Nov 2 09:40:01 2021 -0400
Use https instead of git for github.com
Github has recently deprecated git in favor
of https to improve site security. This results in repo
command failing.
See: https:/ /github. blog/2021- 09-01-improving -git-protocol- security- github/
Partial-Bug: 1949479
Signed-off-by: Charles Short <email address hidden> 39c07dda9fcfafd 88ebe6c77dd
Change-Id: Ibdd38f71a4403c