-
-
Notifications
You must be signed in to change notification settings - Fork 22
Add init diagram to readme-vars.yml #304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I am a bot, here are the test results for this PR:
|
I am a bot, here are the test results for this PR:
|
I am a bot, here are the test results for this PR:
|
Skip custom readme and images containing
init_diagram: false
Blurb being added to Jenkinsfile was tested locally for the following scenarios:
init_diagram
: addedinit_diagram: false
in readme-vars.yml: not addedThe editing of readme-vars.yml, commit and push to github will have to be tested live after merge unfortunately.I'm not 100% sure the double escapes
\\
in Jenkinsfile are necessary here (I believe they are, but we'll find out after merge for sure).Bash script also tested by manually modifying a synclounge dev branch's Jenkinsfile to manually add an active stage for updating readme-vars.yml.
Git changes to Jenkinsfile here: linuxserver/docker-synclounge@linuxserver:b16e431...linuxserver:48a66f2#diff-e6ffa5dc854b843b3ee3c3c28f8eae2f436c2df2b1ca299cca1fa5982e390cf8
First jenkins build: https://ci.linuxserver.io/blue/organizations/jenkins/Docker-Pipeline-Builders%2Fdocker-synclounge/detail/readme-test/10/pipeline/108
Bot commit with readme-vars.yml update: linuxserver/docker-synclounge@48a66f2
Second build: https://ci.linuxserver.io/blue/organizations/jenkins/Docker-Pipeline-Builders%2Fdocker-synclounge/detail/readme-test/11/pipeline/108
Downsides:
yq -ie
reformats the readme-vars.yml and makes the following changes:{
}
and values (ie.- { cap_add_var: "NET_ADMIN" }
becomes- {cap_add_var: "NET_ADMIN"}
throughout the readme-vars.yml)Needs linuxserver/docker-d2-builder#2 merged