[OCPERT-264][hold]Add OTE (OpenShift Tests Extension) migration testing for single mode with dockerfile integrated#732
Conversation
…ng for single mode with dockerfile integrated
|
/hold |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
===========================================================================
|
|
Thanks. @rioliu-rh The authenticate issue of docker file integration testing resolved now. $ docker build --target test-extension-builder -t test-builder -f images/router/haproxy/Dockerfile.ocp . |
|
$ docker build -t router:test -f images/router/haproxy/Dockerfile.ocp . docker run --rm test-builder ls -lh /go/src/github.com/openshift/router/tests-extension/bin/ |
|
@rioliu-rh Thanks for your suggestion to test by podman, the test pass like: $ podman build -t router:test -f images/router/haproxy/Dockerfile.ocp .
|
|
@ming1013: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
========================================
🎉 OTE Migration Complete!
Summary
Successfully migrated router to OTE framework using single-module strategy.
Created Structure
/home/minl/ote-migration-test/router/
├── tests-extension/
│ ├── cmd/
│ │ └── main.go # OTE entry point
│ ├── bin/
│ │ └── router-tests-ext (351M) # Extension binary
│ ├── test/
│ │ └── e2e/
│ │ ├── *.go (23 files) # Migrated test files
│ │ ├── testdata/
│ │ │ ├── router/ # 46 fixture files
│ │ │ ├── bindata.go
│ │ │ └── fixtures.go
│ │ └── bindata.mk
│ ├── vendor/ # Vendored dependencies
│ ├── go.mod
│ ├── go.sum
│ └── Makefile
└── images/router/haproxy/
└── Dockerfile.ocp # Updated with OTE integration
Key Features
tests-extension/directoryNext Steps
1. Verify Build