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

Enable periodic task execution for OAI End-to-End testing #234

Merged
Merged
Changes from 1 commit
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
59 changes: 57 additions & 2 deletions prow/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ presubmits:
- "--prow-yaml-repo-name=$(REPO_OWNER)/$(REPO_NAME)"

periodics:
- name: e2e-ubuntu-focal-daily
- name: e2e-daily-ubuntu-focal-free5gc
annotations:
labels:
cron: "0 15 * * 1-5"
Expand Down Expand Up @@ -1286,7 +1286,7 @@ periodics:
items:
- key: nephio.yaml
path: nephio.yaml
- name: e2e-fedora-34-daily
- name: e2e-daily-fedora-34-free5gc
annotations:
labels:
cron: "0 15 * * 1-5"
Expand Down Expand Up @@ -1341,3 +1341,58 @@ periodics:
items:
- key: nephio.yaml
path: nephio.yaml
- name: e2e-daily-ubuntu-jammy-oai
annotations:
labels:
cron: "0 15 * * 1-5"
electrocucaracha marked this conversation as resolved.
Show resolved Hide resolved
skip_report: false
decorate: true
cluster: default
extra_refs:
- org: nephio-project
repo: test-infra
base_ref: main
path_alias: nephio_repo/test-infra
spec:
containers:
- image: "nephio/e2e:latest"
command:
- "/bin/sh"
args:
- "-c"
- |
set -eE; cd "$GOPATH/src/nephio_repo/test-infra/e2e/terraform"; trap 'terraform destroy -target module.gcp-ubuntu-jammy -auto-approve' EXIT;
terraform init && timeout 120m terraform apply -target module.gcp-ubuntu-jammy -var="e2e_type=oai" -auto-approve
volumeMounts:
- name: satoken
mountPath: "/etc/satoken"
- name: ssh-key-vol
mountPath: "/etc/ssh-key"
- name: nephio-e2e-yaml
mountPath: "/etc/nephio"
resources:
requests:
cpu: 2
memory: 2Gi
volumes:
- name: satoken
secret:
secretName: satoken
items:
- key: satoken
path: satoken
- name: ssh-key-vol
secret:
secretName: ssh-key-e2e
defaultMode: 256
items:
- key: id_rsa
path: id_rsa
- key: id_rsa.pub
path: id_rsa.pub
- name: nephio-e2e-yaml
secret:
secretName: nephio-e2e-yaml
items:
- key: nephio.yaml
path: nephio.yaml