Skip to content

Commit ce29769

Browse files
Merge branch 'master' into patch-1
2 parents edec364 + de42080 commit ce29769

File tree

8 files changed

+79
-74
lines changed

8 files changed

+79
-74
lines changed

.github/workflows/ci-tests.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,17 @@ jobs:
5959
steps:
6060
- name: Checkout code
6161
uses: actions/checkout@v3
62+
- name: Setup Golang
63+
uses: actions/setup-go@v4
64+
with:
65+
go-version: '1.20'
66+
cache: false
67+
env:
68+
GO111MODULE: off
6269
- name: Run golangci-lint
63-
uses: golangci/golangci-lint-action@v3
70+
uses: golangci/golangci-lint-action@v5
6471
with:
65-
version: v1.52.2
72+
version: v1.57.2
6673
args: --timeout 5m
6774
test:
6875
name: Ensure unit tests are passing

.golangci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
run:
22
timeout: 2m
3-
skip-files:
4-
- ".*\\.pb\\.go"
5-
skip-dirs:
6-
- vendor/
73
linters:
84
enable:
95
- vet
@@ -15,5 +11,8 @@ linters:
1511
linters-settings:
1612
goimports:
1713
local-prefixes: github.com/argoproj-labs/argocd-image-updater
18-
service:
19-
golangci-lint-version: 1.52.2
14+
issues:
15+
exclude-files:
16+
- ".*\\.pb\\.go"
17+
exclude-dirs:
18+
- vendor/

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ FROM alpine:latest
1414

1515
RUN apk update && \
1616
apk upgrade && \
17-
apk add ca-certificates git openssh-client python3 py3-pip tini && \
18-
pip3 install --upgrade pip && \
19-
pip3 install awscli && \
17+
apk add ca-certificates git openssh-client aws-cli tini && \
2018
rm -rf /var/cache/apk/*
2119

2220
RUN mkdir -p /usr/local/bin

docs/basics/update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ The workflow of Argo CD Image Updater can be described as follows:
3232
* If Argo CD Image Updater considers an image from the list eligible for an
3333
update check, it will connect the corresponding container registry to see
3434
if there is a newer version of the image according to the
35-
[update strategy](../update-strategies/)
35+
[update strategy](../basics/update-strategies.md)
3636
and other constraints that may have been configured for the image (e.g.
3737
a list of tags that are allowed to consider).
3838

3939
* If a newer version of an image was found, Argo CD Image Updater will try
4040
to update the image according to the configured
41-
[update method](../update-methods/). Please note that Argo CD Image Updater will
41+
[update method](../basics/update-methods.md). Please note that Argo CD Image Updater will
4242
never update your manifests, instead it re-configures your Application
4343
sources to use the new image tag, and control is handed over to Argo CD.
4444

docs/install/installation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ Argo CD is running. Don't worry, without any configuration, it will not start me
1919
We also provide a Kustomize base in addition to the plain Kubernetes YAML
2020
manifests. You can use it as remote base and create overlays with your
2121
configuration on top of it. The remote base's URL is
22-
`https://github.com/argoproj-labs/argocd-image-updater/manifests/base`
22+
`https://github.com/argoproj-labs/argocd-image-updater/manifests/base`.
23+
You can view the manifests [here](https://github.com/argoproj-labs/argocd-image-updater/tree/stable/manifests/base)
2324

2425
### Apply the installation manifests
2526

go.mod

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ go 1.20
44

55
require (
66
github.com/Masterminds/semver/v3 v3.2.1
7-
github.com/argoproj/argo-cd/v2 v2.8.4
7+
github.com/argoproj/argo-cd/v2 v2.8.17
88
github.com/argoproj/gitops-engine v0.7.1-0.20230607163028-425d65e07695
99
github.com/argoproj/pkg v0.13.7-0.20230627120311-a4dd357b057e
1010
github.com/bradleyfalzon/ghinstallation v1.1.1
1111
github.com/distribution/distribution/v3 v3.0.0-20230722181636-7b502560cad4
12-
github.com/go-git/go-git/v5 v5.8.1
12+
github.com/go-git/go-git/v5 v5.11.0
1313
github.com/miracl/conflate v1.3.2
1414
github.com/opencontainers/go-digest v1.0.0
1515
github.com/opencontainers/image-spec v1.1.0-rc.3
@@ -20,7 +20,7 @@ require (
2020
github.com/spf13/pflag v1.0.5
2121
github.com/stretchr/testify v1.8.4
2222
go.uber.org/ratelimit v0.3.0
23-
golang.org/x/crypto v0.14.0
23+
golang.org/x/crypto v0.21.0
2424
golang.org/x/exp v0.0.0-20230728194245-b0cb94b80691
2525
golang.org/x/sync v0.3.0
2626
gopkg.in/yaml.v2 v2.4.0
@@ -33,7 +33,7 @@ require (
3333

3434
require (
3535
cloud.google.com/go v0.110.4 // indirect
36-
cloud.google.com/go/iam v1.1.0 // indirect
36+
cloud.google.com/go/iam v1.1.1 // indirect
3737
cloud.google.com/go/storage v1.33.0 // indirect
3838
github.com/BurntSushi/toml v0.3.1 // indirect
3939
github.com/ghodss/yaml v1.0.0 // indirect
@@ -46,12 +46,12 @@ require (
4646
go.opencensus.io v0.24.0 // indirect
4747
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
4848
google.golang.org/api v0.132.0 // indirect
49-
google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130 // indirect
49+
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98 // indirect
5050
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
5151
)
5252

5353
require (
54-
cloud.google.com/go/compute v1.20.1 // indirect
54+
cloud.google.com/go/compute v1.21.0 // indirect
5555
cloud.google.com/go/compute/metadata v0.2.3 // indirect
5656
dario.cat/mergo v1.0.0 // indirect
5757
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
@@ -63,8 +63,7 @@ require (
6363
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
6464
github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd // indirect
6565
github.com/Microsoft/go-winio v0.6.1 // indirect
66-
github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect
67-
github.com/acomagu/bufpipe v1.0.4 // indirect
66+
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
6867
github.com/benbjohnson/clock v1.3.0 // indirect
6968
github.com/beorn7/perks v1.0.1 // indirect
7069
github.com/bmatcuk/doublestar/v4 v4.6.0 // indirect
@@ -74,6 +73,7 @@ require (
7473
github.com/chai2010/gettext-go v0.0.0-20170215093142-bf70f2a70fb1 // indirect
7574
github.com/cloudflare/circl v1.3.3 // indirect
7675
github.com/coreos/go-oidc/v3 v3.6.0 // indirect
76+
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
7777
github.com/davecgh/go-spew v1.1.1 // indirect
7878
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
7979
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
@@ -89,7 +89,7 @@ require (
8989
github.com/fvbommel/sortorder v1.0.1 // indirect
9090
github.com/go-errors/errors v1.4.2 // indirect
9191
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
92-
github.com/go-git/go-billy/v5 v5.4.1 // indirect
92+
github.com/go-git/go-billy/v5 v5.5.0 // indirect
9393
github.com/go-jose/go-jose/v3 v3.0.1 // indirect
9494
github.com/go-logr/logr v1.2.4 // indirect
9595
github.com/go-logr/stdr v1.2.2 // indirect
@@ -104,7 +104,7 @@ require (
104104
github.com/golang/protobuf v1.5.3 // indirect
105105
github.com/google/btree v1.1.2 // indirect
106106
github.com/google/gnostic v0.6.9 // indirect
107-
github.com/google/go-cmp v0.5.9 // indirect
107+
github.com/google/go-cmp v0.6.0 // indirect
108108
github.com/google/go-github/v29 v29.0.2 // indirect
109109
github.com/google/go-github/v53 v53.0.0 // indirect
110110
github.com/google/go-querystring v1.1.0 // indirect
@@ -149,7 +149,7 @@ require (
149149
github.com/robfig/cron/v3 v3.0.1 // indirect
150150
github.com/russross/blackfriday v1.6.0 // indirect
151151
github.com/sergi/go-diff v1.1.0 // indirect
152-
github.com/skeema/knownhosts v1.2.0 // indirect
152+
github.com/skeema/knownhosts v1.2.1 // indirect
153153
github.com/stretchr/objx v0.5.0 // indirect
154154
github.com/vmihailenco/go-tinylfu v0.2.2 // indirect
155155
github.com/vmihailenco/msgpack/v5 v5.3.4 // indirect
@@ -161,17 +161,17 @@ require (
161161
go.opentelemetry.io/otel/metric v1.16.0 // indirect
162162
go.opentelemetry.io/otel/trace v1.16.0 // indirect
163163
go.starlark.net v0.0.0-20220328144851-d1966c6b9fcd // indirect
164-
golang.org/x/mod v0.11.0 // indirect
165-
golang.org/x/net v0.17.0 // indirect
164+
golang.org/x/mod v0.12.0 // indirect
165+
golang.org/x/net v0.23.0 // indirect
166166
golang.org/x/oauth2 v0.10.0 // indirect
167-
golang.org/x/sys v0.13.0 // indirect
168-
golang.org/x/term v0.13.0 // indirect
169-
golang.org/x/text v0.13.0 // indirect
167+
golang.org/x/sys v0.18.0 // indirect
168+
golang.org/x/term v0.18.0 // indirect
169+
golang.org/x/text v0.14.0 // indirect
170170
golang.org/x/time v0.3.0 // indirect
171-
golang.org/x/tools v0.6.0 // indirect
171+
golang.org/x/tools v0.13.0 // indirect
172172
google.golang.org/appengine v1.6.7 // indirect
173-
google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130 // indirect
174-
google.golang.org/grpc v1.56.2 // indirect
173+
google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 // indirect
174+
google.golang.org/grpc v1.58.3 // indirect
175175
google.golang.org/protobuf v1.31.0 // indirect
176176
gopkg.in/inf.v0 v0.9.1 // indirect
177177
gopkg.in/warnings.v0 v0.1.2 // indirect

0 commit comments

Comments
 (0)