text 适当设置Mirantis CI / CD堆栈

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 适当设置Mirantis CI / CD堆栈相关的知识,希望对你有一定的参考价值。

aptly mirror list -raw | grep -E '*' | xargs -n 1 aptly mirror update
aptly_mirror_update.sh -s -v 
aptly-publisher --architectures=amd64 --timeout=1200 publish -v -c /etc/aptly-publisher.yaml --url http://192.168.104.50:8084 --recreate

aptly-publisher --url http://192.168.104.50:8084 promote --source ubuntu-trusty/nightly --target ubuntu-trusty/testing --force-overwrite -d --timeout 600 --recreate
aptly-publisher --url http://192.168.104.50:8084 promote --source ubuntu-xenial/nightly --target ubuntu-xenial/testing --force-overwrite -d --timeout 600 --recreate

nohup aptly api serve --no-lock &

Add repo:
aptly repo add ubuntu-xenial-extra /tmp/vlan_1.9-3.2~u16.04+mcp1_amd64.deb 
aptly snapshot create ubuntu-xenial-extra-1 from repo ubuntu-xenial-extra
aptly-publisher --timeout=1200 publish -v -c /etc/aptly-publisher.yaml --url http://localhost:8080 --recreate
aptly api serve --listen=127.0.0.1:8080 -no-lock



DEBUG:
rm /srv/volumes/aptly/db/LOCK

timeout http-request 1200s
timeout queue 1200s
timeout connect 1200s
timeout client 1200s
timeout server 1200s
timeout check 1200s

curl http://192.168.104.50:8084/api/snapshots
curl http://192.168.104.50:8084/api/publish

以上是关于text 适当设置Mirantis CI / CD堆栈的主要内容,如果未能解决你的问题,请参考以下文章

text Gitlab CI / CD

将 GitLab CI CD 管道的 .text 输出发送到工件模块

text Jenkin管道定义示例将在我们的CI / CD环境中与Docker Swarm集群集成

如何正确设置环境变量 Gitlab CI/CD 和 Docker

如何为 ApolloClient 设置环境变量,该变量应该在 CI/CD 的服务器端呈现

使用 CI/CD 管道部署数据库项目时如何设置 SQL 用户密码