I have a project using middleman app (static website generator - ruby) set up on gitlab pages which doesn’t work any more. Did anything changed to gitlab Runners ?how can I begin to debug this ?
Running with gitlab-runner 11.9.0-rc2 (227934c0)
on docker-auto-scale ed2dce3a
Using Docker executor with image ruby:2.3.1 ...
Pulling docker image ruby:2.3.1 ...
Using docker image sha256:ffe8239a147c666621476db01004e6d525b9a3b0db2deace8861afba2aef3001 for ruby:2.3.1 ...
Running on runner-ed2dce3a-project-11042130-concurrent-0 via runner-ed2dce3a-srm-1553589370-7b7f2629...
Initialized empty Git repository in /builds/nedzen/scytale/.git/
Fetching changes...
Created fresh repository.
From https://gitlab.com/nedzen/scytale
* [new branch] master -> origin/master
* [new branch] wip -> origin/wip
Checking out c6d1ceb7 as master...
Skipping Git submodules setup
Checking cache for default-5...
FATAL: file does not exist
Failed to extract cache
$ export LC_ALL=C.UTF-8
$ export LANG=en_US.UTF-8
$ export LANGUAGE=en_US.UTF-8
$ apt-get update -yqqq
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.248.204 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Job failed: exit code 1
As a temporary solution, I removed the line deb http://deb.debian.org/debian/ jessie-updates main from the /etc/apt/sources.list of the docker image in which the CI process runs, by putting this in my .gitlab-ci.yml
This is only to get my CI running today, but I hope this will resolved either by the debian team (fixing their repository), or by the docker image maintainer to adjust to these changes
I have the exact same issue.
Your solution almost worked for me. However I need to remove the backports from the sources as well.
Err http://deb.debian.org jessie-backports/main amd64 Packages
404 Not Found [IP: 151.101.248.204 80]
Fetched 10.1 MB in 5s (1690 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found [IP: 151.101.248.204 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Job failed: exit code 1
How can I remove it?
deb http://deb.debian.org/debian jessie-backports main
well this line - echo -e "deb http://deb.debian.org/debian jessie main\ndeb http://security.debian.org jessie/updates main" > /etc/apt/sources.list is supposed to replace whatever your sources.list was with just
deb http://deb.debian.org/debian jessie main
deb http://security.debian.org jessie/updates main
If you still have references to jessie-backports then I guess it’s still configured somewhere (maybe under sources.list.d ?), it will depends on your docker image
It seems that debian jessie is going to be deprecated and the better long term solution is to refrain from using jessie based images. For example I was using docker image node:8.10, and switching to node:8.10-stretch solved this.
@quentin.richaud, adding the before_script fixed a part of the issue for me. But I still add an error when I was building a Scala app. So I also add rm /etc/apt/sources.list.d/jessie-backports.list to my before_script.