Skip to content

chmouel/waashup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

waashup

Keep your tekton task and pipleine images updated

Description

waashup is a simple shell script, checking if your image in your tekton tasks that has a sha256 is kept updated.

It uses skopeo to inspect the remote registry for a new Digest.

It will try to optimize and only fetch once.

It output it in a simple make format with :

file:LINE: message

so you can plug this in your EDITOR or anything that understand that format

Screenshot

image

Installation

Copy the shell script somewhere

Requirements

Usage

You simply need to pass the yaml files as argument.

It will try to detect for linux/amd64 platforms by default. If you want another platform/os you can set the env variable TARGET_OS TARGET_ARCH or set the -o (for a TARGET_OS) or -a (for a TARGET_ARCH) to redefine them.

It will only print the images that are not up to date. Unless you use the option -i and it will do the replacement in place.

TODO

  • Use python-yaml to go to avoid shell quoting issues and better image detection
  • Handle tags?

BUGS

  • may be buggy with some characters due of shell quoting issues.

Copyright

Apache-2.0

Authors

Chmouel Boudjnah

About

Keep your tekton task and pipleine images updated

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages