Issue
I have a staging, and a production server setup on Bitbucket Pipelines running a yaml script with the following;
image: samueldebruyn/debian-git
name: Staging - Upload FTP
script:
- apt-get update
- apt-get -qq install git-ftp
- git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD -v ftp://$FTP_HOST/$FTP_STAGING_PATH
- echo "Completed upload"
This script has been working great, and widely used in same format online for others using pipelines.
I submitted to my staging server literally 5-10 minutes before Debian 11 was released with successful builds, then post Debian 11 Release all subsequent releases Ive pushed to staging, or production result in a failure build with the following error...
Ign:1 http://security.debian.org/debian-security stable/updates InRelease
Get:2 http://deb.debian.org/debian stable InRelease [113 kB]
Err:3 http://security.debian.org/debian-security stable/updates Release
404 Not Found [IP: 151.101.250.132 80]
Get:4 http://deb.debian.org/debian stable-updates InRelease [40.1 kB]
Get:5 http://deb.debian.org/debian stable/main amd64 Packages [8178 kB]
Reading package lists...
E: The repository 'http://security.debian.org/debian-security stable/updates Release' does not have a Release file.
Am I missing something, or did Debian 11 just break a lot of pipelines?!
or is samueldebruyn/debian-git
out of date now?
Solution
I was able to locate a docker image that has the changes required to pass builds. For those that run into this issue and need a quick fix until Sam gets his docker image updated see
bitnami/git
Answered By - kray Answer Checked By - Marie Seifert (WPSolving Admin)