Skip to content

Instantly share code, notes, and snippets.

@gounthar
Created November 25, 2023 18:55
Show Gist options
  • Save gounthar/d0a4047fc3ad655e79d493178b6bc51e to your computer and use it in GitHub Desktop.
Save gounthar/d0a4047fc3ad655e79d493178b6bc51e to your computer and use it in GitHub Desktop.
updatecli apply --debug --config updatecli/updatecli.d/ssh-agent.yaml --values updatecli/values .github-action.yaml
updatecli apply --debug --config updatecli/updatecli.d/ssh-agent.yaml --values updatecli/values
.github-action.yaml
Repo: https://github.com/gounthar/quickstart-tutorials/tree/updatecli
+++++++++++
+ PREPARE +
+++++++++++
Loading Pipeline "updatecli/updatecli.d/ssh-agent.yaml"
DEBUG: pipelineid undefined, we'll try to generate one
DEBUG: using pipeline name to generate the pipelineid
SCM repository retrieved: 0
++++++++++++++++++
+ AUTO DISCOVERY +
++++++++++++++++++
++++++++++++
+ PIPELINE +
++++++++++++
#################################################
# BUMP DOCKER IMAGE TAG FOR "JENKINS/SSH-AGENT" #
#################################################
SOURCES
=======
jenkins/ssh-agent
-----------------
DEBUG: Searching tags for the image "index.docker.io/jenkins/ssh-agent"
DEBUG: 646 Docker image tag(s) found
Searching for version matching pattern ">=5.20.0"
βœ” Docker Image Tag "5.20.0" found matching pattern ">=5.20.0"
DEBUG: empty changelog found for the source
TARGETS
========
default-agent
-------------
jenkins/maven-agent
-------------------
DEBUG:
πŸ‹ On (Docker)file "dockerfiles/maven/Dockerfile":
βœ” The line #1, matched by the keyword "FROM" and the matcher "jenkins/ssh-agent", is correctly set to "FROM jenkins/ssh-agent:5.20.0 as ssh-agent".
DEBUG: no change detected "dockerfiles/maven/Dockerfile", nothing else to do
βœ” - changed lines [] of file "dockerfiles/maven/Dockerfile"
jenkins/multibranch-agent
-------------------------
DEBUG:
πŸ‹ On (Docker)file "dockerfiles/multi/Dockerfile":
βœ” The line #1, matched by the keyword "FROM" and the matcher "jenkins/ssh-agent", is correctly set to "FROM jenkins/ssh-agent:5.20.0 as ssh-agent".
DEBUG: no change detected "dockerfiles/multi/Dockerfile", nothing else to do
βœ” - changed lines [] of file "dockerfiles/multi/Dockerfile"
jenkins/node-agent
------------------
DEBUG:
πŸ‹ On (Docker)file "dockerfiles/node/Dockerfile":
βœ” The line #1, matched by the keyword "FROM" and the matcher "jenkins/ssh-agent", is correctly set to "FROM jenkins/ssh-agent:5.20.0 as ssh-agent".
DEBUG: no change detected "dockerfiles/node/Dockerfile", nothing else to do
βœ” - changed lines [] of file "dockerfiles/node/Dockerfile"
jenkins/python-agent
--------------------
DEBUG:
πŸ‹ On (Docker)file "dockerfiles/python/Dockerfile":
βœ” The line #4, matched by the keyword "FROM" and the matcher "jenkins/ssh-agent", is correctly set to "FROM jenkins/ssh-agent:5.20.0 as ssh-agent".
DEBUG: no change detected "dockerfiles/python/Dockerfile", nothing else to do
βœ” - changed lines [] of file "dockerfiles/python/Dockerfile"
default-build-agent
-------------------
βœ” - key "$.services.default_agent.image" already set to "jenkins/ssh-agent:5.20.0", from file "build-docker-compose.yaml"
ERROR: something went wrong in target "default-agent" : "updating yaml file: parsing yaml file: [177:1] unexpected key name\n 174 | - agent-ssh-dir:/home/jenkins/.ssh:ro # Mounts the agent-ssh-dir volume to the /home/jenkins/.ssh path inside the container as read-only\r\n 175 | \r\n 176 | volumes:\r\n > 177 | jenkins_home:\n ^\n 179 | agent-ssh-dir:\r\n 180 | name: agent-ssh-dir # Creates a named volume called agent-ssh-dir\r"
Pipeline "Bump Docker image tag for \"jenkins/ssh-agent\"" failed
Skipping due to:
targets stage: "something went wrong during target execution"
=============================
REPORTS:
βœ— Bump Docker image tag for "jenkins/ssh-agent":
Source:
βœ” [jenkins/ssh-agent] [jenkins/ssh-agent] Get latest Docker image tag
Target:
βœ— [default-agent] [jenkins/ssh-agent] Bump Docker image tag in "docker-compose.yaml"
βœ” [default-build-agent] [jenkins/ssh-agent] Bump Docker image tag in "build-docker-compose.yaml"
βœ” [jenkins/maven-agent] [jenkins/ssh-agent] Bump Docker image tag in "dockerfiles/maven/Dockerfile"
βœ” [jenkins/multibranch-agent] [jenkins/ssh-agent] Bump Docker image tag in "dockerfiles/multi/Dockerfile"
βœ” [jenkins/node-agent] [jenkins/ssh-agent] Bump Docker image tag in "dockerfiles/node/Dockerfile"
βœ” [jenkins/python-agent] [jenkins/ssh-agent] Bump Docker image tag in "dockerfiles/python/Dockerfile"
Run Summary
===========
Pipeline(s) run:
* Changed: 0
* Failed: 1
* Skipped: 0
* Succeeded: 0
* Total: 1
ERROR: βœ— 1 over 1 pipeline failed
ERROR: command failed: 1 over 1 pipeline failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment