Comments (6)
实验室网络不好,发现每次打包都从远端拉取镜像,经常失败,想问一下,镜像没有本地缓存么,为什么每次打包都拉取,拉一次应该就能给下次使用啊
erda/internal/tools/pipeline/conf/conf.go
Line 111 in 83a9fec
目前pipeline运行任务拉取镜像的策略默认是
IfNotPresent
了,也就是运行的主机上如果已经存在镜像就不会再从远端拉取了。发现每次都从远端拉取镜像可能因为每次都跑到不同的机器上了,或者镜像在对应的主机上已经被gc掉了from erda.
谢谢,还有一个问题请教一下:
编译java项目的时候,需要从maven仓库里下载一下jar包,pom文件,这个每次编译,都会去maven仓库拉取,每次耗时两分钟,有什么方式可以缓存maven仓库么?
2022-12-22 17:49:42successfully loaded action config
2022-12-22 17:49:42successfully replaced action placeholder
2022-12-22 17:49:42change workding directory to: /.pipeline/container/context/git-checkout
2022-12-22 17:49:42build maven app
2022-12-22 17:49:42Run: /bin/bash, [-c MAVEN_OPTS=-Xmx2016m mvn clean package -e -B -U -Dmaven.test.skip -s /opt/action/comp/maven/settings.xml ]
2022-12-22 17:49:43[INFO] Error stacktraces are turned on.
2022-12-22 17:49:43[INFO] Scanning for projects...
### 2022-12-22 17:49:44[INFO] Downloading from terminus: http://192.168.14.12:8081/nexus/repository/public/com/dhc/leapower/business/leapower-business/4.1-SNAPSHOT/maven-metadata.xml
2022-12-22 17:49:44[INFO] Downloaded from terminus: http://192.168.14.12:8081/nexus/repository/public/com/dhc/leapower/business/leapower-business/4.1-SNAPSHOT/maven-metadata.xml (617 B at 6.3 kB/s)
2022-12-22 17:49:44[INFO] Downloading from terminus: http://192.168.14.12:8081/nexus/repository/public/com/dhc/leapower/business/leapower-business/4.1-SNAPSHOT/leapower-business-4.1-20221219.030915-44.pom
2022-12-22 17:49:44[INFO] Downloaded from terminus: http://192.168.14.12:8081/nexus/repository/public/com/dhc/leapower/business/leapower-business/4.1-SNAPSHOT/leapower-business-4.1-20221219.030915-44.pom (8.6 kB at 720 kB/s)
from erda.
Hi @luoluo2001108 ,我关注到 #5649 是一个相同的 issue,所以关闭当前这个 issue。
每个 issue 只处理一件事,是一个非常好的原则。
from erda.
from erda.
您好: 之前因为erda的某些问题咨询过您, 目前遇到一个问题想尝试咨询一下。 如果删除了集群之前,没有删除部署runtime,导致后续删除部署的时候一直显示删除中, 请问一下,这种情况是否是属于数据库中有脏数据导致,有没有什么清理的方式? 谢谢! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
尝试在数据库表ps_runtime_services
或ps_v2_project_runtimes
中找一下删除吧
另外新问题请开新的issue
from erda.
from erda.
Related Issues (20)
- The registration interface is not responding HOT 1
- 链路追踪可以用现有 jaeger 的 es 数据吗 HOT 1
- Golang monkey patching library utilized against terms of license HOT 1
- 创建组织报错 HOT 4
- 服务监控不显示服务 HOT 1
- 钉钉群二维码已过期 HOT 1
- java编译,maven仓库的缓存问题。 HOT 15
- node版本不支持16么? HOT 2
- How to delete image in erda
- Time zone时区问题 HOT 1
- erda can manager node with install k3s? HOT 1
- 建议基于 docker-compose 的快速体验模式采用 rancher 和 rainbond 等竞品的运行模式 HOT 1
- 基于 Docker Compose 部署 , 发现脚本资源404 。
- 无法通过官网提供的脚本进行快速安装 HOT 2
- 用文档里的基于docker compose安装脚本访问失效,.sh脚本资源访问404 HOT 5
- 文档里面的部署方式一个都没有正常运行could not install according to doc HOT 1
- Proposal: add API based end-to-end (aka e2e) testing HOT 1
- registry.cn-shanghai.aliyuncs.com/viper/dop:v1.1 HOT 1
- 删除了集群之前,没有删除部署runtime,导致后续删除部署的时候一直显示删除中 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from erda.