Vauxoo / docker-odoo-image

Base docker image for instances
GNU General Public License v2.0
18 stars 29 forks source link

SSH-1 not supported anymore by github. #412

Closed GSLabIt closed 2 years ago

GSLabIt commented 2 years ago

Hi there @moylop260

we're facing an issue running our own runbot:

Initialized empty Git repository in /home/odoo/build/ooops404/ooops-configurator/.git/
ERROR: You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ERROR: You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

any hint on how could we fix? thx

full log:

Sending build context to Docker daemon  20.99kB

Step 1/24 : FROM vauxoo/odoo-80-image-shippable-auto
latest: Pulling from vauxoo/odoo-80-image-shippable-auto
Digest: sha256:474a6205dea6e597879259ab6f50fb282c8ce1ed9f4d9aa1fa56399f784f797b
Status: Image is up to date for vauxoo/odoo-80-image-shippable-auto:latest
 ---> b46c14537c9b
Step 2/24 : COPY files/entrypoint.sh /entrypoint.sh
 ---> 106fdf2a0af4
Step 3/24 : RUN chown -R odoo:odoo /entrypoint.sh
 ---> Running in 569a6719398e
Removing intermediate container 569a6719398e
 ---> d2df5e95fe18
Step 4/24 : COPY files/rvm_env.sh /rvm_env.sh
 ---> c2edf84a9523
Step 5/24 : RUN chown -R odoo:odoo /rvm_env.sh
 ---> Running in 89e1c7b8383d
Removing intermediate container 89e1c7b8383d
 ---> 901b6b6cdc78
Step 6/24 : ARG GITHUB_TOKEN
 ---> Running in a46849d4536f
Removing intermediate container a46849d4536f
 ---> e3d82eb0f066
Step 7/24 : ENV GITHUB_TOKEN=$GITHUB_TOKEN
 ---> Running in 2e6c0fcbdb90
Removing intermediate container 2e6c0fcbdb90
 ---> 329d7bdb11ba
Step 8/24 : ENV HOME=/home/odoo
 ---> Running in 6fbc7f1968c8
Removing intermediate container 6fbc7f1968c8
 ---> e28e2ea99f03
Step 9/24 : COPY .ssh $HOME/.ssh
 ---> 80d173bcabc0
Step 10/24 : COPY ./files/install /install
 ---> 8ff37edabd15
Step 11/24 : COPY ./files/script /script
 ---> acff58b229df
Step 12/24 : RUN chown -R odoo:odoo $HOME/.ssh;chown -R odoo:odoo /install;chown -R odoo:odoo /script;
 ---> Running in 60ab61653870
Removing intermediate container 60ab61653870
 ---> 855d986a2c6d
Step 13/24 : RUN apt-get update; apt-get install expect-dev python-lxml python-simplejson python-serial python-yaml
 ---> Running in dd24ce64826c
Ign http://archive.ubuntu.com trusty InRelease
Get:1 http://ppa.launchpad.net trusty InRelease [20.9 kB]
Get:2 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:3 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Get:4 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Get:5 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:6 http://ppa.launchpad.net trusty InRelease [20.8 kB]
Get:7 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,460 kB]
Get:8 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Get:9 https://apt-archive.postgresql.org trusty-pgdg InRelease
Get:10 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [671 kB]
Get:11 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [16.1 kB]
Get:12 http://ppa.launchpad.net trusty InRelease [16.0 kB]
Get:13 http://archive.ubuntu.com trusty-security/main amd64 Packages [1,032 kB]
Get:14 http://archive.ubuntu.com trusty-security/universe amd64 Packages [378 kB]
Get:15 http://ppa.launchpad.net trusty/main amd64 Packages [15.9 kB]
Get:16 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages [4,730 B]
Get:17 http://archive.ubuntu.com trusty Release [58.5 kB]
Get:18 http://archive.ubuntu.com trusty/main amd64 Packages [1,743 kB]
Get:19 http://ppa.launchpad.net trusty/main amd64 Packages [2,941 B]
Get:20 http://ppa.launchpad.net trusty/main amd64 Packages [3,533 B]
Get:21 http://archive.ubuntu.com trusty/universe amd64 Packages [7,589 kB]
Get:22 http://ppa.launchpad.net trusty/main amd64 Packages [23.2 kB]
Get:23 http://deb.nodesource.com trusty InRelease [3,914 B]
Get:24 http://ppa.launchpad.net trusty/main amd64 Packages [5,212 B]
Get:25 http://archive.ubuntu.com trusty/multiverse amd64 Packages [169 kB]
Get:26 http://deb.nodesource.com trusty/main amd64 Packages [964 B]
Fetched 13.7 MB in 1s (11.5 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
expect-dev is already the newest version.
Suggested packages:
  python-lxml-dbg python-wxgtk2.8 python-wxgtk
The following NEW packages will be installed:
  python-lxml python-serial python-simplejson python-yaml
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 846 kB of archives.
After this operation, 3,669 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-lxml amd64 3.3.3-1ubuntu0.2 [629 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main python-serial all 2.6-1build1 [60.1 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main python-simplejson amd64 3.3.1-1ubuntu6 [54.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-yaml amd64 3.10-4ubuntu0.1 [102 kB]
Fetched 846 kB in 0s (4,470 kB/s)
Selecting previously unselected package python-lxml.
(Reading database ... 50680 files and directories currently installed.)
Preparing to unpack .../python-lxml_3.3.3-1ubuntu0.2_amd64.deb ...
Unpacking python-lxml (3.3.3-1ubuntu0.2) ...
Selecting previously unselected package python-serial.
Preparing to unpack .../python-serial_2.6-1build1_all.deb ...
Unpacking python-serial (2.6-1build1) ...
Selecting previously unselected package python-simplejson.
Preparing to unpack .../python-simplejson_3.3.1-1ubuntu6_amd64.deb ...
Unpacking python-simplejson (3.3.1-1ubuntu6) ...
Selecting previously unselected package python-yaml.
Preparing to unpack .../python-yaml_3.10-4ubuntu0.1_amd64.deb ...
Unpacking python-yaml (3.10-4ubuntu0.1) ...
Setting up python-lxml (3.3.3-1ubuntu0.2) ...
Setting up python-serial (2.6-1build1) ...
Setting up python-simplejson (3.3.1-1ubuntu6) ...
Setting up python-yaml (3.10-4ubuntu0.1) ...
Removing intermediate container dd24ce64826c
 ---> debd5405d94f
Step 14/24 : RUN echo "TRAVIS_PYTHON_VERSION=3.6" >> /etc/environment
 ---> Running in cd5b3fc62002
Removing intermediate container cd5b3fc62002
 ---> 1db1cfa75f9f
Step 15/24 : USER odoo
 ---> Running in b82c3b811e4e
Removing intermediate container b82c3b811e4e
 ---> 7a89a46161c6
Step 16/24 : ENV TRAVIS_PYTHON_VERSION=3.6
 ---> Running in 0f5a8234e618
Removing intermediate container 0f5a8234e618
 ---> 790953e37e5b
Step 17/24 : ENV TRAVIS_REPO_SLUG=ooops404/ooops-configurator
 ---> Running in 46e97c08b1ac
Removing intermediate container 46e97c08b1ac
 ---> a79cc17f0524
Step 18/24 : ENV TRAVIS_BUILD_DIR=${HOME}/build/${TRAVIS_REPO_SLUG}
 ---> Running in 5d1ebe30adb4
Removing intermediate container 5d1ebe30adb4
 ---> 0e4d1707b0df
Step 19/24 : RUN git init ${TRAVIS_BUILD_DIR}     && cd ${TRAVIS_BUILD_DIR}     && git remote add origin git@github.com:ooops404/ooops-configurator.git     && git fetch --update-head-ok -p origin '+refs/pull/110/head:refs/pull/110' || true &&     git fetch --update-head-ok -p origin     '+refs/merge-requests/110/head:refs/pull/110' || true     && git checkout -qf pull/110     && git config --global user.email "info@ooops404.com"     && git config --global user.name "MrOoops"      || true
 ---> Running in 85d820c2d21a
Initialized empty Git repository in /home/odoo/build/ooops404/ooops-configurator/.git/
ERROR: You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
ERROR: You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
moylop260 commented 2 years ago

Hi @GSLabIt

It is related with your key generated

Follow the instructions from github in order to get the supported one:

GSLabIt commented 2 years ago

Hi @GSLabIt

It is related with your key generated

Follow the instructions from github in order to get the supported one:

Do it get key generated in the host? I thought it was a problem of the docker itself.

I'll double check, thx for the hint

GSLabIt commented 2 years ago

@moylop260 thx it worked out!