how to push zip files from local GO server path to go agent servers

197 views
Skip to first unread message

vv

unread,
Sep 11, 2014, 4:23:54 AM9/11/14
to go...@googlegroups.com
Good day all,

we have windows server based environments and MS based development tools (TFS, VS)

I would like to  test Go and possibly implement it in our environment, i have some questions to be able ot move forward with testings:

My testing scenarios:

1) push zip file using Go from shared drive(or local folder in Go server machine - local PC) which is mapped to Go server and Go agents (windows servers) where  new releases are deployed
2) Extract the zip file under all agent machines where zip file was pushed to 
3) Take off pool members under IIS in those agent machines to start the deployment
4) Once pools are taken out, run the .bat , vbs and .ps1 scripts from extracted zip file, These scripts are basically doing the deployment

Currently, im stuck at creating the pipeline, the material stuff where i have to provide from where it should take the code (zip file). I see the options to use TFS, GIt and etc repositories, though for testing purposes i need to be able to get the zip file from share drive or even from my local pc folder where the Go server is installed. If everything will go smoothly, we plan to have TFS mapped to push the zip files to Go agents.

If anyone could help with my scenarios to bring some light the easiest and best approach and how to configure that i could push zip files from local folder or shared drive, i would appreciate a lot!

thanks!

Ken Mugrage

unread,
Sep 11, 2014, 5:23:20 AM9/11/14
to vv, go...@googlegroups.com

Hello,

The concept of a material is very important to the "continuous" part of continuous delivery. The goal of Go as an application is to watch a version controlled material (either in an SCM or in a package manager) and take some actions when that material is updated. In other words, Go doesn't want to consume your zip file, Go wants to orchestrate the build, test and deployment of the things in your zip file. 

It appears (although of course I could be misinterpreting) that you're thinking of Go more as a deployment tool than a continuous delivery tool. Go doesn't have native knowledge of any servers, it's more meant to orchestrate those things that do. 

There's a very good example of deploying to Windows IIS in a blog created by Mark Richter - http://lyricsoft.blogspot.in/2012/08/we-are-often-asked-about-using.html

All of this isn't to say you couldn't do what you're asking. For example you could put the .zip file into a package repository and have Go watch that as a material. You could fake a material by creating an empty repo. I don't personally think you should. 

Best,
Ken

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Ken Mugrage - ThoughtWorks Studios OSS Program Manager
Twitter
@kmugrage

Reply all
Reply to author
Forward
0 new messages