summaryrefslogtreecommitdiff
path: root/cmd
AgeCommit message (Collapse)Author
2025-01-07Move references for kube, image, registry to registry-scanner (#998)Ishita Sequeira
Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2025-01-06move pkg/health out of registry-scanner (#995)Ishita Sequeira
Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2024-12-19Update references of cache, env, health to use modules from registry-scanner ↵Ishita Sequeira
(#972) Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2024-12-16Update references of pkg/tag pkg/log pkg/options to use modules from ↵Ishita Sequeira
registry-scanner (#962) Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
2024-11-14chore(deps): upgrade argo-cd from 2.11.7 to 2.13.0 (#936)Cheng Fang
Signed-off-by: Cheng Fang <cfang@redhat.com> Co-authored-by: Jann Fischer <jann@mistrust.net>
2024-10-04chore(deps): bump google.golang.org/grpc from 1.59.0 to 1.67.1 (#876)dependabot[bot]
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12chore: update test cmd update-strategy description to include all 4 values ↵Cheng Fang
(semver, newest-build, alphabetical, digest) (#864) Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-08-13feat!: Filter labels on the server instead of client to allow more label ↵jnovick
filtering options (#832) Signed-off-by: Joshua Novick <joshua.novick@hunters.ai>
2024-07-02chore(tests): add unit tests for cmd/test.go (#766)Cheng Fang
Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-07-02chore(tests): add unit tests for cmd/template.go, cmd/util.go and ↵Mangaal
cmd/version.go (#765) Signed-off-by: Mangaal <angommeeteimangaal@gmail.com>
2024-07-02add unit tests for cmd/main.go and cmd/run.go (#764)Cheng Fang
Signed-off-by: Cheng Fang <cfang@redhat.com>
2024-06-18feat: Support for signing commits with gpg and ssh (#710)Dustin Lactin
Signed-off-by: Dustin Lactin <dustin.lactin@gmail.com>
2024-06-16adding tests for ask_pass cmdzhaque44
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2024-06-14fix: Make Git credentials work again (#737)Jann Fischer
* fix: Make Git credentials work again Signed-off-by: jannfis <jann@mistrust.net> * Update Signed-off-by: jannfis <jann@mistrust.net> --------- Signed-off-by: jannfis <jann@mistrust.net>
2022-11-15fix: update application config sample & replace the deprecated ioutil pkg (#492)YTCai
* docs: update application config sample Signed-off-by: CaiYueTing <qazxcv367tasi@gmail.com> * fix: use os read/write instead of deprecated ioutil read/write package Signed-off-by: CaiYueTing <qazxcv367tasi@gmail.com> * fix: use io, os pkg instead of all of the ioutil pkg Signed-off-by: CaiYueTing <qazxcv367tasi@gmail.com> Signed-off-by: CaiYueTing <qazxcv367tasi@gmail.com>
2022-03-13chore: Log warning in test command on unsupported container platform (#397)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2022-03-13feat: Support multiple platforms for test command (#396)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2022-01-24feat: support filtering apps by label in CLI (#368)Jaideep Raghunath Rao
2022-01-19refactor: Refactor logging to provide more context information (#357)jannfis
* refactor: Refactor logging to provide more context information Signed-off-by: jannfis <jann@mistrust.net> * More context Signed-off-by: jannfis <jann@mistrust.net> * Fix unit tests Signed-off-by: jannfis <jann@mistrust.net>
2022-01-12refactor: rename VersionSortMode to UpdateStrategy (#343)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2022-01-12fix: Fetch metadata for multi-arch images with latest strategy (#342)jannfis
* fix: Fetch metadata for multi-arch images with latest strategy Signed-off-by: jannfis <jann@mistrust.net> * Simplify Signed-off-by: jannfis <jann@mistrust.net>
2022-01-11feat: Support manifestlist and multi-arch images (#341)jannfis
* feat: Support manifestlist and multi-arch images Signed-off-by: jannfis <jann@mistrust.net> * Add unit test Signed-off-by: jannfis <jann@mistrust.net> * Fix linter issue Signed-off-by: jannfis <jann@mistrust.net>
2021-11-10fix: Rename flag to specify registries config path (#290) (#295)Jan Pieper
Signed-off-by: Jan Pieper <kontakt@jan-pieper.info>
2021-11-06fix: Allow use of in-cluster kube-client for test-command (#288) (#293)Jan Pieper
* Use in-cluster kube client unless k8s is disabled * Assign `ctx` only if needed Signed-off-by: Jan Pieper <kontakt@jan-pieper.info> Co-authored-by: Jan Pieper <kontakt@jan-pieper.info>
2021-10-28fix: Use correct registry URL for parsing pull secrets (#285)jannfis
2021-09-15feat: allow overriding registry rate limit in test command (#256)jannfis
* feat: allow overriding registry rate limit in test command Signed-off-by: jannfis <jann@mistrust.net> * Add pflag to go.mod Signed-off-by: jannfis <jann@mistrust.net> * Fix linter issue Signed-off-by: jannfis <jann@mistrust.net> * go mod tidy Signed-off-by: jannfis <jann@mistrust.net>
2021-09-15refactor: Move CLI commands into their own files (#254)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2021-04-14feat: Allow setting custom Git commit messages (#193)jannfis
* feat: Support Git commit message templates Signed-off-by: jannfis <jann@mistrust.net> * More templating Signed-off-by: jannfis <jann@mistrust.net> * Update Signed-off-by: jannfis <jann@mistrust.net> * Make TemplateCommitMessage public Signed-off-by: jannfis <jann@mistrust.net> * Update Signed-off-by: jannfis <jann@mistrust.net> * Update Signed-off-by: jannfis <jann@mistrust.net> * Introduce git.CommitOptions{} Signed-off-by: jannfis <jann@mistrust.net> * Update documentation for commit message templates Signed-off-by: jannfis <jann@mistrust.net> * Add unit tests Signed-off-by: jannfis <jann@mistrust.net> * Update manifests Signed-off-by: jannfis <jann@mistrust.net> * Fix typo in docs Signed-off-by: jannfis <jann@mistrust.net> * Fix linter issues Signed-off-by: jannfis <jann@mistrust.net> * Fix linter issues Signed-off-by: jannfis <jann@mistrust.net>
2021-03-29fix: Prevent concurrent updates to git repositories (#177)Bartosz Sławianowski
* Add method docs and RequiresLocking method
2021-03-26feat: #164 Send events on image change (#167)Miguel Ángel García
* Send events on image change * fix lints * fix the rest of lints * Addressing feedback: parameterize kubeEvents * small fixes * Running kustomize * try to fix the problem after running make manifests * Move the message to the correct place * reduce annotation size and randomness * Provide full image names as well * goimports/lint
2021-01-31feat: Allow setting Git user and e-mail for commits (#153)jannfis
* feat: Allow setting Git user and e-mail for commits Signed-off-by: jannfis <jann@mistrust.net> * Also allow setting git.user and git.email from configmap * Update docs to include information about Git commit author Signed-off-by: jannfis <jann@mistrust.net> * Update spelling * Add some unit tests Signed-off-by: jannfis <jann@mistrust.net> * Fix linter Signed-off-by: jannfis <jann@mistrust.net>
2021-01-25feat: support managing Application CRD using K8S client (#140) (#144)Alexander Matyushentsev
* feat: support managing Application CRD using K8S client (#140) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * apply review notes Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2021-01-22feat: Allow reuse of Argo CD repo credentials (#141)Alexander Matyushentsev
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2020-12-30refactor: Rename package client to kube (#135)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2020-12-05feat: Enable test command to specify per-image credentials (#127)jannfis
Signed-off-by: jannfis <jann@mistrust.net>
2020-12-04feat: Export Prometheus compatible metrics (#123)jannfis
* feat: Export Prometheus compatible metrics Signed-off-by: jannfis <jann@mistrust.net> * adapt spelling action configuration Signed-off-by: jannfis <jann@mistrust.net> * adapt spelling action configuration Signed-off-by: jannfis <jann@mistrust.net>
2020-11-23feat: Support for getting pull creds from external scripts (#121)jannfis
* feat: Support for getting pull creds from external scripts * spelling * be more verbose on error
2020-11-22feat: add argocd-image-updater test command (#117)jannfis
* feat: New test command Signed-off-by: jannfis <jann@mistrust.net> * Add --ignore-tags and rename --strategy to --update-strategy * Update command description & add examples Signed-off-by: jannfis <jann@mistrust.net>
2020-09-27chore: Externalize version & build information (#104)jannfis
* chore: Externalize version information * Use full Git commit information * Introduce short and long version information * Typos * More typos
2020-09-26feat: Allow setting log level from configmap (and environment) (#100)jannfis
* feat: Allow setting log level from configmap (and environment) Also, updates getting started docs. * Update manifests
2020-08-27feat: Warm-up image cache on startup (#77)jannfis
* enhancement: Warm up cache before starting update cycle * fix typos * More typos
2020-08-24enhancement: Slightly increase verbosity in default log level (#69)jannfis
2020-08-19feat: Allow filtering by application name (#66)jannfis
* feat: Allow filtering by application name * include allowed word otherapp
2020-08-17fix: Use a default path for registries.conf (#60)jannfis
2020-08-16fix: Correctly load registry configuration and handle errors (#56)jannfis
2020-08-12refactor: Move update logic to argocd package and provide more tests (#45)jannfis
* refactor: Move update logic to argocd package and provide more tests * Fix typos
2020-08-12refactor: Make ArgoCD client mockable and add unit tests (#44)jannfis
* refactor: Make ArgoCD client mockable and add unit tests * Allow some more words in spelling
2020-08-12refactor: Give env methods their own package (#43)jannfis
* Give env methods their own package * Fix typo * Ignore mocks for spelling - they're auto generated, we can't fix them * More spelling exceptions
2020-08-12refactor: Make registry client mockable and provide first set of unit tests ↵jannfis
(#42) * refactor: Redesign of registry client * More unit tests * Sneak in some GH actions related change
2020-08-11chore: Fix typos (#40)jannfis