appsody / tekton-example

Example implementation of a tekton pipeline that deploys an Appsody project. This repo will be archived soon.
Apache License 2.0
11 stars 20 forks source link

install manifest task fail #22

Closed qibobo closed 5 years ago

qibobo commented 5 years ago

I tried the example on my minishift but the last task are always failed with the message:

error: unable to recognize "/workspace/git-source/app-deploy.yaml": no matches for kind "AppsodyApplication" in version "appsody.dev/v1beta1

My appsody app repo: https://github.com/qibobo/appsody-node/blob/master/app-deploy.yaml

kylegc commented 5 years ago

@chilanti any thoughts on this?

chilanti commented 5 years ago

@qibobo - please try to install the appsody operator on your cluster first, and let me know if that makes a difference. Things have changed recently in the way app-deploy.yaml is generated and it could be that the pipeline is broken. Try out:

appsody operator install -n <namespace>

where is the namespace where the app should be installed. Thanks.

neeraj-laad commented 5 years ago

@qibobo Are you able to try out the steps suggested above?

qibobo commented 5 years ago

@chilanti thank you.

brightzheng100 commented 4 years ago

I realized that we have to run appsody operator install -n <namespace> in each namespace where I want to deploy appsody applications to.

Is it by design (by consideration of security, for example)?