Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Announcements
  3. Updates to build service

Updates to build service

Scheduled Pinned Locked Moved Announcements
18 Posts 9 Posters 2.8k Views 11 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by girish
    #1

    Hi all,
    We have reworked our build service to make it easy to run custom apps (as mentioned in https://forum.cloudron.io/topic/1958/upcoming-apps). We will have the docs and a blog post later this week, but long story short, you can now install the build service (which was previously a service hosted by us) on your Cloudron itself. The build service is an app that you install on Cloudron just like any other app (it's opensource at https://git.cloudron.io/cloudron/cloudron-build-service). Once installed, cloudron build will ask you for the credentials to the installed build service and you are good to go. One the Cloudron side, there is a UI to set custom registry auth information (this will be part of 4.3 which will also be released in a day or two).

    The changes are getting deployed as we speak. Do NOT use the build service app yet on a production system. We are still testing out all the edge cases.

    The buildbot will thus be down moving forward. To build your custom apps in the mean time, do this:

    • Setup docker locally on your PC/laptop
    • docker build -t username/myimage:tag in your code
    • docker push username/myimage:tag
    • cloudron install --image username/myimage:tag
    1 Reply Last reply
    4
    • yusfY Offline
      yusfY Offline
      yusf
      wrote on last edited by
      #2

      Glorious! Never expected this component to be released but I’m pleasantly surprised.

      1 Reply Last reply
      0
      • rmdesR Offline
        rmdesR Offline
        rmdes
        wrote on last edited by
        #3

        This is an amazing release ! I'v just installed it, will test later with some docker images I wanted to have installed

        1 Reply Last reply
        0
        • yusfY Offline
          yusfY Offline
          yusf
          wrote on last edited by
          #4

          The buildbot will thus be down moving forward.

          Wait, indefinitely or for now? I still need it 😞

          Is it important what tag name to choose? I'm a newb in this regard.

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @yusf Don't even need buildbot anymore (architecturally). We integrated docker based images into the platform proper. https://cloudron.io/documentation/custom-apps/tutorial/ (It's all part of 4.3 which is mostly rolled out now, will make release announcement tomorrow).

            yusfY 1 Reply Last reply
            0
            • girishG girish

              @yusf Don't even need buildbot anymore (architecturally). We integrated docker based images into the platform proper. https://cloudron.io/documentation/custom-apps/tutorial/ (It's all part of 4.3 which is mostly rolled out now, will make release announcement tomorrow).

              yusfY Offline
              yusfY Offline
              yusf
              wrote on last edited by
              #6

              @girish Sounds good, I think. What are the steps to install custom apps past 4.3 then?

              murgeroM 1 Reply Last reply
              0
              • yusfY yusf

                @girish Sounds good, I think. What are the steps to install custom apps past 4.3 then?

                murgeroM Offline
                murgeroM Offline
                murgero
                App Dev
                wrote on last edited by
                #7

                @yusf The build service app claims it might remove docker images in use by other apps so be careful - otherwise I've been using the same install method since I started using cloudron - looks like the process is the same, and they also streamlined it some which is great as well!

                --
                https://urgero.org
                ~ Professional Nerd. Freelance Programmer. ~

                yusfY 1 Reply Last reply
                0
                • C Offline
                  C Offline
                  cameragiare
                  Banned
                  wrote on last edited by
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • murgeroM murgero

                    @yusf The build service app claims it might remove docker images in use by other apps so be careful - otherwise I've been using the same install method since I started using cloudron - looks like the process is the same, and they also streamlined it some which is great as well!

                    yusfY Offline
                    yusfY Offline
                    yusf
                    wrote on last edited by
                    #9

                    @murgero But then you run a second Cloudron with the build service app on it?

                    1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #10

                      @yusf Correct, it is best to run the build service app in a separate cloudron. Essentially, the build service is building a lot of docker images. It "cleans up" old images periodically. For both of these operations, it requires full access to docker. There is a chance that it removes containers/images of the other apps on Cloudron by mistake. As in, this would be a bug but if someone hits that bug on a production Cloudron that would be a disaster. This is the reason why we recommend running it on a separate Cloudron.

                      Finally, the build service app is not required at all. You can just build and push images from your laptop or a linux VM or some VPS which has docker.

                      1 Reply Last reply
                      0
                      • LonkleL Offline
                        LonkleL Offline
                        Lonkle
                        wrote on last edited by
                        #11

                        Using this app / build service on a local Cloudron instance - is there a way to take the push out of the cloudron build aspect of this since it's all local. Would save a lot of time when developing locally (if it's even feasible, I don't understand the purpose of the push part tbh).

                        1 Reply Last reply
                        1
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #12

                          I think in theory it's possible. But of course, one can only deploy on the server where it was built. There's also some logic in the app to clean up images, which probably has to be fixed up.

                          LonkleL murgeroM 2 Replies Last reply
                          0
                          • girishG girish

                            I think in theory it's possible. But of course, one can only deploy on the server where it was built. There's also some logic in the app to clean up images, which probably has to be fixed up.

                            LonkleL Offline
                            LonkleL Offline
                            Lonkle
                            wrote on last edited by
                            #13

                            @girish It's not a huge deal, but I really like the service, and removing the push step + introducing some extra clean up logic would be welcome by me anytime. Just no rush. ☺️

                            1 Reply Last reply
                            0
                            • girishG girish

                              I think in theory it's possible. But of course, one can only deploy on the server where it was built. There's also some logic in the app to clean up images, which probably has to be fixed up.

                              murgeroM Offline
                              murgeroM Offline
                              murgero
                              App Dev
                              wrote on last edited by
                              #14

                              @girish Is this stable to run on a production-ish system? Looking to automate some builds of a couple apps I want to submit to the store.

                              --
                              https://urgero.org
                              ~ Professional Nerd. Freelance Programmer. ~

                              micmcM MooCloud_MattM 2 Replies Last reply
                              0
                              • murgeroM murgero

                                @girish Is this stable to run on a production-ish system? Looking to automate some builds of a couple apps I want to submit to the store.

                                micmcM Offline
                                micmcM Offline
                                micmc
                                wrote on last edited by
                                #15

                                @girish stumbled on this here the user cameragiare here above in the thread, is flagged as Banned however his profile is still alive and full of spammed backlinks to his spammy sites from this forum.

                                JSYK

                                Ignorance is not an excuse anymore!
                                https://AutomateKit.com

                                1 Reply Last reply
                                1
                                • murgeroM murgero

                                  @girish Is this stable to run on a production-ish system? Looking to automate some builds of a couple apps I want to submit to the store.

                                  MooCloud_MattM Offline
                                  MooCloud_MattM Offline
                                  MooCloud_Matt
                                  wrote on last edited by MooCloud_Matt
                                  #16

                                  @murgero
                                  gitlab ci cd is just better, now even better because cloudron image repository support gitlab as frontend.

                                  And you can even automate apps update submission to the appstore.

                                  Matteo. R.
                                  Founder and Tech-Support Manager.
                                  MooCloud MSP
                                  Swiss Managed Service Provider

                                  robiR 1 Reply Last reply
                                  1
                                  • MooCloud_MattM MooCloud_Matt

                                    @murgero
                                    gitlab ci cd is just better, now even better because cloudron image repository support gitlab as frontend.

                                    And you can even automate apps update submission to the appstore.

                                    robiR Offline
                                    robiR Offline
                                    robi
                                    wrote on last edited by
                                    #17

                                    @MooCloud_Matt setting that up would be a nice how-to writeup for all the folks that want to try installing packaged apps not yet in the app store.

                                    Conscious tech

                                    MooCloud_MattM 1 Reply Last reply
                                    1
                                    • robiR robi

                                      @MooCloud_Matt setting that up would be a nice how-to writeup for all the folks that want to try installing packaged apps not yet in the app store.

                                      MooCloud_MattM Offline
                                      MooCloud_MattM Offline
                                      MooCloud_Matt
                                      wrote on last edited by
                                      #18

                                      @robi
                                      There is already how to connect gitlab and docket registry.
                                      The other is just a bit or reading on the gitlab doc.

                                      Matteo. R.
                                      Founder and Tech-Support Manager.
                                      MooCloud MSP
                                      Swiss Managed Service Provider

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Bookmarks
                                      • Search