add "daily" deployments to the continuous deployment (#5484)
This commit is contained in:
1 parent
eca2d31463
commit
860ebcfff9
16 files changed
+124
-16
No files matched your search
+7
-5
@@ -2122,7 +2122,7 @@ def skipIfUnchanged(ctx, type):
|
|||||||
}]
|
}]
|
||||||
|
|
||||||
def example_deploys(ctx):
|
def example_deploys(ctx):
|
||||||
latest_configs = [
|
on_merge_deploy = [
|
||||||
"ocis_ldap/latest.yml",
|
"ocis_ldap/latest.yml",
|
||||||
"ocis_keycloak/latest.yml",
|
"ocis_keycloak/latest.yml",
|
||||||
"ocis_traefik/latest.yml",
|
"ocis_traefik/latest.yml",
|
||||||
@@ -2131,23 +2131,25 @@ def example_deploys(ctx):
|
|||||||
"ocis_s3/latest.yml",
|
"ocis_s3/latest.yml",
|
||||||
"oc10_ocis_parallel/latest.yml",
|
"oc10_ocis_parallel/latest.yml",
|
||||||
]
|
]
|
||||||
released_configs = [
|
nightly_deploy = [
|
||||||
"ocis_ldap/released.yml",
|
"ocis_ldap/released.yml",
|
||||||
"ocis_keycloak/released.yml",
|
"ocis_keycloak/released.yml",
|
||||||
"ocis_traefik/released.yml",
|
"ocis_traefik/released.yml",
|
||||||
"ocis_wopi/released.yml",
|
"ocis_wopi/released.yml",
|
||||||
|
"ocis_traefik/daily.yml",
|
||||||
|
"ocis_wopi/daily.yml",
|
||||||
]
|
]
|
||||||
|
|
||||||
# if on master branch:
|
# if on master branch:
|
||||||
configs = latest_configs
|
configs = on_merge_deploy
|
||||||
rebuild = "false"
|
rebuild = "false"
|
||||||
|
|
||||||
if ctx.build.event == "tag":
|
if ctx.build.event == "tag":
|
||||||
configs = released_configs
|
configs = nightly_deploy
|
||||||
rebuild = "false"
|
rebuild = "false"
|
||||||
|
|
||||||
if ctx.build.event == "cron":
|
if ctx.build.event == "cron":
|
||||||
configs = latest_configs + released_configs
|
configs = on_merge_deploy + nightly_deploy
|
||||||
rebuild = "true"
|
rebuild = "true"
|
||||||
|
|
||||||
deploys = []
|
deploys = []
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
os_env_umask: 022 # https://github.com/dev-sec/ansible-collection-hardening/blob/master/roles/os_hardening/README.md#variables
|
os_env_umask: 022 # https://github.com/dev-sec/ansible-collection-hardening/blob/master/roles/os_hardening/README.md#variables
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- https://github.com/butonic.keys
|
- https://github.com/butonic.keys
|
||||||
- https://github.com/C0rby.keys
|
|
||||||
- https://github.com/fschade.keys
|
- https://github.com/fschade.keys
|
||||||
- https://github.com/kulmann.keys
|
- https://github.com/kulmann.keys
|
||||||
- https://github.com/micbar.keys
|
- https://github.com/micbar.keys
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
vars:
|
vars:
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- https://github.com/butonic.keys
|
- https://github.com/butonic.keys
|
||||||
- https://github.com/C0rby.keys
|
|
||||||
- https://github.com/fschade.keys
|
- https://github.com/fschade.keys
|
||||||
- https://github.com/kulmann.keys
|
- https://github.com/kulmann.keys
|
||||||
- https://github.com/micbar.keys
|
- https://github.com/micbar.keys
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
vars:
|
vars:
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- https://github.com/butonic.keys
|
- https://github.com/butonic.keys
|
||||||
- https://github.com/C0rby.keys
|
|
||||||
- https://github.com/fschade.keys
|
- https://github.com/fschade.keys
|
||||||
- https://github.com/kulmann.keys
|
- https://github.com/kulmann.keys
|
||||||
- https://github.com/micbar.keys
|
- https://github.com/micbar.keys
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
vars:
|
vars:
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- https://github.com/butonic.keys
|
- https://github.com/butonic.keys
|
||||||
- https://github.com/C0rby.keys
|
|
||||||
- https://github.com/fschade.keys
|
- https://github.com/fschade.keys
|
||||||
- https://github.com/kulmann.keys
|
- https://github.com/kulmann.keys
|
||||||
- https://github.com/micbar.keys
|
- https://github.com/micbar.keys
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
vars:
|
vars:
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- https://github.com/butonic.keys
|
- https://github.com/butonic.keys
|
||||||
- https://github.com/C0rby.keys
|
|
||||||
- https://github.com/fschade.keys
|
- https://github.com/fschade.keys
|
||||||
- https://github.com/kulmann.keys
|
- https://github.com/kulmann.keys
|
||||||
- https://github.com/micbar.keys
|
- https://github.com/micbar.keys
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
vars:
|
vars:
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- https://github.com/butonic.keys
|
- https://github.com/butonic.keys
|
||||||
- https://github.com/C0rby.keys
|
|
||||||
- https://github.com/fschade.keys
|
- https://github.com/fschade.keys
|
||||||
- https://github.com/kulmann.keys
|
- https://github.com/kulmann.keys
|
||||||
- https://github.com/micbar.keys
|
- https://github.com/micbar.keys
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
vars:
|
vars:
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- https://github.com/butonic.keys
|
- https://github.com/butonic.keys
|
||||||
- https://github.com/C0rby.keys
|
|
||||||
- https://github.com/fschade.keys
|
- https://github.com/fschade.keys
|
||||||
- https://github.com/kulmann.keys
|
- https://github.com/kulmann.keys
|
||||||
- https://github.com/micbar.keys
|
- https://github.com/micbar.keys
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
---
|
||||||
|
- name: continuous-deployment-ocis-traefik-daily
|
||||||
|
server:
|
||||||
|
server_type: cx21
|
||||||
|
image: ubuntu-20.04
|
||||||
|
location: nbg1
|
||||||
|
initial_ssh_key_names:
|
||||||
|
- owncloud-ocis@drone.owncloud.com
|
||||||
|
labels:
|
||||||
|
owner: wkloucek
|
||||||
|
for: oCIS-continuous-deployment-examples
|
||||||
|
rebuild: $REBUILD
|
||||||
|
rebuild_carry_paths:
|
||||||
|
- /var/lib/docker/volumes/ocis_certs
|
||||||
|
|
||||||
|
domains:
|
||||||
|
- "*.ocis-traefik.daily.owncloud.works"
|
||||||
|
|
||||||
|
vars:
|
||||||
|
ssh_authorized_keys:
|
||||||
|
- https://github.com/butonic.keys
|
||||||
|
- https://github.com/fschade.keys
|
||||||
|
- https://github.com/kulmann.keys
|
||||||
|
- https://github.com/micbar.keys
|
||||||
|
- https://github.com/wkloucek.keys
|
||||||
|
docker_compose_projects:
|
||||||
|
- name: ocis
|
||||||
|
git_url: https://github.com/owncloud/ocis.git
|
||||||
|
ref: master
|
||||||
|
docker_compose_path: deployments/examples/ocis_traefik
|
||||||
|
env:
|
||||||
|
INSECURE: "false"
|
||||||
|
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
|
||||||
|
OCIS_DOCKER_TAG: latest
|
||||||
|
OCIS_DOMAIN: ocis.ocis-traefik.daily.owncloud.works
|
||||||
|
DEMO_USERS: "true"
|
||||||
|
INBUCKET_DOMAIN: mail.ocis-traefik.daily.owncloud.works
|
||||||
|
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||||
|
- name: monitoring
|
||||||
|
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||||
|
ref: master
|
||||||
|
env:
|
||||||
|
NETWORK_NAME: ocis-net
|
||||||
|
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-traefik.daily.owncloud.works
|
||||||
|
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
|
||||||
|
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
|
||||||
|
OCIS_URL: ocis.ocis-traefik.daily.owncloud.works
|
||||||
|
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-traefik-daily
|
||||||
@@ -19,7 +19,6 @@
|
|||||||
vars:
|
vars:
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- https://github.com/butonic.keys
|
- https://github.com/butonic.keys
|
||||||
- https://github.com/C0rby.keys
|
|
||||||
- https://github.com/fschade.keys
|
- https://github.com/fschade.keys
|
||||||
- https://github.com/kulmann.keys
|
- https://github.com/kulmann.keys
|
||||||
- https://github.com/micbar.keys
|
- https://github.com/micbar.keys
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
vars:
|
vars:
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- https://github.com/butonic.keys
|
- https://github.com/butonic.keys
|
||||||
- https://github.com/C0rby.keys
|
|
||||||
- https://github.com/fschade.keys
|
- https://github.com/fschade.keys
|
||||||
- https://github.com/kulmann.keys
|
- https://github.com/kulmann.keys
|
||||||
- https://github.com/micbar.keys
|
- https://github.com/micbar.keys
|
||||||
|
|||||||
@@ -0,0 +1,51 @@
|
|||||||
|
---
|
||||||
|
- name: continuous-deployment-ocis-wopi-daily
|
||||||
|
server:
|
||||||
|
server_type: cx21
|
||||||
|
image: ubuntu-20.04
|
||||||
|
location: nbg1
|
||||||
|
initial_ssh_key_names:
|
||||||
|
- owncloud-ocis@drone.owncloud.com
|
||||||
|
labels:
|
||||||
|
owner: wkloucek
|
||||||
|
for: oCIS-continuous-deployment-examples
|
||||||
|
rebuild: $REBUILD
|
||||||
|
rebuild_carry_paths:
|
||||||
|
- /var/lib/docker/volumes/ocis_certs
|
||||||
|
|
||||||
|
domains:
|
||||||
|
- "*.ocis-wopi.daily.owncloud.works"
|
||||||
|
|
||||||
|
vars:
|
||||||
|
ssh_authorized_keys:
|
||||||
|
- https://github.com/butonic.keys
|
||||||
|
- https://github.com/fschade.keys
|
||||||
|
- https://github.com/kulmann.keys
|
||||||
|
- https://github.com/micbar.keys
|
||||||
|
- https://github.com/wkloucek.keys
|
||||||
|
docker_compose_projects:
|
||||||
|
- name: ocis
|
||||||
|
git_url: https://github.com/owncloud/ocis.git
|
||||||
|
ref: master
|
||||||
|
docker_compose_path: deployments/examples/ocis_wopi
|
||||||
|
env:
|
||||||
|
INSECURE: "false"
|
||||||
|
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
|
||||||
|
OCIS_DOCKER_TAG: latest
|
||||||
|
OCIS_DOMAIN: ocis.ocis-wopi.daily.owncloud.works
|
||||||
|
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.daily.owncloud.works
|
||||||
|
COLLABORA_DOMAIN: collabora.ocis-wopi.daily.owncloud.works
|
||||||
|
ONLYOFFICE_DOMAIN: onlyoffice.ocis-wopi.daily.owncloud.works
|
||||||
|
INBUCKET_DOMAIN: mail.ocis-wopi.daily.owncloud.works
|
||||||
|
DEMO_USERS: "true"
|
||||||
|
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||||
|
- name: monitoring
|
||||||
|
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||||
|
ref: master
|
||||||
|
env:
|
||||||
|
NETWORK_NAME: ocis-net
|
||||||
|
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-wopi.daily.owncloud.works
|
||||||
|
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
|
||||||
|
TELEGRAF_SPECIFIC_CONFIG: ocis_wopi
|
||||||
|
OCIS_URL: ocis.ocis-wopi.daily.owncloud.works
|
||||||
|
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-wopi-daily
|
||||||
@@ -19,7 +19,6 @@
|
|||||||
vars:
|
vars:
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- https://github.com/butonic.keys
|
- https://github.com/butonic.keys
|
||||||
- https://github.com/C0rby.keys
|
|
||||||
- https://github.com/fschade.keys
|
- https://github.com/fschade.keys
|
||||||
- https://github.com/kulmann.keys
|
- https://github.com/kulmann.keys
|
||||||
- https://github.com/micbar.keys
|
- https://github.com/micbar.keys
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
vars:
|
vars:
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys:
|
||||||
- https://github.com/butonic.keys
|
- https://github.com/butonic.keys
|
||||||
- https://github.com/C0rby.keys
|
|
||||||
- https://github.com/fschade.keys
|
- https://github.com/fschade.keys
|
||||||
- https://github.com/kulmann.keys
|
- https://github.com/kulmann.keys
|
||||||
- https://github.com/micbar.keys
|
- https://github.com/micbar.keys
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ services:
|
|||||||
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
|
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
|
||||||
# demo users
|
# demo users
|
||||||
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
|
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
|
||||||
|
# fulltext search
|
||||||
SEARCH_EXTRACTOR_TYPE: tika
|
SEARCH_EXTRACTOR_TYPE: tika
|
||||||
SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://tika:9998
|
SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://tika:9998
|
||||||
# email server (in this case inbucket acts as mail catcher)
|
# email server (in this case inbucket acts as mail catcher)
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ geekdocFilePath: continuous_deployment.md
|
|||||||
We are continuously deploying the following deployment examples. Every example is deployed in two flavors:
|
We are continuously deploying the following deployment examples. Every example is deployed in two flavors:
|
||||||
|
|
||||||
- Latest: reflects the current master branch state of oCIS and will be updated with every commit to master
|
- Latest: reflects the current master branch state of oCIS and will be updated with every commit to master
|
||||||
|
- Daily: reflects the master branch state of oCIS as of the time of deployment
|
||||||
- Released: reflects the newest release state (currently latest release of version 1) and will be updated with every release
|
- Released: reflects the newest release state (currently latest release of version 1) and will be updated with every release
|
||||||
|
|
||||||
The configuration for the continuous deployment can be found in the [oCIS repository](https://github.com/owncloud/ocis/tree/master/deployments/continuous-deployment-config).
|
The configuration for the continuous deployment can be found in the [oCIS repository](https://github.com/owncloud/ocis/tree/master/deployments/continuous-deployment-config).
|
||||||
@@ -27,6 +28,11 @@ Credentials:
|
|||||||
- oCIS: [ocis.ocis-traefik.latest.owncloud.works](https://ocis.ocis-traefik.latest.owncloud.works)
|
- oCIS: [ocis.ocis-traefik.latest.owncloud.works](https://ocis.ocis-traefik.latest.owncloud.works)
|
||||||
- Mail: [mail.ocis-traefik.latest.owncloud.works](https://mail.ocis-traefik.latest.owncloud.works)
|
- Mail: [mail.ocis-traefik.latest.owncloud.works](https://mail.ocis-traefik.latest.owncloud.works)
|
||||||
|
|
||||||
|
## Daily
|
||||||
|
|
||||||
|
- oCIS: [ocis.ocis-traefik.daily.owncloud.works](https://ocis.ocis-traefik.daily.owncloud.works)
|
||||||
|
- Mail: [mail.ocis-traefik.daily.owncloud.works](https://mail.ocis-traefik.daily.owncloud.works)
|
||||||
|
|
||||||
## Released
|
## Released
|
||||||
|
|
||||||
- oCIS: [ocis.ocis-traefik.released.owncloud.works](https://ocis.ocis-traefik.released.owncloud.works)
|
- oCIS: [ocis.ocis-traefik.released.owncloud.works](https://ocis.ocis-traefik.released.owncloud.works)
|
||||||
@@ -41,10 +47,17 @@ Credentials:
|
|||||||
## Latest
|
## Latest
|
||||||
|
|
||||||
- oCIS: [ocis.ocis-wopi.latest.owncloud.works](https://ocis.ocis-wopi.latest.owncloud.works)
|
- oCIS: [ocis.ocis-wopi.latest.owncloud.works](https://ocis.ocis-wopi.latest.owncloud.works)
|
||||||
|
- Mail: [mail.ocis-wopi.latest.owncloud.works](https://mail.ocis-wopi.latest.owncloud.works)
|
||||||
|
|
||||||
|
## Daily
|
||||||
|
|
||||||
|
- oCIS: [ocis.ocis-wopi.daily.owncloud.works](https://ocis.ocis-wopi.daily.owncloud.works)
|
||||||
|
- Mail: [mail.ocis-wopi.daily.owncloud.works](https://mail.ocis-wopi.daily.owncloud.works)
|
||||||
|
|
||||||
## Released
|
## Released
|
||||||
|
|
||||||
- oCIS: [ocis.ocis-wopi.released.owncloud.works](https://ocis.ocis-wopi.released.owncloud.works)
|
- oCIS: [ocis.ocis-wopi.released.owncloud.works](https://ocis.ocis-wopi.released.owncloud.works)
|
||||||
|
- Mail: [mail.ocis-wopi.released.owncloud.works](https://mail.ocis-wopi.released.owncloud.works)
|
||||||
|
|
||||||
# oCIS with latest ownCloud Web
|
# oCIS with latest ownCloud Web
|
||||||
|
|
||||||
@@ -56,6 +69,10 @@ Credentials:
|
|||||||
|
|
||||||
- oCIS: [ocis.ocis-web.latest.owncloud.works](https://ocis.ocis-web.latest.owncloud.works)
|
- oCIS: [ocis.ocis-web.latest.owncloud.works](https://ocis.ocis-web.latest.owncloud.works)
|
||||||
|
|
||||||
|
## Daily
|
||||||
|
|
||||||
|
- oCIS: [ocis.ocis-web.daily.owncloud.works](https://ocis.ocis-web.daily.owncloud.works)
|
||||||
|
|
||||||
# oCIS with Keycloak
|
# oCIS with Keycloak
|
||||||
|
|
||||||
Credentials:
|
Credentials:
|
||||||
|
|||||||
Reference in new issue
Block a user