Skip to content

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

Merged
merged 4 commits into from
Nov 25, 2024
Merged

Add init diagram to readme-vars.yml #304

merged 4 commits into from
Nov 25, 2024

Conversation

aptalca
Copy link
Member

@aptalca aptalca commented Nov 23, 2024

Skip custom readme and images containing init_diagram: false

Blurb being added to Jenkinsfile was tested locally for the following scenarios:

  1. custom readme: not added
  2. no init_diagram: added
  3. init_diagram: false in readme-vars.yml: not added

The 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:

  • Removes all empty lines between yaml keys
  • Removes all empty space betwen braces { } 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

@aptalca aptalca requested a review from a team November 23, 2024 20:51
@aptalca aptalca mentioned this pull request Nov 23, 2024
1 task
@LinuxServer-CI
Copy link
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/jenkins-builder/1953132c-pkg-1953132c-dev-329b0459956d5e0e88b3c44f9fb1b5b12ef2ec55-pr-304/index.html
https://ci-tests.linuxserver.io/lspipepr/jenkins-builder/1953132c-pkg-1953132c-dev-329b0459956d5e0e88b3c44f9fb1b5b12ef2ec55-pr-304/shellcheck-result.xml

Tag Passed
amd64-1953132c-pkg-1953132c-dev-329b0459956d5e0e88b3c44f9fb1b5b12ef2ec55-pr-304
arm64v8-1953132c-pkg-1953132c-dev-329b0459956d5e0e88b3c44f9fb1b5b12ef2ec55-pr-304

@LinuxServer-CI
Copy link
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/jenkins-builder/1953132c-pkg-1953132c-dev-6dd3388a8736a8a2a884f3fccc82c15fd8784352-pr-304/index.html
https://ci-tests.linuxserver.io/lspipepr/jenkins-builder/1953132c-pkg-1953132c-dev-6dd3388a8736a8a2a884f3fccc82c15fd8784352-pr-304/shellcheck-result.xml

Tag Passed
amd64-1953132c-pkg-1953132c-dev-6dd3388a8736a8a2a884f3fccc82c15fd8784352-pr-304
arm64v8-1953132c-pkg-1953132c-dev-6dd3388a8736a8a2a884f3fccc82c15fd8784352-pr-304

@LinuxServer-CI
Copy link
Contributor

I am a bot, here are the test results for this PR:
https://ci-tests.linuxserver.io/lspipepr/jenkins-builder/1953132c-pkg-1953132c-dev-710a31cfc3ea7907a4db304b2197764ec9f81744-pr-304/index.html
https://ci-tests.linuxserver.io/lspipepr/jenkins-builder/1953132c-pkg-1953132c-dev-710a31cfc3ea7907a4db304b2197764ec9f81744-pr-304/shellcheck-result.xml

Tag Passed
amd64-1953132c-pkg-1953132c-dev-710a31cfc3ea7907a4db304b2197764ec9f81744-pr-304
arm64v8-1953132c-pkg-1953132c-dev-710a31cfc3ea7907a4db304b2197764ec9f81744-pr-304

@aptalca aptalca merged commit 1559e39 into monthly Nov 25, 2024
5 checks passed
@aptalca aptalca deleted the init-diagram branch November 25, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants