Skip to content

Automate build of Docker images #203

Open

Description

@josteinaj

Activity

  1. bertfrees commented on Mar 31, 2022

    @bertfrees
    Member

    I used to do this by building the image and pushing it to Hub, but it's not working anymore :-( You don't happen to have an idea?

  2. josteinaj commented on Mar 31, 2022

    @josteinaj
    MemberAuthor

    I have all of NLBs docker images set up to trigger a new build on every new commits on the master branch as well as any tags matching a certain pattern. That could be an option for daisyorg/pipeline-assembly as well so that you don't have to do it manually; maybe with a -DskipTests or similar if the tests either don't work or take too long on docker hub.

    Occasionally I do tag things locally and push it to docker hub, and it worked fine the last time I tried. What happens when you try to build, tag and push?

  3. bertfrees commented on Mar 31, 2022

    @bertfrees
    Member

    I have all of NLBs docker images set up to trigger a new build on every new commits on the master branch as well as any tags matching a certain pattern.

    That is how it used to work if I remember correctly, but then that stopped working and I started to build the images locally and push them. I'd love it to be done automatically again.

    What happens when you try to build, tag and push?

    Everything seemed normal but the new tags wouldn't appear on https://hub.docker.com/r/daisyorg/pipeline-assembly/tags. But I tried again now and now it worked :-)

    By the way you'll find v1.14.6, which is now the latest version. I haven't pushed v1.14.5.

  4. josteinaj commented on Apr 4, 2022

    @josteinaj
    MemberAuthor

    docker build . didn't work in the pipeline-assembly repo for me. This is the error when I'm on the tag v1.14.6:

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single (assemble-linux-dir) on project assembly: Failed to create assembly: Error adding file to archive: /usr/src/daisy-pipeline2/target/release-descriptor/releaseDescriptor.xml -> [Help 1]
    

    In the daisyorg organization on docker hub, under the "Builds" tab, I get a message saying "Available with Pro, Team and Business subscriptions." So probably, DAISY needs to upgrade to a Team subscription to get automated builds working again. It would be $300 per year.

  5. bertfrees commented on Apr 5, 2022

    @bertfrees
    Member

    docker build . didn't work in the pipeline-assembly repo for me.

    I don't normally use that to build the docker image. But I made some commits last week that should fix it I think. I've just pushed them to the "develop" branch.

  6. josteinaj commented on Apr 5, 2022

    @josteinaj
    MemberAuthor
    /bin/sh: 1: make: not found
    
  7. bertfrees commented on Apr 5, 2022

    @bertfrees
    Member

    Hehe, great. Needs some debugging :-)

  8. josteinaj commented on Apr 5, 2022

    @josteinaj
    MemberAuthor

    😉

  9. bertfrees commented on Apr 6, 2022

    @bertfrees
    Member

    Updated the "develop" branch with some more fixes.

  10. josteinaj commented on Apr 7, 2022

    @josteinaj
    MemberAuthor

    Seems to work! Nice!

  11. changed the title [-]Missing Docker image for Pipeline 2 v1.14.5[/-] [+]Automate build of Docker images[/+] on Apr 7, 2022
  12. bertfrees commented on Sep 7, 2022

    @bertfrees
    Member

    I added a Github workflow to build and push a Docker image of the master branch to daisyorg/pipeline:latest-snapshot: daisy/pipeline@f16b64f. I still do the releases manually.

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

Metadata

Metadata

Assignees

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