GithubHelp home page GithubHelp logo

Use captain to build about conveyor HOT 13 OPEN

remind101 avatar remind101 commented on May 30, 2024
Use captain to build

from conveyor.

Comments (13)

mwildehahn avatar mwildehahn commented on May 30, 2024

I need this as well to build multiple frontend images with different assets, filed: harbur/captain#31.

I think the full commit sha is more of a nice to have, I'm going to start working on a branch that uses captain.

from conveyor.

ejholmes avatar ejholmes commented on May 30, 2024

@mhahn You can also just fork the remind101/conveyor-builder image and pass your own image as --builder.image: https://github.com/remind101/conveyor/blob/master/cmd/conveyor/worker.go#L28-L31

from conveyor.

mwildehahn avatar mwildehahn commented on May 30, 2024

yea i did that to use a more updated version of conveyor-builder but captain also provides a similar flow to circleci which is what builds all our images now, so i think its a win

from conveyor.

dkapanidis avatar dkapanidis commented on May 30, 2024

Intrigued and interested to see conveyor and captain work together. I can check the full-sha issue, would a flag-enabling option be sufficient for that?

from conveyor.

mwildehahn avatar mwildehahn commented on May 30, 2024

Yea, I think something similar to:
https://github.com/harbur/captain/blob/master/captain.go#L43
https://github.com/harbur/captain/blob/master/cmd/captain/cmd.go#L16

would work

from conveyor.

mwildehahn avatar mwildehahn commented on May 30, 2024

@Spiddy any update on this?

from conveyor.

mwildehahn avatar mwildehahn commented on May 30, 2024

@ejholmes i started looking at this last night. I had some questions about how you would recommend structuring it.

One option like you mentioned is to fork: https://github.com/remind101/conveyor/blob/master/builder/docker/bin/build and use captain instead. I wasn't sure how to integrate that into the current app structure or if i should just do it as a separate repo

from conveyor.

dkapanidis avatar dkapanidis commented on May 30, 2024

captain code is merged. It can be activated using -l flag (or --long-sha)

from conveyor.

mwildehahn avatar mwildehahn commented on May 30, 2024

thanks @Spiddy

On Mon, Feb 1, 2016 at 2:22 AM spiddy [email protected] wrote:

captain code is merged. It can be activated using -l flag (or --long-sha)


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

from conveyor.

ejholmes avatar ejholmes commented on May 30, 2024

@mhahn I think with long sha support, captain can just replace the shell commands that we have in ./bin/build.

from conveyor.

mwildehahn avatar mwildehahn commented on May 30, 2024

yea, i've started that here: https://github.com/lunohq/conveyor-builder-captain/blob/master/bin/build

only regression is retrying docker push 3 times, i opened: harbur/captain#34 to track adding support for that in captain

from conveyor.

ejholmes avatar ejholmes commented on May 30, 2024

FYI, I just pulled out remind101/conveyor-builder to https://github.com/remind101/conveyor-builder. If we make any changes to the builder, that'll be the place to do it.

from conveyor.

mwildehahn avatar mwildehahn commented on May 30, 2024

Nice it felt weird inside this repo :)
On Wed, Feb 3, 2016 at 6:31 PM Eric Holmes [email protected] wrote:

FYI, I just pulled out remind101/conveyor-builder to
https://github.com/remind101/conveyor-builder. If we make any changes to
the builder, that'll be the place to do it.


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

from conveyor.

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.