Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[full-ci] config env #3589

Merged
merged 51 commits into from
May 3, 2022
Merged
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
f588e90
reenable parallel deployment tests
wkloucek Apr 26, 2022
47ed302
add config docs for services
wkloucek Apr 26, 2022
061808c
remove unsupported drivers from the documentation
wkloucek May 2, 2022
ef6d32a
remove `extensions/storage` leftovers
wkloucek May 2, 2022
5e48b30
add all extensions to extensions list and ensure the Makefile
wkloucek May 2, 2022
eb82c64
app provider config docs
wkloucek May 2, 2022
18296ce
auth basic config docs
wkloucek May 2, 2022
b351785
auth bearer config docs
wkloucek May 2, 2022
f643de2
machine auth config docs
wkloucek May 2, 2022
977c4fd
ensure commands for all services
wkloucek May 3, 2022
b6f03f9
frontend config docs
wkloucek May 3, 2022
ba2fbee
fix makefile names
wkloucek May 3, 2022
26a92f2
add app-registry service
wkloucek May 3, 2022
6c2b9cb
gateway config docs
wkloucek May 3, 2022
ecb3d4b
fix app registry default config
wkloucek May 3, 2022
859ae54
groups config docs
wkloucek May 3, 2022
c0c19dc
fix app registry port
wkloucek May 3, 2022
dde2d41
ocdav config docs
wkloucek May 3, 2022
c6af86c
sharing config docs
wkloucek May 3, 2022
f501814
storage-metadata config docs
wkloucek May 3, 2022
d2edd6e
storage-publiclink config docs
wkloucek May 3, 2022
b3c8ee3
storage sahres config docs
wkloucek May 3, 2022
fd44da4
storage-users config docs
wkloucek May 3, 2022
2df402c
user config docs
wkloucek May 3, 2022
9268fdc
fix ocis build
wkloucek May 3, 2022
771bfb6
remove rest default config from user provider
wkloucek May 3, 2022
2be54a8
fix owner on ocis config files
wkloucek May 3, 2022
59c4727
temporarily revert back to json sharing drivers
wkloucek May 3, 2022
49e39f3
remove artifacts from ports docs
wkloucek May 3, 2022
3ad56ed
bring back folde precreation for sharing service
wkloucek May 3, 2022
e97ec5e
reintroduce Skip users groups in token option
wkloucek May 3, 2022
7c6cdf0
Apply suggestions from code review
butonic May 3, 2022
28978e8
fix env var typo
butonic May 3, 2022
003945e
Update group service usage
butonic May 3, 2022
4f6cc66
fix metadata storage permissions endpoint
wkloucek May 3, 2022
eac18a9
Update group doc
butonic May 3, 2022
b65936f
strip `ocis-` from command name for all standalone services
wkloucek May 3, 2022
b13a9d7
ocdav env typo
butonic May 3, 2022
8ded0ce
fix doc typo
butonic May 3, 2022
0fe6676
drop specific service name from tracing docs
butonic May 3, 2022
2c49a47
fix misnamed owncloudsql driver
butonic May 3, 2022
68ccfa3
owncloudsql driver typo
butonic May 3, 2022
201722a
Update extensions/storage-metadata/pkg/command/root.go
butonic May 3, 2022
e32f909
oc10-sql -> owncloudsql
butonic May 3, 2022
5bf8f25
expose owncloudsql sharing driver
wkloucek May 3, 2022
90e0eb4
update owncloudsql sharing settings in CI
wkloucek May 3, 2022
e14952a
update environment variables for parallel deployment in CI
wkloucek May 3, 2022
56261e3
Merge branch 'master' into config-env
wkloucek May 3, 2022
2310417
reintroduce redis in ci
wkloucek May 3, 2022
39cc17b
fix typo
butonic May 3, 2022
3d2c804
Revert "reenable parallel deployment tests"
butonic May 3, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 21 additions & 7 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,34 @@ config = {
"modules": [
# if you add a module here please also add it to the root level Makefile
"extensions/accounts",
"extensions/app-registry",
"extensions/appprovider",
"extensions/audit",
"extensions/auth-basic",
"extensions/auth-bearer",
"extensions/auth-machine",
"extensions/frontend",
"extensions/gateway",
"extensions/glauth",
"extensions/graph-explorer",
"extensions/graph",
"extensions/group",
"extensions/idm",
"extensions/idp",
"extensions/nats",
"extensions/notifications",
"extensions/ocdav",
"extensions/ocs",
"extensions/proxy",
"extensions/settings",
"extensions/storage",
"extensions/sharing",
"extensions/storage-metadata",
"extensions/storage-publiclink",
"extensions/storage-shares",
"extensions/storage-users",
"extensions/store",
"extensions/thumbnails",
"extensions/user",
"extensions/web",
"extensions/webdav",
"ocis-pkg",
Expand Down Expand Up @@ -93,19 +110,15 @@ config = {
"suites": [
"apiShareManagement",
],
# The tests fail after the storage config changes
# They will be fixed later.
"skip": True,
"skip": False,
"earlyFail": True,
"cron": "nightly",
},
"apiWebdav": {
"suites": [
"apiWebdavOperations",
],
# The tests fail after the storage config changes
# They will be fixed later.
"skip": True,
"skip": False,
"earlyFail": True,
"cron": "nightly",
},
Expand Down Expand Up @@ -2607,6 +2620,7 @@ def copyConfigs():
# ocis proxy config
"mkdir -p /etc/ocis",
"cp %s/ocis/proxy.yaml /etc/ocis/proxy.yaml" % (PARALLEL_DEPLOY_CONFIG_PATH),
"chown -R 33:33 /etc/ocis",
# oc10 configs
"mkdir -p /etc/templates",
"mkdir -p /etc/pre_server.d",
Expand Down
21 changes: 19 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,34 @@ L10N_MODULES := $(shell find . -path '*.tx*' -name 'config' | sed 's|/[^/]*$$||'
# if you add a module here please also add it to the .drone.star file
OCIS_MODULES = \
extensions/accounts \
extensions/app-registry \
extensions/appprovider \
extensions/audit \
extensions/auth-basic \
extensions/auth-bearer \
extensions/auth-machine \
extensions/frontend \
extensions/gateway \
extensions/glauth \
extensions/graph \
extensions/graph-explorer \
extensions/group \
extensions/idm \
extensions/idp \
extensions/nats \
extensions/notifications \
extensions/ocdav \
extensions/ocs \
extensions/proxy \
extensions/settings \
extensions/storage \
extensions/sharing \
extensions/storage-metadata \
extensions/storage-publiclink \
extensions/storage-shares \
extensions/storage-users \
extensions/store \
extensions/thumbnails \
extensions/user \
extensions/web \
extensions/webdav\
ocis \
Expand Down Expand Up @@ -111,7 +128,7 @@ composer.lock: composer.json
.PHONY: generate
generate:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod generate || exit 1; \
$(MAKE) -C $$mod generate || exit 1; \
done

.PHONY: vet
Expand Down
16 changes: 16 additions & 0 deletions docs/extensions/app-registry/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: App Registry
date: 2022-03-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/app-registry
geekdocFilePath: _index.md
geekdocCollapseSection: true
---

## Abstract


## Table of Contents

{{< toc-tree >}}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Apps"
date: 2018-05-02T00:00:00+00:00
weight: 10
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/storage
geekdocEditPath: edit/master/docs/extensions/appprovider
geekdocFilePath: apps.md
---

Expand Down
15 changes: 15 additions & 0 deletions docs/extensions/app-registry/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Service Configuration
date: 2018-05-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/app-registry
geekdocFilePath: configuration.md
geekdocCollapseSection: true
---

## Example YAML Config

{{< include file="extensions/_includes/app-registry-config-example.yaml" language="yaml" >}}

{{< include file="extensions/_includes/app-registry_configvars.md" >}}
16 changes: 16 additions & 0 deletions docs/extensions/appprovider/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: App Provider
date: 2022-03-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/appprovider
geekdocFilePath: _index.md
geekdocCollapseSection: true
---

## Abstract


## Table of Contents

{{< toc-tree >}}
15 changes: 15 additions & 0 deletions docs/extensions/appprovider/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Service Configuration
date: 2018-05-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/appprovider
geekdocFilePath: configuration.md
geekdocCollapseSection: true
---

## Example YAML Config

{{< include file="extensions/_includes/appprovider-config-example.yaml" language="yaml" >}}

{{< include file="extensions/_includes/appprovider_configvars.md" >}}
16 changes: 16 additions & 0 deletions docs/extensions/auth-basic/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Auth-Basic
date: 2022-03-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/auth-basic
geekdocFilePath: _index.md
geekdocCollapseSection: true
---

## Abstract


## Table of Contents

{{< toc-tree >}}
15 changes: 15 additions & 0 deletions docs/extensions/auth-basic/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Service Configuration
date: 2018-05-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/auth-basic
geekdocFilePath: configuration.md
geekdocCollapseSection: true
---

## Example YAML Config

{{< include file="extensions/_includes/auth-basic-config-example.yaml" language="yaml" >}}

{{< include file="extensions/_includes/auth-basic_configvars.md" >}}
16 changes: 16 additions & 0 deletions docs/extensions/auth-bearer/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Auth-Bearer
date: 2022-03-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/auth-bearer
geekdocFilePath: _index.md
geekdocCollapseSection: true
---

## Abstract


## Table of Contents

{{< toc-tree >}}
15 changes: 15 additions & 0 deletions docs/extensions/auth-bearer/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Service Configuration
date: 2018-05-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/auth-bearer
geekdocFilePath: configuration.md
geekdocCollapseSection: true
---

## Example YAML Config

{{< include file="extensions/_includes/auth-bearer-config-example.yaml" language="yaml" >}}

{{< include file="extensions/_includes/auth-bearer_configvars.md" >}}
16 changes: 16 additions & 0 deletions docs/extensions/auth-machine/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Auth-Machine
date: 2022-03-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/auth-machine
geekdocFilePath: _index.md
geekdocCollapseSection: true
---

## Abstract


## Table of Contents

{{< toc-tree >}}
15 changes: 15 additions & 0 deletions docs/extensions/auth-machine/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Service Configuration
date: 2018-05-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/auth-machine
geekdocFilePath: configuration.md
geekdocCollapseSection: true
---

## Example YAML Config

{{< include file="extensions/_includes/auth-machine-config-example.yaml" language="yaml" >}}

{{< include file="extensions/_includes/auth-machine_configvars.md" >}}
16 changes: 16 additions & 0 deletions docs/extensions/frontend/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Frontend
date: 2022-03-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/frontend
geekdocFilePath: _index.md
geekdocCollapseSection: true
---

## Abstract


## Table of Contents

{{< toc-tree >}}
15 changes: 15 additions & 0 deletions docs/extensions/frontend/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Service Configuration
date: 2018-05-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/frontend
geekdocFilePath: configuration.md
geekdocCollapseSection: true
---

## Example YAML Config

{{< include file="extensions/_includes/frontend-config-example.yaml" language="yaml" >}}

{{< include file="extensions/_includes/frontend_configvars.md" >}}
16 changes: 16 additions & 0 deletions docs/extensions/gateway/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Gateway
date: 2022-03-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/gateway
geekdocFilePath: _index.md
geekdocCollapseSection: true
---

## Abstract


## Table of Contents

{{< toc-tree >}}
15 changes: 15 additions & 0 deletions docs/extensions/gateway/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Service Configuration
date: 2018-05-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/gateway
geekdocFilePath: configuration.md
geekdocCollapseSection: true
---

## Example YAML Config

{{< include file="extensions/_includes/gateway-config-example.yaml" language="yaml" >}}

{{< include file="extensions/_includes/gateway_configvars.md" >}}
16 changes: 16 additions & 0 deletions docs/extensions/group/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Group
date: 2022-03-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/group
geekdocFilePath: _index.md
geekdocCollapseSection: true
---

## Abstract


## Table of Contents

{{< toc-tree >}}
15 changes: 15 additions & 0 deletions docs/extensions/group/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Service Configuration
date: 2018-05-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/group
geekdocFilePath: configuration.md
geekdocCollapseSection: true
---

## Example YAML Config

{{< include file="extensions/_includes/group-config-example.yaml" language="yaml" >}}

{{< include file="extensions/_includes/group_configvars.md" >}}
Loading