-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
etcd: import release tests presubmit job
Name the job "pull-etcd-release-tests" to emphasize that it runs tests from the release scripts and does not do automated releases.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -575,3 +575,49 @@ presubmits: | |
privileged: true | ||
nodeSelector: | ||
kubernetes.io/arch: arm64 | ||
|
||
- name: pull-etcd-release-tests | ||
optional: true # remove once the job is stable | ||
cluster: k8s-infra-prow-build | ||
always_run: true | ||
branches: | ||
- main | ||
decorate: true | ||
decoration_config: | ||
timeout: 60m | ||
annotations: | ||
testgrid-dashboards: sig-etcd-presubmits | ||
testgrid-tab-name: pull-etcd-release-tests | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-staging-test-infra/krte:v20241230-3006692a6f-master | ||
command: | ||
- wrapper.sh | ||
args: | ||
- bash | ||
- -c | ||
- | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Prow" | ||
gpg --batch --gen-key <<EOF | ||
%no-protection | ||
Key-Type: 1 | ||
Key-Length: 2048 | ||
Subkey-Type: 1 | ||
Subkey-Length: 2048 | ||
Name-Real: Prow | ||
Name-Email: [email protected] | ||
Expire-Date: 0 | ||
EOF | ||
DRY_RUN=true ./scripts/release.sh --no-upload --no-docker-push --no-gh-release --in-place 3.6.99 | ||
VERSION=3.6.99 ./scripts/test_images.sh | ||
resources: | ||
requests: | ||
cpu: "4" | ||
memory: "4Gi" | ||
limits: | ||
cpu: "4" | ||
memory: "4Gi" | ||
# docker-in-docker needs privileged mode | ||
securityContext: | ||
privileged: true |