Skip to content

Commit

Permalink
etcd: import release tests presubmit job
Browse files Browse the repository at this point in the history
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
ivanvc committed Jan 29, 2025
1 parent 5521b0d commit c5b6402
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions config/jobs/etcd/etcd-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c5b6402

Please sign in to comment.