diff --git a/devfile.yaml b/devfile.yaml index 9bcad8d..3a55541 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -42,6 +42,12 @@ commands: type: exec command: ./golang-health-check component: go-cli + - name: 3. Build and deploy in OpenShift + actions: + - workdir: '${CHE_PROJECTS_ROOT}/golang-health-check' + type: exec + command: oc process -f .openshiftio/application.yaml -p SOURCE_REPOSITORY_URL=https://github.com/nmasse-itix/test-crw.git | oc apply -f - + component: go-cli - name: Debug configuration actions: - referenceContent: |