Skip to content

Instantly share code, notes, and snippets.

@gounthar
Created November 24, 2023 21:46
Show Gist options
  • Save gounthar/7699bf5fdd0be74ea29b1972bbc0e4df to your computer and use it in GitHub Desktop.
Save gounthar/7699bf5fdd0be74ea29b1972bbc0e4df to your computer and use it in GitHub Desktop.
Running updatecli in autodiscovery mode for the repo https://github.com/gounthar/quickstart-tutorials/tree/clean-up
Repo https://github.com/gounthar/quickstart-tutorials/tree/clean-up
updatecli apply --experimental
Experimental Mode Enabled
+++++++++++
+ PREPARE +
+++++++++++
SCM repository retrieved: 0
++++++++++++++++++
+ AUTO DISCOVERY +
++++++++++++++++++
+++++++++++++++++++++++
+ LOCAL AUTODISCOVERY +
+++++++++++++++++++++++
WARNING: No platforms specified, we fallback to linux_amd64, linux_arm64, darwin_amd64, darwin_arm64
TERRAFORM
==========
0 manifests identified
Manifest detected: 0
DOCKER COMPOSE
===============
WARNING: => No matching rule identified for Docker image tag "simple_controller_${BRANCH_SUFFIX}", feel free to ignore this image with a manifest or to suggest a new rule on https://github.com/updatecli/updatecli/issues/new/choose
WARNING: no tag pattern identify
No source spec detected
WARNING: => No matching rule identified for Docker image tag "maven_agent_${BRANCH_SUFFIX}", feel free to ignore this image with a manifest or to suggest a new rule on https://github.com/updatecli/updatecli/issues/new/choose
WARNING: no tag pattern identify
No source spec detected
WARNING: => No matching rule identified for Docker image tag "node_agent_${BRANCH_SUFFIX}", feel free to ignore this image with a manifest or to suggest a new rule on https://github.com/updatecli/updatecli/issues/new/choose
WARNING: no tag pattern identify
No source spec detected
WARNING: => No matching rule identified for Docker image tag "multi_controller_${BRANCH_SUFFIX}", feel free to ignore this image with a manifest or to suggest a new rule on https://github.com/updatecli/updatecli/issues/new/choose
WARNING: no tag pattern identify
No source spec detected
WARNING: => No matching rule identified for Docker image tag "node_agent_${BRANCH_SUFFIX}", feel free to ignore this image with a manifest or to suggest a new rule on https://github.com/updatecli/updatecli/issues/new/choose
WARNING: no tag pattern identify
No source spec detected
WARNING: => No matching rule identified for Docker image tag "python_agent_${BRANCH_SUFFIX}", feel free to ignore this image with a manifest or to suggest a new rule on https://github.com/updatecli/updatecli/issues/new/choose
WARNING: no tag pattern identify
No source spec detected
WARNING: => No matching rule identified for Docker image tag "sidekick_${BRANCH_SUFFIX}", feel free to ignore this image with a manifest or to suggest a new rule on https://github.com/updatecli/updatecli/issues/new/choose
WARNING: no tag pattern identify
No source spec detected
Manifest detected: 2
DOCKERFILE
===========
WARNING: no tag specified
WARNING: => No matching rule identified for Docker image tag "\"2.414.2-lts\"", feel free to ignore this image with a manifest or to suggest a new rule on https://github.com/updatecli/updatecli/issues/new/choose
WARNING: no tag pattern identify
WARNING: => No matching rule identified for Docker image tag "bookworm-20231120", feel free to ignore this image with a manifest or to suggest a new rule on https://github.com/updatecli/updatecli/issues/new/choose
WARNING: no tag pattern identify
Manifest detected: 4
GOLANG
=======
0 manifests identified
Manifest detected: 0
HELMFILE
=========
Manifest detected: 0
RANCHER FLEET
==============
Manifest detected: 0
UPDATECLI
==========
Manifest detected: 0
CARGO
======
Manifest detected: 0
HELM
=====
Manifest detected: 0
MAVEN
======
Manifest detected: 0
NPM
====
0 manifests identified
Manifest detected: 0
---
=> Total manifest detected: 6
++++++++++++
+ PIPELINE +
++++++++++++
#######################
# LOCAL AUTODISCOVERY #
#######################
REPORT
=======
Skipping report publishing
#################################################
# BUMP DOCKER IMAGE TAG FOR "JENKINS/SSH-AGENT" #
#################################################
SOURCES
=======
default_agent
-------------
Searching for version matching pattern ">=5.5.0"
✔ Docker Image Tag "5.20.0" found matching pattern ">=5.5.0"
TARGETS
========
default_agent
-------------
⚠ - key "$.services.default_agent.image" updated from "jenkins/ssh-agent:5.5.0" to "jenkins/ssh-agent:5.20.0", in file "build-docker-compose.yaml"
REPORT
=======
Skipping report publishing
#################################################
# BUMP DOCKER IMAGE TAG FOR "JENKINS/SSH-AGENT" #
#################################################
SOURCES
=======
default_agent
-------------
Searching for version matching pattern ">=5.5.0-jdk17"
✔ Docker Image Tag "5.12.0-jdk17" found matching pattern ">=5.5.0-jdk17"
TARGETS
========
default_agent
-------------
ERROR: something went wrong in target "default_agent" : "updating yaml file: parsing yaml file: [178:1] unexpected key name\n > 178 | \r\n 179 | \r\n 180 | volumes:\r\n 181 | jenkins_home:\r\n 182 | agent-ssh-dir:\n ^\n 181 | 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"
#################################################
# BUMP DOCKER IMAGE TAG FOR "JENKINS/SSH-AGENT" #
#################################################
SOURCES
=======
jenkins/ssh-agent
-----------------
Searching for version matching pattern ">=5.20.0"
✔ Docker Image Tag "5.20.0" found matching pattern ">=5.20.0"
TARGETS
========
jenkins/ssh-agent
-----------------
✔ 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".
✔ - changed lines [] of file "dockerfiles/maven/Dockerfile"
REPORT
=======
Skipping report publishing
#################################################
# BUMP DOCKER IMAGE TAG FOR "JENKINS/SSH-AGENT" #
#################################################
SOURCES
=======
jenkins/ssh-agent
-----------------
Searching for version matching pattern ">=5.12.0-jdk17"
✔ Docker Image Tag "5.12.0-jdk17" found matching pattern ">=5.12.0-jdk17"
TARGETS
========
jenkins/ssh-agent
-----------------
✔ The line #1, matched by the keyword "FROM" and the matcher "jenkins/ssh-agent", is correctly set to "FROM jenkins/ssh-agent:5.12.0-jdk17 as ssh-agent".
✔ - changed lines [] of file "dockerfiles/multi/Dockerfile"
REPORT
=======
Skipping report publishing
#################################################
# BUMP DOCKER IMAGE TAG FOR "JENKINS/SSH-AGENT" #
#################################################
SOURCES
=======
jenkins/ssh-agent
-----------------
Searching for version matching pattern ">=5.20.0"
✔ Docker Image Tag "5.20.0" found matching pattern ">=5.20.0"
TARGETS
========
jenkins/ssh-agent
-----------------
✔ 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".
✔ - changed lines [] of file "dockerfiles/node/Dockerfile"
REPORT
=======
Skipping report publishing
#################################################
# BUMP DOCKER IMAGE TAG FOR "JENKINS/SSH-AGENT" #
#################################################
SOURCES
=======
jenkins/ssh-agent
-----------------
Searching for version matching pattern ">=5.20.0"
✔ Docker Image Tag "5.20.0" found matching pattern ">=5.20.0"
TARGETS
========
jenkins/ssh-agent
-----------------
✔ 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".
✔ - changed lines [] of file "dockerfiles/python/Dockerfile"
REPORT
=======
Skipping report publishing
=============================
REPORTS:
✔ Local AutoDiscovery:
⚠ Bump Docker image tag for "jenkins/ssh-agent":
Source:
✔ [default_agent] [jenkins/ssh-agent] Get latest Docker image tag
Target:
⚠ [default_agent] [jenkins/ssh-agent] Bump Docker image tag in "build-docker-compose.yaml"
✗ Bump Docker image tag for "jenkins/ssh-agent":
Source:
✔ [default_agent] [jenkins/ssh-agent] Get latest Docker image tag
Target:
✗ [default_agent] [jenkins/ssh-agent] Bump Docker image tag in "docker-compose.yaml"
✔ Bump Docker image tag for "jenkins/ssh-agent":
Source:
✔ [jenkins/ssh-agent] [jenkins/ssh-agent] Get latest Docker image tag
Target:
✔ [jenkins/ssh-agent] [jenkins/ssh-agent] Bump Docker image tag in "dockerfiles/maven/Dockerfile"
✔ Bump Docker image tag for "jenkins/ssh-agent":
Source:
✔ [jenkins/ssh-agent] [jenkins/ssh-agent] Get latest Docker image tag
Target:
✔ [jenkins/ssh-agent] [jenkins/ssh-agent] Bump Docker image tag in "dockerfiles/multi/Dockerfile"
✔ Bump Docker image tag for "jenkins/ssh-agent":
Source:
✔ [jenkins/ssh-agent] [jenkins/ssh-agent] Get latest Docker image tag
Target:
✔ [jenkins/ssh-agent] [jenkins/ssh-agent] Bump Docker image tag in "dockerfiles/node/Dockerfile"
✔ Bump Docker image tag for "jenkins/ssh-agent":
Source:
✔ [jenkins/ssh-agent] [jenkins/ssh-agent] Get latest Docker image tag
Target:
✔ [jenkins/ssh-agent] [jenkins/ssh-agent] Bump Docker image tag in "dockerfiles/python/Dockerfile"
Run Summary
===========
Pipeline(s) run:
* Changed: 1
* Failed: 1
* Skipped: 0
* Succeeded: 5
* Total: 7
ERROR: ✗ 1 over 7 pipeline failed
ERROR: command failed: 1 over 7 pipeline failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment