Skip to content

Commit

Permalink
Fix openshift kustomize overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-edouard.breteche authored and tekton-robot committed Jun 11, 2020
1 parent de7b06f commit a1c6711
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
File renamed without changes.
6 changes: 6 additions & 0 deletions test/e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,12 @@ function test_overlay() {
delete_pipeline_crd
}

# validate overlays
kustomize build overlays/dev || fail_test "Failed to run kustomize on overlays/dev"
kustomize build overlays/dev-locked-down --load_restrictor=LoadRestrictionsNone || fail_test "Failed to run kustomize on overlays/dev-locked-down"
kustomize build overlays/dev-openshift --load_restrictor=LoadRestrictionsNone || fail_test "Failed to run kustomize on overlays/dev-openshift"
kustomize build overlays/dev-openshift-locked-down --load_restrictor=LoadRestrictionsNone || fail_test "Failed to run kustomize on overlays/dev-openshift-locked-down"

test_overlay dev "proxy"
test_overlay dev-locked-down "kubectl"

Expand Down

0 comments on commit a1c6711

Please sign in to comment.