Skip to content

Commit

Permalink
Test failed on nightly ODC integration test (#72)
Browse files Browse the repository at this point in the history
* Update console builder version
* Update schema version for Odo 3.0 test

Signed-off-by: Joseph Kim <joskim@redhat.com>
  • Loading branch information
josephca authored Jun 9, 2022
1 parent 2d54bb0 commit f192c4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions openshift-ci/build-root/console/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM quay.io/coreos/tectonic-console-builder:v23 AS build
FROM quay.io/coreos/tectonic-console-builder:v24 AS build

RUN mkdir -p /go/src/github.com/openshift
RUN mkdir -p /go/src/github.com/openshift/
RUN cd /go/src/github.com/openshift && git clone https://github.com/openshift/console.git
WORKDIR /go/src/github.com/openshift/console
WORKDIR /go/src/github.com/openshift/console/
RUN yarn config set ignore-engines true

RUN ./build.sh
Expand Down
2 changes: 1 addition & 1 deletion tests/odo_300/test_init_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_init_with_devfile_flag_json_output(self):
dict = json.loads(result_json.stdout)

assert contains(jmespath.search('devfilePath', dict), os.path.abspath(os.path.join(tmp_workspace, 'devfile.yaml')))
assert contains(jmespath.search('devfileData.devfile.schemaVersion', dict), "2.0.0")
assert contains(jmespath.search('devfileData.devfile.schemaVersion', dict), "2.1.0")
assert jmespath.search('devfileData.supportedOdoFeatures.dev', dict)
assert not jmespath.search('devfileData.supportedOdoFeatures.debug', dict)
assert not jmespath.search('devfileData.supportedOdoFeatures.deploy', dict)
Expand Down

0 comments on commit f192c4e

Please sign in to comment.