From 50c1f441644b0cff3732691e6d9bebd3c58c962f Mon Sep 17 00:00:00 2001 From: Vincent Chan Date: Sat, 29 Jan 2022 23:46:03 +0800 Subject: [PATCH] bump version and also test train Bump version to 1.1.2, and also test train --- .../machinaris/{1.1.1 => 1.1.2}/.helmignore | 0 charts/machinaris/{1.1.1 => 1.1.2}/Chart.yaml | 2 +- charts/machinaris/{1.1.1 => 1.1.2}/README.md | 0 .../machinaris/{1.1.1 => 1.1.2}/app-readme.md | 0 .../charts/common-2112.0.0.tgz | Bin .../{1.1.1 => 1.1.2}/ix_values.yaml | 0 .../{1.1.1 => 1.1.2}/questions.yaml | 0 .../{1.1.1 => 1.1.2}/requirements.lock | 0 .../{1.1.1 => 1.1.2}/templates/_helpers.tpl | 0 .../templates/coins-deployment.yaml | 0 .../templates/deployment.yaml | 0 .../{1.1.1 => 1.1.2}/templates/service.yaml | 0 .../templates/tests/cactus-check.yaml | 0 .../templates/tests/machinaris-check.yaml | 0 .../{1.1.1 => 1.1.2}/test_values.yaml | 0 test/machinaris/{1.1.1 => 1.1.2}/.helmignore | 0 test/machinaris/{1.1.1 => 1.1.2}/Chart.yaml | 2 +- test/machinaris/{1.1.1 => 1.1.2}/README.md | 4 +- .../machinaris/{1.1.1 => 1.1.2}/app-readme.md | 4 +- .../charts/common-2112.0.0.tgz | Bin .../{1.1.1 => 1.1.2}/ix_values.yaml | 14 ++ .../{1.1.1 => 1.1.2}/questions.yaml | 125 ++++++++++++++++++ .../{1.1.1 => 1.1.2}/requirements.lock | 0 .../{1.1.1 => 1.1.2}/templates/_helpers.tpl | 0 .../templates/coins-deployment.yaml | 2 +- .../templates/deployment.yaml | 0 .../{1.1.1 => 1.1.2}/templates/service.yaml | 0 .../templates/tests/cactus-check.yaml | 0 .../templates/tests/machinaris-check.yaml | 0 .../{1.1.1 => 1.1.2}/test_values.yaml | 0 30 files changed, 146 insertions(+), 7 deletions(-) rename charts/machinaris/{1.1.1 => 1.1.2}/.helmignore (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/Chart.yaml (96%) rename charts/machinaris/{1.1.1 => 1.1.2}/README.md (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/app-readme.md (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/charts/common-2112.0.0.tgz (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/ix_values.yaml (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/questions.yaml (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/requirements.lock (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/templates/_helpers.tpl (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/templates/coins-deployment.yaml (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/templates/deployment.yaml (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/templates/service.yaml (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/templates/tests/cactus-check.yaml (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/templates/tests/machinaris-check.yaml (100%) rename charts/machinaris/{1.1.1 => 1.1.2}/test_values.yaml (100%) rename test/machinaris/{1.1.1 => 1.1.2}/.helmignore (100%) rename test/machinaris/{1.1.1 => 1.1.2}/Chart.yaml (96%) rename test/machinaris/{1.1.1 => 1.1.2}/README.md (97%) mode change 100755 => 100644 rename test/machinaris/{1.1.1 => 1.1.2}/app-readme.md (97%) rename test/machinaris/{1.1.1 => 1.1.2}/charts/common-2112.0.0.tgz (100%) rename test/machinaris/{1.1.1 => 1.1.2}/ix_values.yaml (92%) rename test/machinaris/{1.1.1 => 1.1.2}/questions.yaml (92%) rename test/machinaris/{1.1.1 => 1.1.2}/requirements.lock (100%) rename test/machinaris/{1.1.1 => 1.1.2}/templates/_helpers.tpl (100%) rename test/machinaris/{1.1.1 => 1.1.2}/templates/coins-deployment.yaml (88%) rename test/machinaris/{1.1.1 => 1.1.2}/templates/deployment.yaml (100%) rename test/machinaris/{1.1.1 => 1.1.2}/templates/service.yaml (100%) rename test/machinaris/{1.1.1 => 1.1.2}/templates/tests/cactus-check.yaml (100%) rename test/machinaris/{1.1.1 => 1.1.2}/templates/tests/machinaris-check.yaml (100%) rename test/machinaris/{1.1.1 => 1.1.2}/test_values.yaml (100%) diff --git a/charts/machinaris/1.1.1/.helmignore b/charts/machinaris/1.1.2/.helmignore similarity index 100% rename from charts/machinaris/1.1.1/.helmignore rename to charts/machinaris/1.1.2/.helmignore diff --git a/charts/machinaris/1.1.1/Chart.yaml b/charts/machinaris/1.1.2/Chart.yaml similarity index 96% rename from charts/machinaris/1.1.1/Chart.yaml rename to charts/machinaris/1.1.2/Chart.yaml index 5cc95144e6..023035405e 100644 --- a/charts/machinaris/1.1.1/Chart.yaml +++ b/charts/machinaris/1.1.2/Chart.yaml @@ -14,4 +14,4 @@ keywords: name: machinaris sources: - https://github.com/guydavis/machinaris -version: 1.1.1 +version: 1.1.2 diff --git a/charts/machinaris/1.1.1/README.md b/charts/machinaris/1.1.2/README.md similarity index 100% rename from charts/machinaris/1.1.1/README.md rename to charts/machinaris/1.1.2/README.md diff --git a/charts/machinaris/1.1.1/app-readme.md b/charts/machinaris/1.1.2/app-readme.md similarity index 100% rename from charts/machinaris/1.1.1/app-readme.md rename to charts/machinaris/1.1.2/app-readme.md diff --git a/charts/machinaris/1.1.1/charts/common-2112.0.0.tgz b/charts/machinaris/1.1.2/charts/common-2112.0.0.tgz similarity index 100% rename from charts/machinaris/1.1.1/charts/common-2112.0.0.tgz rename to charts/machinaris/1.1.2/charts/common-2112.0.0.tgz diff --git a/charts/machinaris/1.1.1/ix_values.yaml b/charts/machinaris/1.1.2/ix_values.yaml similarity index 100% rename from charts/machinaris/1.1.1/ix_values.yaml rename to charts/machinaris/1.1.2/ix_values.yaml diff --git a/charts/machinaris/1.1.1/questions.yaml b/charts/machinaris/1.1.2/questions.yaml similarity index 100% rename from charts/machinaris/1.1.1/questions.yaml rename to charts/machinaris/1.1.2/questions.yaml diff --git a/charts/machinaris/1.1.1/requirements.lock b/charts/machinaris/1.1.2/requirements.lock similarity index 100% rename from charts/machinaris/1.1.1/requirements.lock rename to charts/machinaris/1.1.2/requirements.lock diff --git a/charts/machinaris/1.1.1/templates/_helpers.tpl b/charts/machinaris/1.1.2/templates/_helpers.tpl similarity index 100% rename from charts/machinaris/1.1.1/templates/_helpers.tpl rename to charts/machinaris/1.1.2/templates/_helpers.tpl diff --git a/charts/machinaris/1.1.1/templates/coins-deployment.yaml b/charts/machinaris/1.1.2/templates/coins-deployment.yaml similarity index 100% rename from charts/machinaris/1.1.1/templates/coins-deployment.yaml rename to charts/machinaris/1.1.2/templates/coins-deployment.yaml diff --git a/charts/machinaris/1.1.1/templates/deployment.yaml b/charts/machinaris/1.1.2/templates/deployment.yaml similarity index 100% rename from charts/machinaris/1.1.1/templates/deployment.yaml rename to charts/machinaris/1.1.2/templates/deployment.yaml diff --git a/charts/machinaris/1.1.1/templates/service.yaml b/charts/machinaris/1.1.2/templates/service.yaml similarity index 100% rename from charts/machinaris/1.1.1/templates/service.yaml rename to charts/machinaris/1.1.2/templates/service.yaml diff --git a/charts/machinaris/1.1.1/templates/tests/cactus-check.yaml b/charts/machinaris/1.1.2/templates/tests/cactus-check.yaml similarity index 100% rename from charts/machinaris/1.1.1/templates/tests/cactus-check.yaml rename to charts/machinaris/1.1.2/templates/tests/cactus-check.yaml diff --git a/charts/machinaris/1.1.1/templates/tests/machinaris-check.yaml b/charts/machinaris/1.1.2/templates/tests/machinaris-check.yaml similarity index 100% rename from charts/machinaris/1.1.1/templates/tests/machinaris-check.yaml rename to charts/machinaris/1.1.2/templates/tests/machinaris-check.yaml diff --git a/charts/machinaris/1.1.1/test_values.yaml b/charts/machinaris/1.1.2/test_values.yaml similarity index 100% rename from charts/machinaris/1.1.1/test_values.yaml rename to charts/machinaris/1.1.2/test_values.yaml diff --git a/test/machinaris/1.1.1/.helmignore b/test/machinaris/1.1.2/.helmignore similarity index 100% rename from test/machinaris/1.1.1/.helmignore rename to test/machinaris/1.1.2/.helmignore diff --git a/test/machinaris/1.1.1/Chart.yaml b/test/machinaris/1.1.2/Chart.yaml similarity index 96% rename from test/machinaris/1.1.1/Chart.yaml rename to test/machinaris/1.1.2/Chart.yaml index 5cc95144e6..023035405e 100644 --- a/test/machinaris/1.1.1/Chart.yaml +++ b/test/machinaris/1.1.2/Chart.yaml @@ -14,4 +14,4 @@ keywords: name: machinaris sources: - https://github.com/guydavis/machinaris -version: 1.1.1 +version: 1.1.2 diff --git a/test/machinaris/1.1.1/README.md b/test/machinaris/1.1.2/README.md old mode 100755 new mode 100644 similarity index 97% rename from test/machinaris/1.1.1/README.md rename to test/machinaris/1.1.2/README.md index a505c78690..5eaca51a69 --- a/test/machinaris/1.1.1/README.md +++ b/test/machinaris/1.1.2/README.md @@ -3,7 +3,7 @@ Machinaris [MACHINARIS](https://github.com/guydavis/machinaris) is an easy-to-use WebUI for Chia plotting and farming. This includes Chia, Plotman, MadMax, Chiadog under main node along with various coin-forks which can be enabled conditionally. -Coins include Cactus, Chives, CrypoDoge, Flax, Flora, HDDCoin, Maize, NChain, StaiCoin, Stor and BTCGreen. +Coins include Cactus, Chives, CrypoDoge, Flax, Flora, HDDCoin, Maize, NChain, StaiCoin, Stor, BTCGreen and Shibgreen. Introduction ------------ @@ -68,4 +68,4 @@ Following are the Volume Configurations for Machinaris main node & the coin-fork | `plotting` | `/plotting` | `/plotting` | Plotting temp volume for main node & coin forks | | `-config` | `/-config` | `/root/.chia` | Chia config for each of the coin-fork containers| -Where `` is `/mnt//ix-applications/releases//volumes/ix_volumes/` and `` is one of the following: `[ cactus, chives, crypodoge, flax, flora, hddcoin, maize, nchain, staicoin, stor, btcgreen ]`. +Where `` is `/mnt//ix-applications/releases//volumes/ix_volumes/` and `` is one of the following: `[ cactus, chives, crypodoge, flax, flora, hddcoin, maize, nchain, staicoin, stor, btcgreen, shibgreen ]`. diff --git a/test/machinaris/1.1.1/app-readme.md b/test/machinaris/1.1.2/app-readme.md similarity index 97% rename from test/machinaris/1.1.1/app-readme.md rename to test/machinaris/1.1.2/app-readme.md index d8bfc3c15f..e42a2ba7ac 100644 --- a/test/machinaris/1.1.1/app-readme.md +++ b/test/machinaris/1.1.2/app-readme.md @@ -3,7 +3,7 @@ Machinaris [MACHINARIS](https://github.com/guydavis/machinaris) is an easy-to-use WebUI for Chia plotting and farming. This includes Chia, Plotman, MadMax, Chiadog under main node along with various coin-forks which can be enabled conditionally. -Coins include Cactus, Chives, CrypoDoge, Flax, Flora, HDDCoin, Maize, NChain, StaiCoin, Stor and BTCGreen. +Coins include Cactus, Chives, CrypoDoge, Flax, Flora, HDDCoin, Maize, NChain, StaiCoin, Stor, BTCGreen and Shibgreen. # Machinaris Defaults This section contains information about the defaults of Machinaris application for visibility. @@ -63,4 +63,4 @@ Following are the Volume Configurations for Machinaris main node & the coin-fork | `plotting` | `/plotting` | `/plotting` | Plotting temp volume for main node & coin forks | | `-config` | `/-config` | `/root/.chia` | Chia config for each of the coin-fork containers| -Where `` is `/mnt//ix-applications/releases//volumes/ix_volumes/` and `` is one of the following: `[ cactus, chives, crypodoge, flax, flora, hddcoin, maize, nchain, staicoin, stor, btcgreen ]`. +Where `` is `/mnt//ix-applications/releases//volumes/ix_volumes/` and `` is one of the following: `[ cactus, chives, crypodoge, flax, flora, hddcoin, maize, nchain, staicoin, stor, btcgreen, shibgreen ]`. diff --git a/test/machinaris/1.1.1/charts/common-2112.0.0.tgz b/test/machinaris/1.1.2/charts/common-2112.0.0.tgz similarity index 100% rename from test/machinaris/1.1.1/charts/common-2112.0.0.tgz rename to test/machinaris/1.1.2/charts/common-2112.0.0.tgz diff --git a/test/machinaris/1.1.1/ix_values.yaml b/test/machinaris/1.1.2/ix_values.yaml similarity index 92% rename from test/machinaris/1.1.1/ix_values.yaml rename to test/machinaris/1.1.2/ix_values.yaml index 3fff630bcb..481930ae3f 100644 --- a/test/machinaris/1.1.1/ix_values.yaml +++ b/test/machinaris/1.1.2/ix_values.yaml @@ -53,6 +53,7 @@ coins: - staicoin - stor - btcgreen +- shibgreen cryptodoge: apiPort: 8937 farmerPort: 16895 @@ -178,4 +179,17 @@ stor: - containerPort: 8337 name: farming protocol: TCP +shibgreen: + apiPort: 8939 + farmerPort: 18974 + ports: + - containerPort: 8939 + name: api + protocol: TCP + - containerPort: 7442 + name: blockchain + protocol: TCP + - containerPort: 18974 + name: farming + protocol: TCP updateStrategy: Recreate diff --git a/test/machinaris/1.1.1/questions.yaml b/test/machinaris/1.1.2/questions.yaml similarity index 92% rename from test/machinaris/1.1.1/questions.yaml rename to test/machinaris/1.1.2/questions.yaml index 8b926c2d0d..2bd5dba87e 100644 --- a/test/machinaris/1.1.1/questions.yaml +++ b/test/machinaris/1.1.2/questions.yaml @@ -1621,3 +1621,128 @@ questions: label: "Value" schema: type: string +# Shibgreen Configurations + - variable: shibgreenEnabled + label: "Enable Shibgreen" + group: "Configure Coins" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: shibgreen + label: "Configure Shibgreen" + schema: + type: dict + additional_attrs: true + attrs: + - variable: volumeMounts + label: "Storage Configurations" + schema: + type: dict + attrs: + - variable: config + label: "Configuration Volume" + schema: + type: dict + attrs: + - variable: datasetName + label: "Configuration Volume Dataset Name" + schema: + type: string + hidden: true + $ref: + - "normalize/ixVolume" + show_if: [["hostPathEnabled", "=", false]] + default: "shibgreen-config" + editable: false + - variable: mountPath + label: "Configuration Mount Path" + description: "Path where the volume will be mounted inside the pod" + schema: + type: path + hidden: true + editable: false + default: "/root/.chia" + - variable: hostPathEnabled + label: "Enable Custom Host Path for Configuration Volume" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hostPath + label: "Host Path for Configuration Volume" + schema: + type: hostpath + required: true + - variable: mnemonic + label: "Mnemonic Volume" + schema: + type: dict + attrs: + - variable: datasetName + label: "Mnemonic Volume Dataset Name" + schema: + type: string + hidden: true + $ref: + - "normalize/ixVolume" + show_if: [["hostPathEnabled", "=", false]] + default: "config" + editable: false + - variable: mountPath + label: "Mnemonic Mount Path" + description: "Path where the volume will be mounted inside the pod" + schema: + type: path + hidden: true + editable: false + default: "/root/.chia/mnemonic.txt" + - variable: subPath + label: "Subpath in the Dataset" + schema: + type: string + hidden: true + show_if: [["hostPathEnabled", "=", false]] + default: "mnemonic.txt" + editable: false + - variable: readOnly + label: "Mode" + description: "Mnemonic file mode" + schema: + type: boolean + hidden: true + editable: false + default: true + - variable: hostPathEnabled + label: "Enable Custom Host Path for Mnemonic Volume" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hostPath + label: "Host Path for Mnemonic Volume" + schema: + type: hostpath + required: true + - variable: environmentVariables + label: "Environment Variables" + schema: + type: list + default: [] + items: + - variable: environmentVariable + label: "Environment Variable" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string diff --git a/test/machinaris/1.1.1/requirements.lock b/test/machinaris/1.1.2/requirements.lock similarity index 100% rename from test/machinaris/1.1.1/requirements.lock rename to test/machinaris/1.1.2/requirements.lock diff --git a/test/machinaris/1.1.1/templates/_helpers.tpl b/test/machinaris/1.1.2/templates/_helpers.tpl similarity index 100% rename from test/machinaris/1.1.1/templates/_helpers.tpl rename to test/machinaris/1.1.2/templates/_helpers.tpl diff --git a/test/machinaris/1.1.1/templates/coins-deployment.yaml b/test/machinaris/1.1.2/templates/coins-deployment.yaml similarity index 88% rename from test/machinaris/1.1.1/templates/coins-deployment.yaml rename to test/machinaris/1.1.2/templates/coins-deployment.yaml index 36675675ac..5419441d28 100644 --- a/test/machinaris/1.1.1/templates/coins-deployment.yaml +++ b/test/machinaris/1.1.2/templates/coins-deployment.yaml @@ -34,7 +34,7 @@ spec: - name: extrappvolume-{{ $index }} mountPath: {{ $hostPathConfiguration.mountPath }} {{ end }} - {{ include "allEnvironmentVariables" (dict "defaultEnv" (dict "TZ" $ref.Values.timezone "worker_address" $ref.Values.nodeIP "worker_api_port" $coin.apiPort "controller_api_port" $coin.apiPort "farmer_port" $coin.farmerPort "blockchains" $coinName "plots_dir" $ref.Values.appVolumeMounts.plots.mountPath "mode" "fullnode") "environmentVariables" $coin.environmentVariables) | nindent 10 }} + {{ include "allEnvironmentVariables" (dict "defaultEnv" (dict "TZ" $ref.Values.timezone "worker_address" $ref.Values.nodeIP "worker_api_port" $coin.apiPort "controller_host" $ref.Values.nodeIP "controller_api_port" $ref.Values.apiPort "farmer_port" $coin.farmerPort "blockchains" $coinName "plots_dir" $ref.Values.appVolumeMounts.plots.mountPath "mode" "fullnode") "environmentVariables" $coin.environmentVariables) | nindent 10 }} volumes: {{ include "common.storage.configureAppVolumes" (dict "appVolumeMounts" $coin.volumeMounts "ixVolumes" $ref.Values.ixVolumes) | nindent 8 }} {{ range $index, $hostPathConfiguration := $ref.Values.extraAppVolumeMounts }} - name: extrappvolume-{{ $coinName }}-{{ $index }} diff --git a/test/machinaris/1.1.1/templates/deployment.yaml b/test/machinaris/1.1.2/templates/deployment.yaml similarity index 100% rename from test/machinaris/1.1.1/templates/deployment.yaml rename to test/machinaris/1.1.2/templates/deployment.yaml diff --git a/test/machinaris/1.1.1/templates/service.yaml b/test/machinaris/1.1.2/templates/service.yaml similarity index 100% rename from test/machinaris/1.1.1/templates/service.yaml rename to test/machinaris/1.1.2/templates/service.yaml diff --git a/test/machinaris/1.1.1/templates/tests/cactus-check.yaml b/test/machinaris/1.1.2/templates/tests/cactus-check.yaml similarity index 100% rename from test/machinaris/1.1.1/templates/tests/cactus-check.yaml rename to test/machinaris/1.1.2/templates/tests/cactus-check.yaml diff --git a/test/machinaris/1.1.1/templates/tests/machinaris-check.yaml b/test/machinaris/1.1.2/templates/tests/machinaris-check.yaml similarity index 100% rename from test/machinaris/1.1.1/templates/tests/machinaris-check.yaml rename to test/machinaris/1.1.2/templates/tests/machinaris-check.yaml diff --git a/test/machinaris/1.1.1/test_values.yaml b/test/machinaris/1.1.2/test_values.yaml similarity index 100% rename from test/machinaris/1.1.1/test_values.yaml rename to test/machinaris/1.1.2/test_values.yaml