diff options
author | Denys Drozdov <denys.drozdov@toradex.com> | 2021-11-02 16:40:20 +0200 |
---|---|---|
committer | Denys Drozdov <denys.drozdov@toradex.com> | 2021-11-04 11:47:54 +0200 |
commit | a1927cba016c661bd7f7bc8a1ed1a96433fe9a07 (patch) | |
tree | 6d6566f2c52f0b8b02407f54764a1a98b18de44c | |
parent | 362b1c630eae43eab6fa845c74a6e8064ca695b2 (diff) |
.gitlab-ci.yml: Fix CI pipeline build
On the Git protocol side, unencrypted git:// offers no integrity or authentication,
making it subject to tampering. GitHub has disabled support for this protocol.
The following error can be obseverved during pipeline build
git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks
Cloning into '/tmp/uboot-test-hooks'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
Again, only users connecting via SSH or git:// are affected.
Change Git remotes to start with https://
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | .travis.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cfe5657bf86..d22ec85fc60 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ stages: stage: all-in-one-stage before_script: # Clone uboot-test-hooks - - git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks + - git clone --depth=1 https://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks - ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname` - ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname` - grub-mkimage --prefix="" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd diff --git a/.travis.yml b/.travis.yml index c59bd7790b6..84c16347688 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ addons: install: # Clone uboot-test-hooks - - git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks + - git clone --depth=1 https://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks - ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname` - ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname` # prepare buildman environment |