The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
This is my bitbucket-pipeline.yml, which has worked for years:
image: samueldebruyn/debian-git
pipelines:
branches:
master:
- step:
name: deploy to prod site
deployment: production
script:
- apt-get update
- apt-get -qq install git-ftp
- git ftp push --user $FTP_LIVE_USERNAME --passwd $FTP_LIVE_PASSWORD $FTP_LIVE
And now I get this error on build:
+ apt-get update
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 [36.8 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.
I understand that this issue is related not to bitbucket, and the problem is exactly with missing Debian image, but still, any ideas on how this can be fixed?
It seems the issue is with the outdated Docker image in samueldebruyn/debian-git.
I have managed to get my pipelines working using the updated Docker image from bitnami.
Simply replace the image to the following on your bitbucket-pipelines.yml
image: bitnami/git
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @artgana,
We've had reports from other customers using the same Docker image (samueldebruyn/debian-git), the issue seems to be with this Docker image since Debian 11 was released.
It has been raised with the maintainer of this image here:
which has a link to this stack overflow discussion:
Until the issue is fixed in samueldebruyn/debian-git, you can either use a different Docker image in your bitbucket-pipeline.yml file or create your own custom Docker image and use that instead.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks Theodora for explanation, changing image to
image: bitnami/git
helped me!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.