Skip to content

Commit

Permalink
Fix prow execution
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Morales <v.morales@samsung.com>
  • Loading branch information
electrocucaracha committed May 24, 2023
1 parent 5f07fe2 commit 2b7efcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
9 changes: 2 additions & 7 deletions .prow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,10 @@ presubmits:
- name: e2e
annotations:
labels:
run_if_changed: 'E2E_instance.txt'
run_if_changed: '^e2e/'
skip_report: false
decorate: true
cluster: default
extra_refs:
- org: nephio-project
repo: one-summit-22-workshop
path_alias: github.com/nephio-project/one-summit-22-workshop
base_ref: main
spec:
containers:
- image: "nephio/e2e:1"
Expand All @@ -35,7 +30,7 @@ presubmits:
- "-c"
- |
cd e2e/terraform && terraform init && terraform plan && \
terraform apply -auto-approve && terraform destroy -auto-approve
terraform apply -auto-approve; terraform destroy -auto-approve
volumeMounts:
- name: satoken
mountPath: "/etc/satoken"
Expand Down
5 changes: 3 additions & 2 deletions e2e/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ resource "google_compute_instance" "vm_instance" {
agent = false
}
inline = [
"chmod +x provision/gce_run.sh",
"provision/gce_run.sh"
"cd provision/"
"chmod +x gce_run.sh",
"./gce_run.sh"
]
}

Expand Down

0 comments on commit 2b7efcb

Please sign in to comment.