Skip to content

Commit 67b067c

Browse files
authoredMay 1, 2024
Kubernetes Enterprise Operator Release 1.25.0 (#287)
1 parent 098a0cf commit 67b067c

File tree

110 files changed

+4239
-975
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+4239
-975
lines changed
 

‎.evergreen.yml

+6-14
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
# 15m timeout for all the tasks
2-
exec_timeout_secs: 900
3-
41
variables:
52
- &go_env
63
XDG_CONFIG_HOME: ${go_base_path}${workdir}
74
GO111MODULE: "on"
85
GOROOT: "/opt/golang/go1.21"
9-
106
functions:
7+
118
"clone":
129
- command: subprocess.exec
1310
type: setup
@@ -17,10 +14,12 @@ functions:
1714
type: setup
1815
params:
1916
directory: src/github.com/mongodb/mongodb-enterprise-kubernetes
20-
17+
2118
"install goreleaser":
2219
- command: shell.exec
2320
type: setup
21+
include_expansions_in_env:
22+
- goreleaser_pro_tar_gz
2423
params:
2524
script: |
2625
set -Eeu pipefail
@@ -43,6 +42,7 @@ functions:
4342
chmod 755 ./linux_amd64/macnotary
4443
"release":
4544
- command: shell.exec
45+
type: setup
4646
params:
4747
working_dir: src/github.com/mongodb/mongodb-enterprise-kubernetes/tools/multicluster
4848
include_expansions_in_env:
@@ -51,13 +51,6 @@ functions:
5151
- macos_notary_secret
5252
- workdir
5353
- triggered_by_git_tag
54-
- GRS_USERNAME
55-
- GRS_PASSWORD
56-
- ARTIFACTORY_URL
57-
- SIGNING_IMAGE_URI
58-
- ARTIFACTORY_USERNAME
59-
- ARTIFACTORY_PASSWORD
60-
- PKCS11_URI
6154
env:
6255
<<: *go_env
6356
MACOS_NOTARY_KEY: ${macos_notary_keyid}
@@ -68,8 +61,7 @@ functions:
6861
set -Eeu pipefail
6962
7063
export PATH=$GOROOT/bin:$PATH
71-
# Avoid race conditions on signing and notarizing with parallelism=1
72-
${workdir}/goreleaser release --clean --timeout 300s --parallelism 1
64+
${workdir}/goreleaser release --rm-dist
7365
7466
tasks:
7567
- name: package_goreleaser
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release multicluster-cli binary
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
workflow_dispatch:
7+
jobs:
8+
goreleaser:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
- name: Set up Go
16+
uses: actions/setup-go@v4
17+
with:
18+
go-version: '1.21'
19+
- name: Run GoReleaser
20+
uses: goreleaser/goreleaser-action@v4
21+
with:
22+
distribution: goreleaser
23+
version: latest
24+
args: release --rm-dist
25+
workdir: ./tools/multicluster
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
GORELEASER_CURRENT_TAG: ${{ github.ref_name }}

0 commit comments

Comments
 (0)