@xfe-repo/mini-app 0.0.18 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/deploy/.drone.yml CHANGED
@@ -179,8 +179,13 @@ steps:
179
179
  - sed -i "s/<<ENV_TYPE>>/test/g" deploy/helm/values.test.yaml
180
180
  - sed -i "s/<<APP_SUFFIX>>/-$HOST_PREFIX/g" deploy/helm/values.test.yaml
181
181
  - sed -i "s/<<HOST_PREFIX>>/$HOST_PREFIX/g" deploy/helm/values.test.yaml
182
- - helm template deploy/helm --values deploy/helm/values.test.yaml
183
- - helm template deploy/helm --values deploy/helm/values.test.yaml | kubectl --kubeconfig=kube_config apply -f -
182
+ - sed -i "s/deployment/$appName-$HOST_PREFIX/g" deploy/helm/Chart.yaml
183
+ - sed -i "s/1.0.0/0.0.0-$CI_COMMIT_SHA/g" deploy/helm/Chart.yaml
184
+ - helm upgrade --install "$appName-$HOST_PREFIX" deploy/helm/ \
185
+ -f deploy/helm/values.test.yaml \
186
+ --namespace deployment-test \
187
+ --create-namespace \
188
+ --history-max 5 \
184
189
  when:
185
190
  event:
186
191
  - custom
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfe-repo/mini-app",
3
- "version": "0.0.18",
3
+ "version": "0.1.0",
4
4
  "bin": {
5
5
  "xfe-mini": "./bin/index.js"
6
6
  },