followmetech / jenkins-cicd Goto Github PK
View Code? Open in Web Editor NEWtool for devops (jenkins + docker + portainer)
License: Apache License 2.0
tool for devops (jenkins + docker + portainer)
License: Apache License 2.0
jenkins作为中心,用户部署需要在运行jenkins的机器打包镜像,但是打包完的镜像非常占用本地资源,能否添加构建完容器推到远程仓库后,删除本地镜像的操作
作者你好,我使用您这份代码的时候,需要我们传入一个容器启动命令,而不是使用dockerfile里面的命令,我用的portainer版本为1.20,修改您的接口如下,但是命令没有运行,请问您用的portainer的API应该怎么怎么写?
这是构造的payload:
{"Env": ["ASPNETCORE_ENVIRONMENT=Development"], "Image": "10.65.65.199:4000/web_app:ttt", "ExposedPorts": {"8000/tcp": {}}, "HostConfig": {"NetworkMode": "bridge", "PortBindings": {"8000/tcp": [{"HostIp": "", "HostPort": "8001"}]}, "RestartPolicy": {"Name": "always", "MaximumRetryCount": 0}}, "Command": "bash web_svc_start.sh --broker-url 127.0.0.1:5672 --backend-url 127.0.0.1:30379 --Port 8000"}
Is your feature request related to a problem? Please describe.
目前docker.py 的脚本是基于portainer 1.16来做的,最新版的API有变动,需要同步升级
Describe the solution you'd like
update API
作者你好,我在使用参考您的代码过程中,发现一个问题,getting-start.md
里面的install jenkins-plugins的bash [./tools/bulter ]butler plugins import --server localhost:8080 --username admin --password admin这一行,不知道是怎么使用?bulter不能bash运行,并且也不能被Jenkins识别为插件,是否可以麻烦解答一下。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.