Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#6 bootstrap wendy on bob #11

Merged
merged 1 commit into from
Jan 16, 2020
Merged

#6 bootstrap wendy on bob #11

merged 1 commit into from
Jan 16, 2020

Conversation

TimoKramer
Copy link
Member

Hey @lispyclouds,
how about this approach? Do you think this makes sense for people to ease onboarding? I could restore the Dockerfile and offer the approach to build on local docker-daemon as well.

@lispyclouds
Copy link
Member

This looks REALLY awesome! 😄 Thanks a ton for this!!

Some thoughts:

  • Add the running of wendy's unit tests to the steps of bob
  • When a commit happens here, we can change the CircleCI steps to run this script instead of the usual stuff
  • We can then ditch running the build on CircleCI for wendy
    This way Bob is truly bootstrapped upon another CI!
  • Yes, the dockerfile isnt needed.

What do you think?

@@ -0,0 +1,67 @@
#!/bin/env bash
# This script builds wendy on bob.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add the GPL license header here too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

* bash script to bootstrap wendy on bob
** needs running bob on localhost:7777
** needs running artifact store on localhost:8001
** needs running external resource for git on localhost:8000
* sends to json-converted toml file docs/build_wendy.toml
* registers external resource
* registers artifact store
* deletes and creates pipeline
** deletes because I need to download binary from first run
* accepts no arguments for now
** better accept alternatives for HOST and PORT
** but alternatives for artifact store and
        external resource would be complex
** it is only for beginners to start working with wendy
* TIMEOUT is on 5mins that is mostly sufficient
* queries status of pipeline every 3secs
* when pipeline is done it downloads wendy
* runs wendy can-we-build-it to test
* Closes #6

Squashed commit of the following:

commit ad6d70043bbea803efb78f353e98d621a2dc4a1a
Author: Timo Kramer <fw-git@timokramer.de>
Date:   Thu Jan 16 22:42:37 2020 +0100

    GPL

commit cc44677
Author: Timo Kramer <fw-git@timokramer.de>
Date:   Thu Jan 16 17:44:16 2020 +0100

    #6 Dockerfile not needed anymore

commit 1825792
Author: Timo Kramer <fw-git@timokramer.de>
Date:   Thu Jan 16 17:30:53 2020 +0100

    Bootstrap wendy on bob (#6)

    * bash script to bootstrap wendy on bob
    ** needs running bob on localhost:7777
    ** needs running artifact store on localhost:8001
    ** needs running external resource for git on localhost:8000
    * sends to json-converted toml file docs/build_wendy.toml
    * registers external resource
    * registers artifact store
    * deletes and creates pipeline
    ** deletes because I need to download binary from first run
    * accepts no arguments for now
    ** better accept alternatives for HOST and PORT
    ** but alternatives for artifact store and
            external resource would be complex
    ** it is only for beginners to start working with wendy
    * TIMEOUT is on 5mins that is mostly sufficient
    * queries status of pipeline every 3secs
    * when pipeline is done it downloads wendy
    * runs wendy can-we-build-it to test
    * Closes #6

    Squashed commit of the following:

    commit 77d7ff0
    Author: Timo Kramer <fw-git@timokramer.de>
    Date:   Thu Jan 16 17:10:56 2020 +0100

        #6 some more

    commit 5bb1ba6
    Author: Timo Kramer <fw-git@timokramer.de>
    Date:   Thu Jan 16 15:47:15 2020 +0100

        #6 working bootstrap bash script

    commit 371c70b
    Author: Timo Kramer <fw-git@timokramer.de>
    Date:   Wed Jan 8 18:17:54 2020 +0100

        #6 created toml-file for wendy

    commit c0515a1
    Author: Timo Kramer <fw-git@timokramer.de>
    Date:   Wed Jan 8 13:48:13 2020 +0100

        #6 switched Dockerfile to official graalvm by oracle

    commit d49eedb
    Author: Timo Kramer <fw-git@timokramer.de>
    Date:   Wed Jan 8 12:41:13 2020 +0100

        #6 basic Dockerfile
@TimoKramer
Copy link
Member Author

TimoKramer commented Jan 16, 2020

I think it would be cool to continuously integrate wendy on bob. I have to think about the specifics you were mentioning above but guess it makes total sense:) I opened another issue on that.

@TimoKramer TimoKramer merged commit 6fa63d3 into master Jan 16, 2020
@TimoKramer TimoKramer deleted the #6-bootstrap-wendy-on-bob branch January 16, 2020 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants