TsuyoshiUshio / KubernetesTask

Kubernetes Task for Visual Studio Team Services
34 stars 14 forks source link

kubectl apply failed for version 0.1.31 #8

Closed TsuyoshiUshio closed 7 years ago

TsuyoshiUshio commented 7 years ago

I released version 0.1.31 however, it failed. Now I deploy 0.1.32 to revert the change. it works. However, 0.1.31 is added a feature for automated dowonload. I need to fix this problem. Now I release this version instead.

https://github.com/TsuyoshiUshio/KubernetesTask/tree/fix/cannotusedoubleminus

2017-03-20T13:55:28.9681690Z ##[section]Starting: kubectlapply 
2017-03-20T13:55:30.1279490Z ==============================================================================
2017-03-20T13:55:30.1534400Z Task         : Kubernetes Apply Task
2017-03-20T13:55:30.1815740Z Description  : Kubernetes Task. You can use kubectl apply by this command.
2017-03-20T13:55:30.2054020Z Version      : 0.1.31
2017-03-20T13:55:30.2310690Z Author       : Tsuyoshi Ushio
2017-03-20T13:55:30.2543460Z Help         : Kubernetes task
2017-03-20T13:55:30.2774970Z ===================================================================
    :
2017-03-20T13:55:33.2545400Z ##[error]Error: Not found configFile: ./kubeconfig
2017-03-20T13:55:33.3339500Z ##[section]Finishing: kubectlapply 

Simply this is because it can't find .kubeconfig

Only the difference of this line

works

didn't work

rakelkar commented 7 years ago

Hmm - worked when I tested on a hosted linux agent... do you know why it didnt work for you? Are you possibly using a Windows agent?

TsuyoshiUshio commented 7 years ago

I tried on a hosted linux agent. I just update the task. Then I tried to create a release. The result was like that. One of the problem of the market place is we can't test in advance. :( I also try to identify why it happens.

rakelkar commented 7 years ago

You can test by making the version 0.x.x and marking it as preview... Customers should depend on 1.x.x versions...

On Mar 21, 2017 7:16 PM, "Tsuyoshi Ushio" notifications@github.com wrote:

I tried on a hosted linux agent. I just update the task. Then I tried to create a release. The result was like that. One of the problem of the market place is we can't test in advance. :( I also try to identify why it happens.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TsuyoshiUshio/KubernetesTask/issues/8#issuecomment-288278020, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQphahiyYyVKsLthJrKJpHNDZe11ogfks5roIR-gaJpZM4MifXb .

rakelkar commented 7 years ago

Oh yeah... Download works for build scenario but fails for release... If you can publish as 0.** and give me a repro of the issue I can connect with the right guy in vsts support team...

Maybe we could release different build and release tasks to mitigate?

On Mar 21, 2017 11:55 PM, "Rakesh Kelkar" rakelkar@gmail.com wrote:

You can test by making the version 0.x.x and marking it as preview... Customers should depend on 1.x.x versions...

On Mar 21, 2017 7:16 PM, "Tsuyoshi Ushio" notifications@github.com wrote:

I tried on a hosted linux agent. I just update the task. Then I tried to create a release. The result was like that. One of the problem of the market place is we can't test in advance. :( I also try to identify why it happens.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TsuyoshiUshio/KubernetesTask/issues/8#issuecomment-288278020, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQphahiyYyVKsLthJrKJpHNDZe11ogfks5roIR-gaJpZM4MifXb .

rakelkar commented 7 years ago

I added you to the thread... Sorry for the trouble... This aspect slipped my mind in all the travel :(

On Mar 21, 2017 11:57 PM, "Rakesh Kelkar" rakelkar@gmail.com wrote:

Oh yeah... Download works for build scenario but fails for release... If you can publish as 0.** and give me a repro of the issue I can connect with the right guy in vsts support team...

Maybe we could release different build and release tasks to mitigate?

On Mar 21, 2017 11:55 PM, "Rakesh Kelkar" rakelkar@gmail.com wrote:

You can test by making the version 0.x.x and marking it as preview... Customers should depend on 1.x.x versions...

On Mar 21, 2017 7:16 PM, "Tsuyoshi Ushio" notifications@github.com wrote:

I tried on a hosted linux agent. I just update the task. Then I tried to create a release. The result was like that. One of the problem of the market place is we can't test in advance. :( I also try to identify why it happens.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TsuyoshiUshio/KubernetesTask/issues/8#issuecomment-288278020, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQphahiyYyVKsLthJrKJpHNDZe11ogfks5roIR-gaJpZM4MifXb .

TsuyoshiUshio commented 7 years ago

No problem. I appreciate your contribution. :) Let's tackle this problem together. Do I need to release current working version as 1. then release 0. as a preview?

rakelkar commented 7 years ago

Yes ... and you might want to add some user documentation indicating 1.x is the stable one to use..

On Mar 22, 2017 9:24 PM, "Tsuyoshi Ushio" notifications@github.com wrote:

No problem. I appreciate your contribution. :) Let's tackle this problem together. Do I need to release current working version as 1. then release 0. as a preview?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TsuyoshiUshio/KubernetesTask/issues/8#issuecomment-288613783, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQphcYVhF8B1VY5ZrWi8sfL5ecgAGXZks5rofPwgaJpZM4MifXb .

TsuyoshiUshio commented 7 years ago

I sorted out this problem. See the https://github.com/TsuyoshiUshio/KubernetesTask/pull/10 !