Skip to content

Commit

Permalink
add comments about install steps and remove skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek committed Nov 17, 2021
1 parent 794fd16 commit d2395f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
13 changes: 6 additions & 7 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,6 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
"BACKEND_HOST": "https://ocis-server:9200",
"RUN_ON_OCIS": "true",
"OCIS_REVA_DATA_ROOT": "/srv/app/tmp/ocis/owncloud/data",
"OCIS_SKELETON_DIR": "/srv/app/testing/data/webUISkeleton",
"WEB_UI_CONFIG": "/drone/src/tests/config/drone/ocis-config.json",
"TEST_TAGS": "not @skipOnOCIS and not @skip",
"LOCAL_UPLOAD_DIR": "/uploads",
Expand All @@ -683,12 +682,12 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
},
"commands": [
". /drone/src/.drone.env",
"git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/testing",
# we need to have Web around for some general step definitions (eg. how to log in)
"git clone -b $WEB_BRANCH --single-branch --no-tags https://github.com/owncloud/web.git /srv/app/web",
"cd /srv/app/web",
"git checkout $WEB_COMMITID",
"cp -r tests/acceptance/filesForUpload/* /uploads",
"cd tests/acceptance/",
# TODO: settings/package.json has all the acceptance test dependencies
# they shouldn't be needed since we could also use them from web:/tests/acceptance/package.json
"cd /drone/src/accounts",
"yarn install --immutable",
"make test-acceptance-webui",
Expand Down Expand Up @@ -746,12 +745,12 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
},
"commands": [
". /drone/src/.drone.env",
"git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/testing",
# we need to have Web around for some general step definitions (eg. how to log in)
"git clone -b $WEB_BRANCH --single-branch --no-tags https://github.com/owncloud/web.git /srv/app/web",
"cp -r /srv/app/web/tests/acceptance/filesForUpload/* /uploads",
"cd /srv/app/web",
"git checkout $WEB_COMMITID",
"cd tests/acceptance/",
# TODO: settings/package.json has all the acceptance test dependencies
# they shouldn't be needed since we could also use them from web:/tests/acceptance/package.json
"cd /drone/src/settings",
"yarn install --immutable",
"make test-acceptance-webui",
Expand Down
6 changes: 0 additions & 6 deletions accounts/ui/tests/run-acceptance-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ then
exit 1
fi

if [ -z "$OCIS_SKELETON_DIR" ]
then
echo "OCIS_SKELETON_DIR env variable is not set, cannot find skeleton directory"
exit 1
fi

if [ -z "$WEB_UI_CONFIG" ]
then
echo "WEB_UI_CONFIG env variable is not set, cannot find web config file"
Expand Down

0 comments on commit d2395f5

Please sign in to comment.