Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: critical and high vulnerabilities (Cr 24607 sync v1.9.2) #379

Closed
wants to merge 124 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
cf169ff
Update quick_start.md (#2965)
scubbo Jan 9, 2024
e8ea111
chore(deps): bump github.com/Azure/azure-event-hubs-go/v3 from 3.6.0 …
dependabot[bot] Jan 13, 2024
e765f50
chore(deps): bump google.golang.org/api from 0.155.0 to 0.156.0 (#2974)
dependabot[bot] Jan 13, 2024
ffd53d5
chore(deps): bump github.com/nats-io/nats.go from 1.31.0 to 1.32.0 (#…
dependabot[bot] Jan 13, 2024
a387d5c
chore(deps): bump google.golang.org/api from 0.156.0 to 0.157.0 (#2981)
dependabot[bot] Jan 20, 2024
914490e
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity fr…
dependabot[bot] Jan 20, 2024
1bc102b
chore(deps): bump github.com/xanzy/go-gitlab from 0.95.2 to 0.96.0 (#…
dependabot[bot] Jan 20, 2024
8fa1ae5
chore(deps): bump github.com/cloudevents/sdk-go/v2 from 2.13.0 to 2.1…
dependabot[bot] Jan 20, 2024
2cc883b
chore(deps): bump cloud.google.com/go/pubsub from 1.33.0 to 1.34.0 (#…
dependabot[bot] Jan 20, 2024
fcf98dd
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/messaging/azs…
dependabot[bot] Jan 20, 2024
74f47a9
chore(deps): bump actions/cache from 3 to 4 (#2987)
dependabot[bot] Jan 20, 2024
1220e33
Replace url https://not-existing.com/ with https://invalid.com/ (#299…
BabisK Jan 27, 2024
4f9e283
adding base/kafka_test.go for code coverage (#2990)
zhaque44 Jan 27, 2024
5c4b0d4
chore(deps): bump google.golang.org/grpc from 1.60.1 to 1.61.0 (#2998)
dependabot[bot] Jan 27, 2024
2e4a178
chore(deps): bump cloud.google.com/go/pubsub from 1.34.0 to 1.36.0 (#…
dependabot[bot] Jan 27, 2024
ff9de1f
chore(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 (#3001)
dependabot[bot] Jan 27, 2024
33a5cef
chore(deps): bump google.golang.org/api from 0.157.0 to 0.159.0 (#3000)
dependabot[bot] Jan 27, 2024
ab388a0
feat: add waitTime config field to azure queue storage event source (…
eduardodbr Jan 30, 2024
c5d24d5
chore(deps): bump peter-evans/create-pull-request from 5 to 6 (#3005)
dependabot[bot] Feb 3, 2024
6e547f1
chore(deps): bump sigstore/cosign-installer from 3.3.0 to 3.4.0 (#3006)
dependabot[bot] Feb 3, 2024
58fd5c5
chore(deps): bump github.com/apache/pulsar-client-go from 0.11.1 to 0…
dependabot[bot] Feb 3, 2024
08bc41e
chore(deps): bump cloud.google.com/go/pubsub from 1.36.0 to 1.36.1 (#…
dependabot[bot] Feb 3, 2024
9ace10d
chore(deps): bump google.golang.org/api from 0.159.0 to 0.161.0 (#3009)
dependabot[bot] Feb 3, 2024
9c1617a
chore(deps): bump golang.org/x/crypto from 0.18.0 to 0.19.0 (#3012)
dependabot[bot] Feb 10, 2024
0ece63f
chore(deps): bump github.com/xanzy/go-gitlab from 0.96.0 to 0.97.0 (#…
dependabot[bot] Feb 10, 2024
609570f
chore(deps): bump github.com/IBM/sarama from 1.42.0 to 1.42.2 (#3015)
dependabot[bot] Feb 10, 2024
515c822
chore(deps): bump google.golang.org/api from 0.161.0 to 0.163.0 (#3013)
dependabot[bot] Feb 10, 2024
ffd9b98
chore(deps): bump github.com/ktrysmt/go-bitbucket from 0.9.73 to 0.9.…
dependabot[bot] Feb 10, 2024
a1626b6
chore: upgrade argo to 3.5.4
whynowy Feb 13, 2024
dd277ad
Update manifests to v1.9.1
whynowy Feb 13, 2024
2d1d9a1
chore(deps): bump google.golang.org/grpc from 1.61.0 to 1.61.1 (#3022)
dependabot[bot] Feb 17, 2024
1c3a484
chore(deps): bump github.com/tidwall/gjson from 1.17.0 to 1.17.1 (#3023)
dependabot[bot] Feb 17, 2024
6d4823a
chore(deps): bump github.com/slack-go/slack from 0.12.2 to 0.12.4 (#3…
dependabot[bot] Feb 17, 2024
c9914a9
chore(deps): bump github.com/ktrysmt/go-bitbucket from 0.9.75 to 0.9.…
dependabot[bot] Feb 17, 2024
47ea50f
chore(deps): bump github.com/nats-io/nats.go from 1.32.0 to 1.33.1 (#…
dependabot[bot] Feb 17, 2024
ca185a5
chore(deps): bump google.golang.org/api from 0.163.0 to 0.165.0 (#3028)
dependabot[bot] Feb 17, 2024
b343bca
chore(deps): bump github.com/minio/minio-go/v7 from 7.0.66 to 7.0.67 …
dependabot[bot] Feb 17, 2024
50fddbe
Update quickstart with link to Argo Workflows versions, set as ENV VA…
blhagadorn Feb 19, 2024
a8333d8
fix: do not overwrite the entrypoint of nats-server-config-reloader (…
yulin-li Feb 19, 2024
e5abfff
chore(deps): bump google.golang.org/grpc from 1.61.1 to 1.62.0 (#3034)
dependabot[bot] Feb 24, 2024
e4f0902
chore(deps): bump github.com/cloudevents/sdk-go/v2 from 2.15.0 to 2.1…
dependabot[bot] Feb 24, 2024
c328747
chore(deps): bump github.com/IBM/sarama from 1.42.2 to 1.43.0 (#3037)
dependabot[bot] Feb 24, 2024
c3765a6
chore(deps): bump google.golang.org/api from 0.165.0 to 0.167.0 (#3036)
dependabot[bot] Feb 24, 2024
fc4f260
chore(deps): bump go.uber.org/zap from 1.26.0 to 1.27.0 (#3038)
dependabot[bot] Feb 24, 2024
39cd54f
feat(bitbucketserver): multiple improvements to bitbucketserver event…
ryancurrah Feb 25, 2024
9b72a21
chore(deps): bump github.com/slack-go/slack from 0.12.4 to 0.12.5 (#3…
dependabot[bot] Mar 2, 2024
4640848
chore(deps): bump github.com/xanzy/go-gitlab from 0.97.0 to 0.98.0 (#…
dependabot[bot] Mar 2, 2024
b9adbdf
chore(deps): bump github.com/prometheus/client_golang from 1.17.0 to …
dependabot[bot] Mar 2, 2024
c18b980
chore(deps): bump golang.org/x/crypto from 0.19.0 to 0.20.0 (#3044)
dependabot[bot] Mar 2, 2024
dff2991
chore(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#3…
dependabot[bot] Mar 2, 2024
869836d
chore(deps): bump github.com/cloudevents/sdk-go/v2 from 2.15.1 to 2.1…
dependabot[bot] Mar 6, 2024
1d83490
chore(deps): bump softprops/action-gh-release from 1 to 2 (#3050)
dependabot[bot] Mar 9, 2024
dbceb18
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/messaging/azs…
dependabot[bot] Mar 9, 2024
77e610d
chore(deps): bump github.com/xanzy/go-gitlab from 0.98.0 to 0.99.0 (#…
dependabot[bot] Mar 9, 2024
ef18fad
chore(deps): bump golang.org/x/crypto from 0.20.0 to 0.21.0 (#3053)
dependabot[bot] Mar 9, 2024
8388c91
chore(deps): bump github.com/golang/protobuf from 1.5.3 to 1.5.4 (#3054)
dependabot[bot] Mar 9, 2024
95db0fc
chore(deps): bump github.com/minio/minio-go/v7 from 7.0.67 to 7.0.68 …
dependabot[bot] Mar 9, 2024
e979b58
chore(deps): bump github.com/go-openapi/inflect from 0.19.0 to 0.20.0…
dependabot[bot] Mar 9, 2024
5faea8a
chore(deps): bump go.uber.org/ratelimit from 0.2.0 to 0.3.1 (#3055)
dependabot[bot] Mar 9, 2024
c19f4b8
chore(deps): bump cloud.google.com/go/pubsub from 1.36.1 to 1.37.0 (#…
dependabot[bot] Mar 9, 2024
1edd7b3
chore(deps): bump google.golang.org/api from 0.167.0 to 0.169.0 (#3060)
dependabot[bot] Mar 9, 2024
c6c539d
chore(deps): bump github.com/go-openapi/inflect from 0.20.0 to 0.21.0…
dependabot[bot] Mar 16, 2024
61353fd
chore(deps): bump github.com/xanzy/go-gitlab from 0.99.0 to 0.100.0 (…
dependabot[bot] Mar 16, 2024
0500efd
chore(deps): bump github.com/minio/minio-go/v7 from 7.0.68 to 7.0.69 …
dependabot[bot] Mar 16, 2024
e558e6c
chore(deps): bump google.golang.org/grpc from 1.62.0 to 1.62.1 (#3071)
dependabot[bot] Mar 16, 2024
9adf09c
chore(deps): bump google.golang.org/api from 0.169.0 to 0.170.0 (#3072)
dependabot[bot] Mar 16, 2024
8a552ba
chore(deps): bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 (#3078)
dependabot[bot] Mar 23, 2024
a5f83bc
chore(deps): bump github.com/go-resty/resty/v2 from 2.11.0 to 2.12.0 …
dependabot[bot] Mar 23, 2024
b0a366e
chore(deps): bump github.com/nats-io/nats.go from 1.33.1 to 1.34.0 (#…
dependabot[bot] Mar 23, 2024
f196150
chore(deps): bump github.com/bradleyfalzon/ghinstallation/v2 from 2.9…
dependabot[bot] Mar 23, 2024
8e2c6a8
chore(deps): bump github.com/xanzy/go-gitlab from 0.100.0 to 0.101.0 …
dependabot[bot] Mar 23, 2024
9cd2cdb
chore(deps): bump google.golang.org/api from 0.170.0 to 0.171.0 (#3083)
dependabot[bot] Mar 23, 2024
f0ec923
chore(deps): bump actions/setup-python from 5.0.0 to 5.1.0 (#3085)
dependabot[bot] Mar 30, 2024
fecbd8b
chore(deps): bump google.golang.org/api from 0.171.0 to 0.172.0 (#3088)
dependabot[bot] Mar 30, 2024
45d36d5
chore(deps): bump github.com/ktrysmt/go-bitbucket from 0.9.76 to 0.9.…
dependabot[bot] Mar 30, 2024
d2593fd
docs: Provides command to view logs (#3076)
craveytrain Mar 31, 2024
cf8736e
fix logging on config watcher setup failure (#3074)
skrobul Apr 5, 2024
6ea1dfc
chore(deps): bump github.com/xanzy/go-gitlab from 0.101.0 to 0.102.0 …
dependabot[bot] Apr 6, 2024
6e07695
chore(deps): bump github.com/itchyny/gojq from 0.12.14 to 0.12.15 (#3…
dependabot[bot] Apr 6, 2024
924ca8f
chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0 (#3095)
dependabot[bot] Apr 6, 2024
870804e
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/messaging/azs…
dependabot[bot] Apr 6, 2024
a39729f
chore(deps): bump github.com/go-git/go-git/v5 from 5.11.0 to 5.12.0 (…
dependabot[bot] Apr 6, 2024
a10a311
chore(deps): bump github.com/nats-io/nats.go from 1.34.0 to 1.34.1 (#…
dependabot[bot] Apr 6, 2024
759c4dd
chore(deps): bump sigstore/cosign-installer from 3.4.0 to 3.5.0 (#3100)
dependabot[bot] Apr 13, 2024
c61fa87
chore(deps): bump peaceiris/actions-gh-pages from 3 to 4 (#3101)
dependabot[bot] Apr 13, 2024
2fa2b34
chore(deps): bump google.golang.org/grpc from 1.62.1 to 1.63.2 (#3102)
dependabot[bot] Apr 13, 2024
ee41608
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity fr…
dependabot[bot] Apr 13, 2024
775fc12
chore(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 (#3106)
dependabot[bot] Apr 19, 2024
1162534
fix(AzureQueueStorage): update base64 encoding (#3104)
bene-tleilax-werdna Apr 19, 2024
8cdb78c
chore: golang, k8s and controller-runtime upgrades (#3107)
whynowy Apr 20, 2024
0c25bba
chore(deps): bump google.golang.org/api from 0.172.0 to 0.175.0 (#3109)
dependabot[bot] Apr 20, 2024
3221639
chore(deps): bump github.com/xanzy/go-gitlab from 0.102.0 to 0.103.0 …
dependabot[bot] Apr 20, 2024
53af23b
chore(deps): bump github.com/ktrysmt/go-bitbucket from 0.9.77 to 0.9.…
dependabot[bot] Apr 20, 2024
aef7a07
chore(deps): bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 (#3116)
dependabot[bot] Apr 27, 2024
c411115
chore(deps): bump github.com/ktrysmt/go-bitbucket from 0.9.78 to 0.9.…
dependabot[bot] Apr 27, 2024
e9edc97
chore(deps): bump google.golang.org/api from 0.175.0 to 0.176.1 (#3119)
dependabot[bot] Apr 27, 2024
a49dae9
chore(deps): bump github.com/minio/minio-go/v7 from 7.0.69 to 7.0.70 …
dependabot[bot] Apr 27, 2024
8ace21b
fix spelling error (#3114)
AllenZMC May 3, 2024
387bed6
chore(deps): bump google.golang.org/api from 0.176.1 to 0.177.0 (#3122)
dependabot[bot] May 4, 2024
6a30303
chore(deps): bump github.com/xanzy/go-gitlab from 0.103.0 to 0.105.0 …
dependabot[bot] May 11, 2024
762da53
chore(deps): bump github.com/rabbitmq/amqp091-go from 1.8.1 to 1.10.0…
dependabot[bot] May 11, 2024
9dd42d4
chore(deps): bump cloud.google.com/go/pubsub from 1.37.0 to 1.38.0 (#…
dependabot[bot] May 11, 2024
c62f49e
chore(deps): bump github.com/go-resty/resty/v2 from 2.12.0 to 2.13.1 …
dependabot[bot] May 11, 2024
239229c
chore(deps): bump github.com/prometheus/client_golang from 1.19.0 to …
dependabot[bot] May 11, 2024
48746c0
chore(deps): bump google.golang.org/api from 0.177.0 to 0.180.0 (#3129)
dependabot[bot] May 11, 2024
46c36ea
chore(deps): bump github.com/go-swagger/go-swagger from 0.30.4 to 0.3…
dependabot[bot] May 18, 2024
7b2253a
chore(deps): bump github.com/nats-io/nats.go from 1.34.1 to 1.35.0 (#…
dependabot[bot] May 18, 2024
46a68b8
chore(deps): bump google.golang.org/api from 0.180.0 to 0.181.0 (#3140)
dependabot[bot] May 18, 2024
decb1fe
chore(deps): bump github.com/slack-go/slack from 0.12.5 to 0.13.0 (#3…
dependabot[bot] May 18, 2024
7d8068a
Use authorized key parsing instead of reading binary certificates (#3…
florian-feicht May 20, 2024
5461296
Optional use QueueSubscribe for NATS events source (#3131)
sysr9 May 21, 2024
6f6d6b5
chore(deps): bump github.com/ktrysmt/go-bitbucket from 0.9.79 to 0.9.…
dependabot[bot] May 25, 2024
f5f394e
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/messaging/azs…
dependabot[bot] May 25, 2024
97cbbd0
feat: new Prometheus metrics build_info (#3144)
nlamirault May 29, 2024
4cb99d9
Add more EventSource event logs for failed to publish events (#3147)
aaron-arellano May 29, 2024
a661561
chore(deps): bump github.com/bradleyfalzon/ghinstallation/v2 from 2.1…
dependabot[bot] Jun 1, 2024
4fa9646
chore(deps): bump github.com/spf13/viper from 1.18.2 to 1.19.0 (#3152)
dependabot[bot] Jun 8, 2024
94b9cde
chore(deps): bump github.com/itchyny/gojq from 0.12.15 to 0.12.16 (#3…
dependabot[bot] Jun 8, 2024
09e4624
chore(deps): bump golang.org/x/crypto from 0.23.0 to 0.24.0 (#3155)
dependabot[bot] Jun 8, 2024
8dd63f1
Update manifests to v1.9.2
whynowy Jun 14, 2024
943ed25
resolve conflict
kim-codefresh Jul 18, 2024
4cac304
replace quay repos Argoproj with Codefresh and upgrade version
kim-codefresh Jul 18, 2024
ab1c5e2
create Codefresh release v1.9.2-cap-CR-24607 for synced version v1.9.2
kim-codefresh Jul 18, 2024
3f1dc5e
swagger generate
kim-codefresh Jul 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- run: git tag -l 'v*'
# avoid invoking `make` to reduce the risk of a Makefile bug failing this workflow
- run: ./hack/changelog.sh > CHANGELOG.md
- uses: peter-evans/create-pull-request@v5
- uses: peter-evans/create-pull-request@v6
with:
title: 'docs: updated CHANGELOG.md'
commit-message: 'docs: updated CHANGELOG.md'
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Golang
uses: actions/setup-go@v4.1.0
uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: "1.21"
- name: Restore go build cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -36,9 +36,9 @@ jobs:
- name: Install protoc
run: |
set -eux -o pipefail
PROTOC_VERSION=3.11.1
PROTOC_VERSION=3.19.4
PROTOC_ZIP=protoc-$PROTOC_VERSION-linux-x86_64.zip
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.11.1/$PROTOC_ZIP
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOC_VERSION/$PROTOC_ZIP
sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
sudo unzip -o $PROTOC_ZIP -d /usr/local 'include/*'
sudo chmod +x /usr/local/bin/protoc
Expand Down Expand Up @@ -70,11 +70,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Golang
uses: actions/setup-go@v4.1.0
uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: "1.21"
- name: Restore go build cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -97,11 +97,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Golang
uses: actions/setup-go@v4.1.0
uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: "1.21"
- name: Restore go build cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand Down Expand Up @@ -130,11 +130,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Golang
uses: actions/setup-go@v4.1.0
uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: "1.21"
- name: Restore go build cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.6.0
uses: dependabot/fetch-metadata@v2.1.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve PR
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Setup Golang
uses: actions/setup-go@v4.1.0
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'
- name: build
run: |
pip install mkdocs==1.3.0 mkdocs_material==8.2.9
mkdocs build
- name: deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4.1.0
uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: "1.21"

- name: Build binaries
run: |
Expand Down Expand Up @@ -95,9 +95,9 @@ jobs:
else
echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
fi
- uses: actions/setup-go@v4.1.0
- uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: "1.21"
- uses: actions/checkout@v4
- run: go install sigs.k8s.io/bom/cmd/[email protected]
- run: go install github.com/spdx/spdx-sbom-generator/cmd/[email protected]
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
password: ${{ secrets.QUAYIO_PASSWORD }}

- name: Install cosign
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 # v3.1.1
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0
with:
cosign-release: 'v2.1.1'

Expand All @@ -175,7 +175,7 @@ jobs:
cosign sign-blob -y /tmp/sbom.tar.gz > /tmp/sbom.tar.gz.sig

- name: Release binaries
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ run:
linters:
enable:
- deadcode
- depguard
# - depguard
- dogsled
- goconst
- gocritic
Expand All @@ -23,7 +23,7 @@ linters:
- nakedret
- rowserrcheck
- staticcheck
- structcheck
# - structcheck
- typecheck
- unconvert
- unused
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apk update && apk upgrade && \
apk add ca-certificates && \
apk --no-cache add tzdata

ENV ARGO_VERSION=v3.4.8
ENV ARGO_VERSION=v3.5.4

RUN wget -q https://github.com/argoproj/argo-workflows/releases/download/${ARGO_VERSION}/argo-linux-${ARCH}.gz
RUN gunzip -f argo-linux-${ARCH}.gz
Expand Down
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ EXECUTABLES = curl docker gzip go
# docker image publishing options
DOCKER_PUSH?=false
IMAGE_NAMESPACE?=quay.io/codefresh
VERSION?=v1.9.0-cap-CR-22221
BASE_VERSION:=v1.9.0-cap-CR-22221
VERSION?=v1.9.2-cap-CR-24607
BASE_VERSION:=v1.9.2-cap-CR-24607

override LDFLAGS += \
-X ${PACKAGE}.version=${VERSION} \
Expand Down Expand Up @@ -155,12 +155,12 @@ start: image
kubectl -n argo-events wait --for=condition=Ready --timeout 60s pod --all

$(GOPATH)/bin/golangci-lint:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b `go env GOPATH`/bin v1.52.1
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b `go env GOPATH`/bin v1.54.1

.PHONY: lint
lint: $(GOPATH)/bin/golangci-lint
go mod tidy
golangci-lint run --fix --verbose --concurrency 4 --timeout 10m
golangci-lint run --fix --verbose --concurrency 4 --timeout 5m --enable goimports

# release - targets only available on release branch
ifneq ($(findstring release,$(GIT_BRANCH)),)
Expand Down Expand Up @@ -193,6 +193,10 @@ update-manifests-version:
mv /tmp/wh_kustomization.yaml manifests/extensions/validating-webhook/kustomization.yaml
cat Makefile | sed 's/^VERSION?=.*/VERSION?=$(VERSION)/' | sed 's/^BASE_VERSION:=.*/BASE_VERSION:=$(VERSION)/' > /tmp/ae_makefile
mv /tmp/ae_makefile Makefile
find ./manifests -type f -name "*.yaml" -exec \
sed -i.bak \
-e "s|quay\.io/codefresh/argo-events:[^ ]*|quay.io/codefresh/argo-events:$(VERSION)|g" \
{} +

.PHONY: checksums
checksums:
Expand Down
1 change: 1 addition & 0 deletions USERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ Organizations below are **officially** using Argo Events. Please send a PR with
1. [Yubo](https://www.yubo.live/)
1. [WooliesX](https://wooliesx.com.au/)
1. [Woolworths Group](https://www.woolworthsgroup.com.au/)
1. [Zillow Group](https://www.zillow.com)
Loading
Loading