From 1dc2ad0e00727969f131bcbfb0610960f3229e83 Mon Sep 17 00:00:00 2001 From: Vitalii Parfonov Date: Fri, 10 Jul 2020 17:26:28 +0300 Subject: [PATCH] Add plugin for support asynchronous storage (#525) * Add async storage plugin Signed-off-by: Vitalii Parfonov --- .../eclipse/che-async-pv-plugin/latest.txt | 1 + .../che-async-pv-plugin/nightly/meta.yaml | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 v3/plugins/eclipse/che-async-pv-plugin/latest.txt create mode 100644 v3/plugins/eclipse/che-async-pv-plugin/nightly/meta.yaml diff --git a/v3/plugins/eclipse/che-async-pv-plugin/latest.txt b/v3/plugins/eclipse/che-async-pv-plugin/latest.txt new file mode 100644 index 0000000000..bf867e0ae5 --- /dev/null +++ b/v3/plugins/eclipse/che-async-pv-plugin/latest.txt @@ -0,0 +1 @@ +nightly diff --git a/v3/plugins/eclipse/che-async-pv-plugin/nightly/meta.yaml b/v3/plugins/eclipse/che-async-pv-plugin/nightly/meta.yaml new file mode 100644 index 0000000000..65ab864ca8 --- /dev/null +++ b/v3/plugins/eclipse/che-async-pv-plugin/nightly/meta.yaml @@ -0,0 +1,37 @@ +apiVersion: v2 +publisher: eclipse +name: che-async-pv-plugin +version: nightly +type: Che Plugin +displayName: Che Async Storage Service +title: Che Async Storage Service Plugin +description: Che Plug-in with service to provide abilty for backup/restore project source from async storage +icon: https://www.eclipse.org/che/images/logo-eclipseche.svg +repository: https://github.com/che-incubator/workspace-data-sync +firstPublicationDate: "2020-07-10" +category: Other +spec: + endpoints: + - name: "che-rsync-events" + public: true + targetPort: 4445 + attributes: + protocol: ws + type: rsync + discoverable: false + secure: false + cookiesAuthEnabled: true + containers: + - name: che-rsync + image: "quay.io/eclipse/che-sidecar-workspace-data-sync:latest" + memoryLimit: "512M" + lifecycle: + preStop: + exec: + command: ["/bin/sh", "-c", "/scripts/backup.sh"] + mountSources: true + ports: + - exposedPort: 4445 + env: + - name: RSYNC_PORT + value: "2222"