From 3d3da1832228e083c5967a9848d0254fafcd259f Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sun, 31 Oct 2021 18:44:30 +0100 Subject: [PATCH 1/5] update metroline conf file --- .metroline.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.metroline.yml b/.metroline.yml index 8f00b6b..1461fe8 100644 --- a/.metroline.yml +++ b/.metroline.yml @@ -2,6 +2,10 @@ version: '1' image: deblan/devenv jobs: build: + when: + branch: + - master + - feat/.* script: - npm install - npm run build From 11ccdceb9831a634b8beb748600e8f798b89a6b3 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sun, 31 Oct 2021 19:43:25 +0100 Subject: [PATCH 2/5] update documentation --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a1af4d9..2e359f4 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ You can customize colors depending of the theme (Dark theme and Breeze Dark). Co * [Installation and upgrade](#installation-and-upgrade) * [How to contribute?](#how-to-contribute) +* [Support](#support) * [Screenshots](https://gitnet.fr/deblan/side_menu/src/branch/master/screenshots/) You like this app and you want to support me? ☕ [Buy me a coffee](https://www.buymeacoffee.com/deblan) or [Donate with liberapay](https://liberapay.com/deblan) @@ -58,3 +59,8 @@ If you are a developer: Build javascripts using `make npm-build` (or `make npm-watch` to build them in real time). Then commit and create a pull request. + +Support +------- + +You can join the official room on Matrix: [#custommenu:neutralnetwork.org](https://matrix.to/#/#custommenu:neutralnetwork.org). From 9173ca37c792cb6ac66b5559e7cd84b3afe88654 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 2 Nov 2021 20:48:54 +0100 Subject: [PATCH 3/5] add ci/cd conf (drone) --- .drone.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..636ce1c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,11 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: build + image: deblan/devenv + commands: + - npm install + - npm run build From 56e87d470da7d338548fbd839eb54e3f39dd96c4 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 3 Nov 2021 19:17:29 +0100 Subject: [PATCH 4/5] add ci/cd conf (drone) --- .drone.yml | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 636ce1c..1c4c72a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,8 +4,33 @@ type: docker name: default steps: -- name: build - image: deblan/devenv - commands: - - npm install - - npm run build + - name: dependencies + image: deblan/devenv + commands: + - npm install + when: + event: + - push + + - name: build + image: deblan/devenv + volumes: + - name: artefacts + path: /artefacts + environment: + APP_CERTIFICATE: + from_secret: app_certificate + commands: + - mkdir -p "$HOME/.nextcloud/certificates" + - echo "$APP_CERTIFICATE" > "$HOME/.nextcloud/certificates/side_menu.key" + - export VERSION=$(grep "" appinfo/info.xml | grep -o "[0-9]*\.[0-9]*\.[0-9]*" --color=never) + - export RELEASE_DIRECTORY="/artefacts/deblan/side_menu" + - make release + when: + branch: + - master + +volumes: + - name: artefacts + host: + path: /var/www/html/_artefacts From 544ed1a1fa36b466ddd58b1a2193a7a8fa5b952d Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 3 Nov 2021 19:52:24 +0100 Subject: [PATCH 5/5] add ci/cd conf (drone) --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1c4c72a..b27712c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,8 +9,9 @@ steps: commands: - npm install when: - event: - - push + branch: + - master + - develop - name: build image: deblan/devenv