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

fixing the aws periodic job and adding a presubmit job #546

Merged
merged 3 commits into from
Aug 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions config/jobs/cert-manager/cert-manager-periodics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ periodics:
containers:
- image: eu.gcr.io/jetstack-build-infra-images/golang-aws@sha256:1f330e4c9552ca383d157067b73fb0e090b64b0777939fd59e58b60e06020d66
args:
- bash
- -c
- |
set -euo && \
Expand Down
40 changes: 40 additions & 0 deletions config/jobs/cert-manager/cert-manager-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -776,3 +776,43 @@ presubmits:
options:
- name: ndots
value: "1"

- name: aws-tests-pre
always_run: false
optional: true
agent: kubernetes
decorate: true
branches:
- master
annotations:
testgrid-create-test-group: 'true'
testgrid-dashboards: jetstack-cert-manager-master
testgrid-alert-email: cert-manager-dev-alerts@googlegroups.com
description: Runs the end-to-end test suite against a EKS cluster
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
preset-bazel-remote-cache-enabled: "true"
preset-bazel-scratch-dir: "true"
preset-aws-credentials: "true"
spec:
containers:
- image: eu.gcr.io/jetstack-build-infra-images/golang-aws@sha256:1f330e4c9552ca383d157067b73fb0e090b64b0777939fd59e58b60e06020d66
args:
- bash
- -c
- |
set -euo && \
git clone https://github.com/jetstack/cert-manager.git && \
git clone https://github.com/cert-manager/test-infra.git && \
cd test-infra/aws && \
terraform init && \
terraform apply -auto-approve && \
cd.. && \
cd.. && \
cd cert-manager && \
./devel/run-e2e.sh --ginkgo.focus "Public ACME Server HTTP01 Issuer" --acme-server-url=https://acme-staging-v02.api.letsencrypt.org/directory --ingress-controller-domain=aws.e2e-tests.cert-manager.io --testing-acme-email=cert-manager-dev-alerts@googlegroups.com --kubernetes-config=../test-infra/aws/kubeconfig_cert-manager-cluster;
resources:
requests:
cpu: 3500m
memory: 12Gi