Skip to content

Commit

Permalink
release-tools: update
Browse files Browse the repository at this point in the history
Commit summary:
e1ceee2 Always enable race detection while running tests
028f8c6 chore: bump to Go 1.22.5
69bd71e chore: add CSI_PROW_SIDECAR_E2E_PATH
cfa9210 Instruction update
a5667bb fix typo in sidecar release process
d9bd160 Update skip list in codespell GitHub Action
f5aebfc Add GitHub Actions workflows
c317456 Fix typo
0a78505 Bump to Go 1.22.3
043fd09 Add test-logcheck target
b52e7ad Update go to 1.22.2
e681b17 Use .go-version to get Kubernetes go version
9b4352e Update release playbook
c7bb972 Fix release notes script to use fixed tags
463a0e9 Add script to update specific go modules
5436c81 Change go version to 1.21.5
b42e5a2 nominate self (carlory) as kubernetes-csi reviewer
011033d Use set -x instead of die
5deaf66 Add wrapper script for sidecar release
c465088 pull-test.sh: avoid "git subtree pull" error
7b175a1 Update csi-test version to v5.2.0
987c90c Update go version to 1.21 to match k/k
2c625d4 Add script to generate patch release notes
b01fd53 Bump csi-driver-host-path version up to v1.12.0
1f7e605 fixed broken links of testgrid dashboard
cee895e remove windows 20H2 build since it's EOL long time ago
8dd2821 Update cloudbuild image with go 1.20.5
1f92b7e Add ginkgo timeout to e2e tests to help catch any stuck tests
2b8b80e fixing some codespell errors
72984ec chore: adopt kubernetes recommand label
b055535 Header
bd0a10b typo
c39d73c Add comments
f6491af Script to verify EOL sidecar version
8d519d2 Pin buildkit to v0.10.6 to workaround v0.11 bug with docker manifest
26fdfff Update cloudbuild image
0e7ae99 Update k8s image repo url
155854b Fix dep version mismatch
1d3f94d Update go version to 1.20 to match k/k v1.27
b74a512 test: fix golint error
901bcb5 Update registry k8s.gcr.io -> registry.k8s.io
7563d19 Update CSI_PROW_DRIVER_VERSION to v1.11.0
a11216e add new reviewers and remove inactive reviewers
dd98675 Add step for checking builds
b9b6763 filter-junit.go: fix loss of testcases when parsing Ginkgo v2 JUnit
d427783 filter-junit.go: preserve system error log
38e1146 prow.sh: publish individual JUnit files as separate artifacts
36e433e Skip SELinux tests in CI by default
7d410d8 Changes to csi prow to run e2e tests in sidecars
4edd1d8 Add RaunakShah to CSI reviewers group
7ccc959 release tools update to 1.19
0faa3fc Update to Kind v0.14.0 images
4ddce25 Add 1.24 Kind image
70915a8 prow.sh: update snapshotter version
7577454 prow.sh: bump Kubernetes to v1.22.0
41cb70d prow.sh: sanity testing with csi-test v5.0.0
b86d8e9 support Kubernetes 1.25 + Ginkgo v2
e51ff2c introduce control variable for non alpha feature gate configuration
3948331 fix testing with latest Kubernetes
84a4d5a Move from k8s.gcr.io to registry.k8s.io
9a0260c fix boilerplate header
db917f5 update to Go 1.18
274bc9b Update Sidecar Release Process documentation to reference latest syntax for release-notes tool
f1de2c6 Fix OWNERS file - squashed commits
59ae38b Remove EOL windows versions from BUILD_PLATFORMS
d066f1b Correct prow.sh typo and make codespell linter pass
81e26c3 SIDECAR_RELEASE_PROCESS.md: add troubleshooting for image publishing
f49e141 Update csi-sanity test suite to v4.3.0
05c1801 Add support to build arm/v7 images
2b9897e Increase build timeout
a30efea Add kind image for 1.23
0a2cf63 prow.sh: bump Go to 1.17.3
5eeb602 images: use k8s-staging-test-infra/gcb-docker-gcloud
0c675d4 Bump kind version to v0.11.1
44c710c added WS2022 to build platforms
02cda51 build.make: support binaries outside of cmd, with optional go.mod
c0bdfb3 prow.sh: deploy canary snapshot-controller in canary jobs
6a2dc64 Remove requirement to be top-level approver. Only maintainers membership is required to do a release
30a4f7b Release armv7 image
999b483 docs: make github links reference HEAD instead of main
fd67069 docs: make github links reference HEAD instead of master
9c6a6c0 Master to main cleanup
68e43ca prow.sh: remove Bazel build support
c5f59c5 prow.sh: allow shell commands in CSI_PROW_SANITY_POD
9e438f8 prow.sh: fix mock testing
4b6aa60 prow.sh: update to KinD v0.11.0
ef8bd33 prow.sh: more flexible CSI_PROW_DEPLOYMENT, part II
61538bb prow.sh: more flexible CSI_PROW_DEPLOYMENT
a2fcd6d Adding myself to csi reviewers group
a6453c8 owners: introduce aliases
5561780 build.make: fix image publishng
bc42793 prow.sh: use csi-test v4.2.0
bfbb6f3 add parameter base_image and addon_image to BUILD_PARAMETERS
48e71f0 Replace `which` command ( non standard)  with `command -v` builtin
feb20e2 prow.sh: collect cluster logs
2d2e03b prow.sh: enable -csi.checkpathcmd option in csi-sanity
74cfbc9 prow.sh: support mock tests
4a3f110 prow.sh: remove obsolete test suppression
510fb0f prow.sh: support Kubernetes 1.21
c63c61b prow.sh: add CSI_PROW_DEPLOYMENT_SUFFIX
dd54c92 pull-test.sh: test importing csi-release-tools into other repo
6880b0c prow.sh: avoid creating paths unless really running tests
b46691a go-get-kubernetes.sh: make replace statement pruning optional
5b1de1a go-get-kubernetes.sh: remove unused k8s libs
1c0fb09 prow.sh: use KinD main for latest Kubernetes
bff2fb7 prow.sh: KinD 0.10.0
437e431 verify-go-version.sh: fix check after removal of travis.yml
ec844ea remove travis.yml, Go 1.16
e314a56 add build-arg ARCH for building multi-arch images, e.g. ARG ARCH FROM k8s.gcr.io/build-image/debian-base-${ARCH}:v2.1.3
e0b02e7 README.md: document usage of --squash
26e2ab1 fix: default boilerplate path
3e811d6 prow.sh: fix "on-master" prow jobs
9f10459 prow.sh: support building Kubernetes for a specific version
f7e7ee4 docs: steps for adding testing against new Kubernetes release
1c94220 fix: fix a bug of csi-sanity
ece0f50 check namespace for snapshot-controller
dbd8967 verify-boilerplate.sh: fix path to script
ad29307 Make the spelling and boilerplate checks optional
48186eb Fix spelling and boilerplate errors
981be3f Adding spelling and boilerplate checks.
9318c6c cloud build: double the timeout, now 1 hour
4ab8b15 use the tag to replace commit of csi-test
5d74e45 change the csi-test import path to v4
7dcd0a9 upgrade csi-test to v4.0.2
c3a9662 allow export image name and registry name
45ec4c6 Fix the install of snapshot CRDs and controller
79bbca7 Cleanup
57718f8 Update snapshot CRD version
9a370ab prow.sh: work around "kind build node-image" failure
522361e prow.sh: only run alpha tests for latest Kubernetes release
b5b447b Add go ldflags using LDFLAGS at the time of compilation
7bcee13 prow.sh: update to kind 0.9, support Kubernetes 1.19
df518fb prow.sh: usage of Bazel optional
dde93b2 Update to snapshot-controller v3.0.0
7100c12 Only set staging registry when running canary job
d129462 Document new method for adding CI jobs are new K8s versions
e73c2ce Use staging registry for canary tests
2c09846 Add cleanup instructions to release-notes generation
0979c09 prow.sh: fix E2E suite for Kubernetes >= 1.18
3b4a2f1 prow.sh: fix installing Go for Kubernetes 1.19.0
82d108a switch to Go 1.15
843bddc Add steps on promoting release images
1fdf2d5 cloud build: bump timeout in Prow job
5a54e67 filter-junit: Fix gofmt error
36ea4ff filter-junit: Fix golint error
43e50d6 prow.sh: enable building arm64 image
3df86b7 cloud build: k8s-staging-sig-storage
db0c2a7 cloud build: initialize support for running commands in Dockerfile
340e082 build.make: optional inclusion of Windows in multiarch images
5231f05 build.make: properly declare push-multiarch
4569f27 build.make: fix push-multiarch ambiguity
bd41690 cloud build: initial set of shared files
6f2322e Update patch release notes generation command
d8c76fe Support local snapshot RBAC for pull jobs
ea1f94a update release tools instructions
7edc146 Update snapshotter to version 2.0.1
3863a0f build for multiple platforms only in CI, add s390x
7c5a89c prow.sh: use 1.3.0 hostpath driver for testing
fdb3218 Change 'make test-vet' to call 'go vet'
5f74333 prow.sh: also configure feature gates for kubelet
84f78b1 prow.sh: generic driver installation

Signed-off-by: Terry Howe <[email protected]>
  • Loading branch information
TerryHowe committed Oct 17, 2024
2 parents bccce0d + 227577e commit 4104928
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions release-tools/build.make
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ IMAGE_NAME=$(REGISTRY_NAME)/$*

ifdef V
# Adding "-alsologtostderr" assumes that all test binaries contain glog. This is not guaranteed.
TESTARGS = -v -args -alsologtostderr -v 5
TESTARGS = -race -v -args -alsologtostderr -v 5
else
TESTARGS =
TESTARGS = -race
endif

# Specific packages can be excluded from each of the tests below by setting the *_FILTER_CMD variables
Expand Down
11 changes: 7 additions & 4 deletions release-tools/prow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ configvar CSI_PROW_BUILD_PLATFORMS "linux amd64 amd64; linux ppc64le ppc64le -pp
# which is disabled with GOFLAGS=-mod=vendor).
configvar GOFLAGS_VENDOR "$( [ -d vendor ] && echo '-mod=vendor' )" "Go flags for using the vendor directory"

configvar CSI_PROW_GO_VERSION_BUILD "1.22.3" "Go version for building the component" # depends on component's source code
configvar CSI_PROW_GO_VERSION_BUILD "1.22.5" "Go version for building the component" # depends on component's source code
configvar CSI_PROW_GO_VERSION_E2E "" "override Go version for building the Kubernetes E2E test suite" # normally doesn't need to be set, see install_e2e
configvar CSI_PROW_GO_VERSION_SANITY "${CSI_PROW_GO_VERSION_BUILD}" "Go version for building the csi-sanity test suite" # depends on CSI_PROW_SANITY settings below
configvar CSI_PROW_GO_VERSION_KIND "${CSI_PROW_GO_VERSION_BUILD}" "Go version for building 'kind'" # depends on CSI_PROW_KIND_VERSION below
Expand Down Expand Up @@ -231,8 +231,11 @@ configvar CSI_PROW_E2E_VERSION "$(version_to_git "${CSI_PROW_KUBERNETES_VERSION}
configvar CSI_PROW_E2E_REPO "https://github.com/kubernetes/kubernetes" "E2E repo"
configvar CSI_PROW_E2E_IMPORT_PATH "k8s.io/kubernetes" "E2E package"

# Local path for e2e tests. Set to "none" to disable.
configvar CSI_PROW_SIDECAR_E2E_IMPORT_PATH "none" "CSI Sidecar E2E package"
# Local path & package path for e2e tests. Set to "none" to disable.
# When using versioned go modules, the import path is the module path whereas the path
# should not contain the version and be the directory where the module is checked out.
configvar CSI_PROW_SIDECAR_E2E_IMPORT_PATH "none" "CSI Sidecar E2E package (go import path)"
configvar CSI_PROW_SIDECAR_E2E_PATH "${CSI_PROW_SIDECAR_E2E_IMPORT_PATH}" "CSI Sidecar E2E path (directory)"

# csi-sanity testing from the csi-test repo can be run against the installed
# CSI driver. For this to work, deploying the driver must expose the Unix domain
Expand Down Expand Up @@ -1035,7 +1038,7 @@ run_e2e () (
trap move_junit EXIT
if [ "${name}" == "local" ]; then
cd "${GOPATH}/src/${CSI_PROW_SIDECAR_E2E_IMPORT_PATH}" &&
cd "${GOPATH}/src/${CSI_PROW_SIDECAR_E2E_PATH}" &&
run_with_loggers env KUBECONFIG="$KUBECONFIG" KUBE_TEST_REPO_LIST="$(if [ -e "${CSI_PROW_WORK}/e2e-repo-list" ]; then echo "${CSI_PROW_WORK}/e2e-repo-list"; fi)" ginkgo --timeout="${CSI_PROW_GINKGO_TIMEOUT}" -v "$@" "${CSI_PROW_WORK}/e2e-local.test" -- -report-dir "${ARTIFACTS}" -report-prefix local
else
cd "${GOPATH}/src/${CSI_PROW_E2E_IMPORT_PATH}" &&
Expand Down

0 comments on commit 4104928

Please sign in to comment.