Kra*_*ray 6 debian pipeline bitbucket bitbucket-pipelines
我在运行 yaml 脚本的 Bitbucket Pipelines 上有一个暂存和生产服务器设置;
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"
Run Code Online (Sandbox Code Playgroud)
该脚本运行良好,并以相同的格式在线广泛用于其他使用管道的人。
我在 Debian 11 发布并成功构建之前 5-10 分钟提交到我的临时服务器,然后发布 Debian 11 发布所有后续版本我已经推送到临时版本,或者生产导致构建失败并出现以下错误...
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.
Run Code Online (Sandbox Code Playgroud)
我是不是遗漏了什么,还是 Debian 11 只是破坏了很多管道?!
或者samueldebruyn/debian-git现在已经过时了?
我能够找到一个 docker 映像,该映像具有传递构建所需的更改。对于那些遇到此问题并需要快速修复的人,直到 Sam 更新他的 docker 映像,请参阅
bitnami/git
| 归档时间: |
|
| 查看次数: |
1314 次 |
| 最近记录: |