Giter VIP home page Giter VIP logo

Comments (17)

alastairs avatar alastairs commented on July 2, 2024

i will work along the assumption of check in causes deployment for now

Sounds great! Will you be putting "gates" in place so that failed builds and test failures prevent that change from being deployed?

from givecrm.

stack72 avatar stack72 commented on July 2, 2024

for sure - a successful build and successful unit test run (I will be adding a lot more of these) will cause a build and deploy :)

from givecrm.

alastairs avatar alastairs commented on July 2, 2024

Cool! Some of us got round to writing tests, others didn't. The way of the weekend, I guess.

from givecrm.

AnthonySteele avatar AnthonySteele commented on July 2, 2024

CI is good. Thanks Paul!

from givecrm.

stack72 avatar stack72 commented on July 2, 2024

Ok the build will be on my build server

teamcity.paulstack.co.uk:8000

there is a giveCRM user
user: givecrm
pw: givecampuk

you can monitor the build on there

More to come on this

from givecrm.

robinminto avatar robinminto commented on July 2, 2024

Any chance we can have a CI build for GiveCRM.Admin too please?

We'll have the same database project dependency that we have for GiveCRM by the way (Mark built both DB layers identically).

from givecrm.

alastairs avatar alastairs commented on July 2, 2024

@stack72 Thanks for setting this up! One question: how are the builds triggered? I just checked TeamCity and there were two changes pending that had been sat there since yesterday evening. I ran a build manually...

Not sure why Chris' change didn't fix the build either.

from givecrm.

stack72 avatar stack72 commented on July 2, 2024

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.TSqlTasks.targets" was not found

there is another reference to those TeamData GAC references - the build is now triggered by VCS checkin

from givecrm.

stack72 avatar stack72 commented on July 2, 2024

@robinminto of course - i will set that one up in a bit (during lunch!)

from givecrm.

chrisjdiver avatar chrisjdiver commented on July 2, 2024

Ah, sorry about that, looks like that file references two others in the program files directory.

If no-one objects i'll add the files and push to the repo.

from givecrm.

stack72 avatar stack72 commented on July 2, 2024

@chris - go for it mate

from givecrm.

chrisjdiver avatar chrisjdiver commented on July 2, 2024

I've added the files, but the build failed with a new error, looks like a library that comes with VS2010.

I found this on stackoverflow, might have to drop that project from the build?

http://stackoverflow.com/questions/3988879/getting-msbuild-and-cruisecontrol-net-to-build-and-deploy-vs2010-database-proje

from givecrm.

alastairs avatar alastairs commented on July 2, 2024

Ewwww, I feel dirty just reading the line,

The only way to do this and be in line with the licensing and support is to install a local copy of VS Pro or higher on your build box if not using TFS.

from givecrm.

stack72 avatar stack72 commented on July 2, 2024

We are not installing VS on a build server - I just cannot allow it!

from givecrm.

kendallmiller avatar kendallmiller commented on July 2, 2024

I love CI and I applaud the notion that we don't want to install VS on the build server, although it's a line I've never managed to hold (there are just too many good extensions that use it..) In this case though since portability of the project is important I think we have to keep a "no installing anything on the build server" rule intact. That may mean we have to take a different approach to databse schema management. For example, I've used an approach on our commercial products that is a PITA but ensures we can always upgrade databases at runtime when applications are fired up.

from givecrm.

alastairs avatar alastairs commented on July 2, 2024

Based on our email discussions, @markrendle has some plans around the database and Simple.Data that would remove our dependency on the database projects.

from givecrm.

stack72 avatar stack72 commented on July 2, 2024

Ok I have had to not include the DataBase project as part of the build - this means that we now have a successful build using PSake :)

I will tidy the script and then start auto deploy script to test.givecrm.org.uk

from givecrm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.