Skip to content

Installation instructions for environments without BOSH #229

Closed

Description

@cgrotz

At our environment we sadly haven't the possibility to use BOSH.
Is it possible to run concourse without BOSH? Can somebody provide instructions how to install concourse without BOSH?

Activity

  1. concourse-bot commented on Dec 8, 2015

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    • #109706244 Installation instructions for environments without BOSH

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. vito commented on Dec 9, 2015

    @vito
    Contributor

    I'd like to expand on this before 1.0 and document a bunch of install methods. The first thing we do may be to make .deb installers available. Would that work for you or do you think you'll end up building from source? Or do you use some other package manager, e.g. pacman or yum?

    The Concourse components themselves are pretty straightforward to build from source; ATC should just be go get github.com/concourse/atc, though you may want to build from our release repo (this one) instead to ensure you're building with the correct dependencies.

    The Garden Linux server (used for containerization) is a bit trickier, owing some of its complexity to containerization tech being a constant moving target, which makes portability difficult.

    @goonzoid / @julz Do you know if Guardian is/will be any easier than Garden-Linux to bootstrap without BOSH knowledge? I haven't been keeping up lately.

  3. goonzoid commented on Dec 9, 2015

    @goonzoid

    I don't know about Guardian being much easier, but it certainly won't be any harder, and it's currently not that hard. I recently updated the Garden-Linux README with instructions for running it without BOSH, and it's really not that many steps, nor are any of them very complicated.

    That said, if you find some part that's annoying to deal with when you're doing the packaging work, let us know and we can see if there's anything that might be tweaked to make it simpler.

  4. vito commented on Dec 9, 2015

    @vito
    Contributor

    @goonzoid Cool, thanks! I'll dig in some more tomorrow and let you know how it goes.

  5. anorsich commented on Dec 9, 2015

    @anorsich

    I also curious about the ways to setup standalone concourse instance without a need to invest time into learning Bosh. Is it possible to just run concourse within docker container? @vito while dev/yum packages makes a lot of sense, docker seems a much simpler option.

    I was completely sold after reading philosophy of the concourse. In addition, to that I almost finished migrating our CI server scripts to the concourse (using vagrant), but stuck while setting up production instance.

    @vito Any tips/pointers would be highly appreciated. @cgrotz Any findings so far?

  6. vito commented on Dec 9, 2015

    @vito
    Contributor

    @anorsich Docker images are on the roadmap, but we'll probably start with .deb and/or prebuilt binaries first, which are more universal. Should be easy to build a Docker image based on them.

    Tricky part with Docker images for everything is that Garden itself is a containerizer, and running containerizers in containerizers gets tricky pretty quickly. A Docker image for the ATC would be trivial though.

    Have you tried the Vagrant boxes? There's also an AWS box, but we don't document it as there's no way to configure auth after you spun it up. We'll be fixing that soon.

  7. anorsich commented on Dec 10, 2015

    @anorsich

    @vito Looking forward to having either .deb or prebuilt binaries! I think I'll stay with the vagrant box for our production environment.

    Do you have any plans to support concouse scaling without bosh? For bigger projects we typically use apache mesos for everything (ci, databases, queues, application services, etc).

    Thank you once more for the all the work you do. I am really impressed by concourse!

  8. cgrotz commented on Dec 10, 2015

    @cgrotz
    Author

    We have yum here. Prebuild binaries would be good, but Docker would be even better. :-)
    I will try to build it manually, and see how far I come.

  9. vito commented on Dec 10, 2015

    @vito
    Contributor

    @anorsich We may not develop all the different ways to spin up a cluster, but we'll be keeping it pretty easy to do so with your own tooling. It's really just a matter of pointing multiple ATCs at the same Postgres and making sure they have URLs they can reach each other with (--peer-url). We'll have docs for this as well. We're intentionally keeping it simple so you don't need a big tool like BOSH to deploy it.

    We'll probably stick to BOSH ourselves since it's nice to have the development team able to focus on one tool/test cluster/development workflow. It's our preferred solution for scalable clusters generally, but that doesn't mean we want to force others to switch to it (you probably have your own stack). PRs welcome for contributing docs/templates for other deployment schemes; we'll happily refer to them from the main site as long as they're maintained.

  10. anorsich commented on Jan 13, 2016

    @anorsich

    @vito Just wanted to check if you had a chance to work on prebuit binaries / docker image for deploying standalone instance of concourse. Thank you!

  11. vito commented on Jan 14, 2016

    @vito
    Contributor

    @anorsich Still workin' on it. You can get a sneak peek here: https://github.com/vito/concourse-bin Prereleases available as GitHub releases; check the README for instructions. Some squeaky hinges here and there but it's coming along nicely.

  12. anorsich commented on Jan 18, 2016

    @anorsich

    @vito Thanks for the great job! I was able to install concourse just by following README. I haven't tested any piplelines, but based on logs I can say that both worker & web roles works. I put together my Ansible installation scripts together (nginx as proxy, postgresql via docker, concourse web & worker under upstart) in this repo which might help to someone.
    I had to disable ssl mode (sslmode=disable) right in connection string to postgresql to make it finally work. This is fine for me, because postgresql will be located on same machine as concourse and protected by firewall.

  13. anorsich commented on Jan 18, 2016

    @anorsich

    @vito Simple pipeline(just pulling sources out of git repo) panicing. Here is build log:

    panic: runtime error: index out of range
    
    goroutine 1 [running]:
    github.com/concourse/fly/commands.(*JobFlag).UnmarshalFlag(0x71df00, 0x7fff5fbff9bb, 0x12, 0x0, 0x0)
        /var/vcap/packages/fly/src/github.com/concourse/fly/commands/job_flag.go:19 +0x3f5
    github.com/jessevdk/go-flags.convertUnmarshal(0x7fff5fbff9bb, 0x12, 0x4315c0, 0x71df00, 0x16, 0x16, 0x0, 0x0)
        /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/convert.go:157 +0x176
    github.com/jessevdk/go-flags.convertUnmarshal(0x7fff5fbff9bb, 0x12, 0x45c1a0, 0x71df00, 0xd9, 0x1a, 0x0, 0x0)
        /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/convert.go:162 +0x2ab
    github.com/jessevdk/go-flags.convert(0x7fff5fbff9bb, 0x12, 0x45c1a0, 0x71df00, 0xd9, 0x582720, 0x60, 0xc820015aa0, 0x0, 0x0)
        /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/convert.go:173 +0x79
    github.com/jessevdk/go-flags.(*Option).set(0xc820112000, 0xc8200fba28, 0x0, 0x0)
        /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/option_private.go:41 +0x5e9
    github.com/jessevdk/go-flags.(*Parser).parseOption(0xc820016870, 0xc8200ab5f0, 0x7fff5fbff9b7, 0x3, 0xc820112000, 0xffffffffffffff01, 0x0, 0x0, 0x0)
        /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/parser_private.go:186 +0x642
    github.com/jessevdk/go-flags.(*Parser).parseLong(0xc820016870, 0xc8200ab5f0, 0x7fff5fbff9b7, 0x3, 0x0, 0x0, 0x0)
        /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/parser_private.go:220 +0xe4
    github.com/jessevdk/go-flags.(*Parser).ParseArgs(0xc820016870, 0xc82008c010, 0x7, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0)
        /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/parser.go:230 +0xbaa
    github.com/jessevdk/go-flags.(*Parser).Parse(0xc820016870, 0x0, 0x0, 0x0, 0x0, 0x0)
        /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/parser.go:154 +0x9b
    main.main()
        /var/vcap/packages/fly/src/github.com/concourse/fly/main.go:14 +0x62
    
    goroutine 3 [syscall]:
    os/signal.loop()
        /var/vcap/data/packages/golang/08f1cb1a11d32468882fc07a0d5b33fd735ddda4-879879219167b8e7b3c3232048c6e95f096aa90a/src/os/signal/signal_unix.go:22 +0x18
    created by os/signal.init.1
        /var/vcap/data/packages/golang/08f1cb1a11d32468882fc07a0d5b33fd735ddda4-879879219167b8e7b3c3232048c6e95f096aa90a/src/os/signal/signal_unix.go:28 +0x37
    
  14. vito commented on Jan 18, 2016

    @vito
    Contributor

    Cool, glad it's working out!

    That panic should be fixed with the latest fly.
    On Jan 18, 2016 5:33 AM, "Andrew Orsich" [email protected] wrote:

    @vito https://github.com/vito Simple pipeline(just pulling sources out
    of git repo) panicing. Here is build log:

    panic: runtime error: index out of range

    goroutine 1 [running]:github.com/concourse/fly/commands.(_JobFlag).UnmarshalFlag(0x71df00, 0x7fff5fbff9bb, 0x12, 0x0, 0x0)
    /var/vcap/packages/fly/src/github.com/concourse/fly/commands/job_flag.go:19 +0x3f5github.com/jessevdk/go-flags.convertUnmarshal(0x7fff5fbff9bb, 0x12, 0x4315c0, 0x71df00, 0x16, 0x16, 0x0, 0x0)
    /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/convert.go:157 +0x176github.com/jessevdk/go-flags.convertUnmarshal(0x7fff5fbff9bb, 0x12, 0x45c1a0, 0x71df00, 0xd9, 0x1a, 0x0, 0x0)
    /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/convert.go:162 +0x2abgithub.com/jessevdk/go-flags.convert(0x7fff5fbff9bb, 0x12, 0x45c1a0, 0x71df00, 0xd9, 0x582720, 0x60, 0xc820015aa0, 0x0, 0x0)
    /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/convert.go:173 +0x79github.com/jessevdk/go-flags.(_Option).set(0xc820112000, 0xc8200fba28, 0x0, 0x0)
    /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/option_private.go:41 +0x5e9github.com/jessevdk/go-flags.(_Parser).parseOption(0xc820016870, 0xc8200ab5f0, 0x7fff5fbff9b7, 0x3, 0xc820112000, 0xffffffffffffff01, 0x0, 0x0, 0x0)
    /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/parser_private.go:186 +0x642github.com/jessevdk/go-flags.(_Parser).parseLong(0xc820016870, 0xc8200ab5f0, 0x7fff5fbff9b7, 0x3, 0x0, 0x0, 0x0)
    /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/parser_private.go:220 +0xe4github.com/jessevdk/go-flags.(_Parser).ParseArgs(0xc820016870, 0xc82008c010, 0x7, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0)
    /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/parser.go:230 +0xbaagithub.com/jessevdk/go-flags.(_Parser).Parse(0xc820016870, 0x0, 0x0, 0x0, 0x0, 0x0)
    /var/vcap/packages/fly/src/github.com/jessevdk/go-flags/parser.go:154 +0x9b
    main.main()
    /var/vcap/packages/fly/src/github.com/concourse/fly/main.go:14 +0x62

    goroutine 3 [syscall]:
    os/signal.loop()
    /var/vcap/data/packages/golang/08f1cb1a11d32468882fc07a0d5b33fd735ddda4-879879219167b8e7b3c3232048c6e95f096aa90a/src/os/signal/signal_unix.go:22 +0x18
    created by os/signal.init.1
    /var/vcap/data/packages/golang/08f1cb1a11d32468882fc07a0d5b33fd735ddda4-879879219167b8e7b3c3232048c6e95f096aa90a/src/os/signal/signal_unix.go:28 +0x37

    —
    Reply to this email directly or view it on GitHub
    #229 (comment)
    .

  15. vyshane commented on Mar 14, 2016

    @vyshane

    I noticed that there's a concourse/concourse-ci Docker image. Is there any documentation on how to use it?

  16. vito commented on Mar 14, 2016

    @vito
    Contributor

    That image is for our own CI pipeline, and doesn't have Concourse in it
    (just random test dependencies). It's not for external consumption. The
    docs for official distribution formats would live at https://concourse.ci -
    we're currently revamping it and will document the binaries soon, which
    come from https://github.com/concourse/bin

    On Mon, Mar 14, 2016 at 6:07 AM Vy-Shane [email protected] wrote:

    I noticed that there's a concourse/concourse-ci
    https://hub.docker.com/r/concourse/concourse-ci/ Docker image. Is there
    any documentation on how to use it?

    —
    Reply to this email directly or view it on GitHub
    #229 (comment)
    .

  17. vito commented on Apr 7, 2016

    @vito
    Contributor
  18. concourse-bot commented on Apr 7, 2016

    @concourse-bot

    Hello again!

    All stories related to this issue have been accepted, so I'm going to automatically close this issue.

    At the time of writing, the following stories have been accepted:

    • #109706244 Installation instructions for environments without BOSH

    If you feel there is still more to be done, or if you have any questions, leave a comment and we'll reopen if necessary!

  19. johnscancella commented on Jun 24, 2016

    @johnscancella

    I know this has been closed but I would also like to vote for a package (yum and deb). For everything else on my server I can just do yum update and know everything has been upgraded to the latest version for security. Also, you could have the package setup and install and configure the dependencies for concourse (like postgres and the atc database).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions