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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Updates to build service

    Announcements
    9
    18
    726
    Loading More Posts
    • 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.
    • girish
      girish Staff last edited by girish

      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 Reply Quote 4
      • yusf
        yusf last edited by

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

        1 Reply Last reply Reply Quote 0
        • rmdes
          rmdes last edited by

          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 Reply Quote 0
          • yusf
            yusf last edited by

            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 Reply Quote 0
            • girish
              girish Staff last edited by

              @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).

              yusf 1 Reply Last reply Reply Quote 0
              • yusf
                yusf @girish last edited by

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

                murgero 1 Reply Last reply Reply Quote 0
                • murgero
                  murgero App Dev @yusf last edited by

                  @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. ~
                  Matrix: @murgero:urgero.org

                  yusf 1 Reply Last reply Reply Quote 0
                  • C
                    cameragiare Banned last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • yusf
                      yusf @murgero last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • girish
                        girish Staff last edited by

                        @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 Reply Quote 0
                        • Lonkle
                          Lonkle last edited by

                          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 Reply Quote 1
                          • girish
                            girish Staff last edited by

                            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.

                            Lonkle murgero 2 Replies Last reply Reply Quote 0
                            • Lonkle
                              Lonkle @girish last edited by

                              @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 Reply Quote 0
                              • murgero
                                murgero App Dev @girish last edited by

                                @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. ~
                                Matrix: @murgero:urgero.org

                                micmc MooCloud_Matt 2 Replies Last reply Reply Quote 0
                                • micmc
                                  micmc @murgero last edited by

                                  @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


                                  https://marketingtechnology.agency
                                  For cutting edge web technologies

                                  1 Reply Last reply Reply Quote 1
                                  • MooCloud_Matt
                                    MooCloud_Matt @murgero last edited by 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.

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

                                    robi 1 Reply Last reply Reply Quote 1
                                    • robi
                                      robi @MooCloud_Matt last edited by

                                      @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.

                                      Life of Advanced Technology

                                      MooCloud_Matt 1 Reply Last reply Reply Quote 1
                                      • MooCloud_Matt
                                        MooCloud_Matt @robi last edited by

                                        @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 Reply Quote 0
                                        • First post
                                          Last post
                                        Powered by NodeBB