Skip to content

Commit 677161e

Browse files
committed
Merge branch 'master' of github.com:eclipse/che into che-15670
2 parents 05bfe87 + 81c562e commit 677161e

2 files changed

Lines changed: 72 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/env bash
2+
# Copyright (c) 2018 Red Hat, Inc.
3+
# All rights reserved. This program and the accompanying materials
4+
# are made available under the terms of the Eclipse Public License v1.0
5+
# which accompanies this distribution, and is available at
6+
# http://www.eclipse.org/legal/epl-v10.html
7+
set -e
8+
9+
echo "========Starting nigtly test job $(date)========"
10+
11+
source tests/.infra/centos-ci/functional_tests_utils.sh
12+
source .ci/cico_common.sh
13+
14+
function prepareCustomResourceFile() {
15+
cd /tmp
16+
wget https://raw.githubusercontent.com/eclipse/che-operator/master/deploy/crds/org_v1_che_cr.yaml -O custom-resource.yaml
17+
sed -i "s@server:@server:\n customCheProperties:\n CHE_LIMITS_USER_WORKSPACES_RUN_COUNT: '-1'@g" /tmp/custom-resource.yaml
18+
sed -i "s/customCheProperties:/customCheProperties:\n CHE_WORKSPACE_AGENT_DEV_INACTIVE__STOP__TIMEOUT__MS: '300000'/" /tmp/custom-resource.yaml
19+
cat /tmp/custom-resource.yaml
20+
}
21+
22+
installKVM
23+
setupEnvs
24+
installDependencies
25+
prepareCustomResourceFile
26+
installCheCtl
27+
installAndStartMinishift
28+
loginToOpenshiftAndSetDevRole
29+
deployCheIntoCluster --chenamespace=eclipse-che --che-operator-cr-yaml=/tmp/custom-resource.yaml
30+
createTestUserAndObtainUserToken
31+
installDockerCompose
32+
seleniumTestsSetup
33+
createIndentityProvider
34+
bash tests/legacy-e2e/che-selenium-test/selenium-tests.sh --threads=3 --host=${CHE_ROUTE} --port=80 --multiuser --include-tests-under-repair --include-flaky-tests
35+
saveSeleniumTestResult
36+
getOpenshiftLogs
37+
archiveArtifacts "che-nigthly-multiuser-all-test"
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/usr/bin/env bash
2+
# Copyright (c) 2018 Red Hat, Inc.
3+
# All rights reserved. This program and the accompanying materials
4+
# are made available under the terms of the Eclipse Public License v1.0
5+
# which accompanies this distribution, and is available at
6+
# http://www.eclipse.org/legal/epl-v10.html
7+
set -x
8+
9+
echo "========Starting nigtly test job $(date)========"
10+
./tests/.infra/centos-ci/nightly/
11+
source tests/.infra/centos-ci/functional_tests_utils.sh
12+
13+
function prepareCustomResourceFile() {
14+
cd /tmp
15+
wget https://raw.githubusercontent.com/eclipse/che-operator/master/deploy/crds/org_v1_che_cr.yaml -O custom-resource.yaml
16+
sed -i "s@server:@server:\n customCheProperties:\n CHE_LIMITS_USER_WORKSPACES_RUN_COUNT: '-1'@g" /tmp/custom-resource.yaml
17+
sed -i "s/customCheProperties:/customCheProperties:\n CHE_WORKSPACE_AGENT_DEV_INACTIVE__STOP__TIMEOUT__MS: '300000'/" /tmp/custom-resource.yaml
18+
cat /tmp/custom-resource.yaml
19+
}
20+
setupEnvs
21+
installKVM
22+
installDependencies
23+
installCheCtl
24+
installAndStartMinishift
25+
loginToOpenshiftAndSetDevRole
26+
prepareCustomResourceFile
27+
deployCheIntoCluster --chenamespace=eclipse-che --che-operator-cr-yaml=/tmp/custom-resource.yaml
28+
createTestUserAndObtainUserToken
29+
installDockerCompose
30+
seleniumTestsSetup
31+
createIndentityProvider
32+
bash tests/legacy-e2e/che-selenium-test/selenium-tests.sh --threads=3 --host=${CHE_ROUTE} --port=80 --multiuser
33+
saveSeleniumTestResult
34+
getOpenshiftLogs
35+
archiveArtifacts "che-nigthly-multiuser-stable-test"

0 commit comments

Comments
 (0)