Skip to content

Commit

Permalink
Merge pull request #1163 from owncloud/adjust-elasticsearch-url
Browse files Browse the repository at this point in the history
Adjust elasticsearch url and validateDailyTarballBuild
  • Loading branch information
phil-davis authored Dec 22, 2022
2 parents 1003e92 + 4938166 commit 59c62b3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ config = {
"master",
],
"codestyle": True,
"validateDailyTarball": True,
"phpstan": True,
"phan": {
"multipleVersions": {
Expand Down Expand Up @@ -1959,7 +1960,7 @@ def setupElasticSearch(esVersion):
"image": OC_CI_PHP % DEFAULT_PHP_VERSION,
"commands": [
"cd %s" % dir["server"],
"php occ config:app:set search_elastic servers --value elasticsearch",
"php occ config:app:set search_elastic servers --value http://elasticsearch:9200",
"php occ search:index:reset --force",
],
},
Expand Down Expand Up @@ -2342,6 +2343,12 @@ def skipIfUnchanged(ctx, type):
return []

def validateDailyTarballBuild():
if "validateDailyTarball" not in config:
return []

if not config["validateDailyTarball"]:
return []

pipeline = {
"kind": "pipeline",
"type": "docker",
Expand Down

0 comments on commit 59c62b3

Please sign in to comment.