Skip to content
Draft
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
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ e2e-upstream-test: get-kueue-image
oc apply -f test/e2e/bindata/assets/08_kueue_default.yaml
./hack/wait-for-kueue-leader-election.sh
cd $(TEMP_DIR) && KUEUE_NAMESPACE="openshift-kueue-operator" make -f Makefile-test-ocp.mk test-e2e-upstream-ocp GINKGO_ARGS='--no-color'
@echo "Running upstream e2e custom configs tests..."
oc apply -f test/e2e/bindata/assets/09_kueue_label_policy.yaml
./hack/wait-for-kueue-leader-election.sh
export OPERATOR_RUNNING=true
cd $(TEMP_DIR) && KUEUE_NAMESPACE="openshift-kueue-operator" make -f Makefile-test-ocp.mk test-e2e-upstream-ocp-custom-configs GINKGO_ARGS='--no-color'
@echo "Cleaning up TEMP_DIR: $(TEMP_DIR)"
@rm -rf $(TEMP_DIR)
@rm -f .kueue_image
Expand Down
19 changes: 19 additions & 0 deletions test/e2e/bindata/assets/09_kueue_label_policy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: kueue.openshift.io/v1
kind: Kueue
metadata:
labels:
app.kubernetes.io/name: kueue-operator
app.kubernetes.io/managed-by: kustomize
name: cluster
namespace: openshift-kueue-operator
spec:
managementState: Managed
config:
workloadManagement:
labelPolicy: None
integrations:
frameworks:
- BatchJob
- Pod
- Deployment
- StatefulSet