feat: Add golang devfile instead of empty devfile in our tests

Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
pull/629/head
Flavius Lacatusu 2021-01-14 10:42:31 +01:00
parent 7f7cb20c4a
commit e07648ac5e
No known key found for this signature in database
GPG Key ID: 3C0A7685C14681A8
1 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ init() {
export ARTIFACTS_DIR="/tmp/artifacts-che"
export TEMPLATES=${OPERATOR_REPO}/tmp
export OPERATOR_IMAGE="quay.io/eclipse/che-operator:test"
export DEFAULT_DEVFILE="https://raw.githubusercontent.com/eclipse/che-devfile-registry/master/devfiles/go/devfile.yaml"
export CHE_EXPOSURE_STRATEGY="multi-host"
export OAUTH="false"
@ -204,13 +204,13 @@ startNewWorkspace() {
# Create and start a workspace
sleep 5s
chectl auth:login -u admin -p admin --chenamespace=${NAMESPACE}
chectl workspace:create --start --chenamespace=${NAMESPACE} --devfile=$OPERATOR_REPO/.ci/devfile-test.yaml
chectl workspace:create --start --chenamespace=${NAMESPACE} --devfile="${DEFAULT_DEVFILE}"
}
createWorkspace() {
sleep 5s
chectl auth:login -u admin -p admin --chenamespace=${NAMESPACE}
chectl workspace:create --chenamespace=${NAMESPACE} --devfile=${OPERATOR_REPO}/.ci/devfile-test.yaml
chectl workspace:create --chenamespace=${NAMESPACE} --devfile="${DEFAULT_DEVFILE}"
}
startExistedWorkspace() {