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. App Wishlist
  3. Drone

Drone

Scheduled Pinned Locked Moved App Wishlist
60 Posts 9 Posters 9.6k Views 9 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 girish

    @atridad thanks!

    Trying to understand how this app works. If I configure this for gitea, then it will use the gitea provider to sign in - https://docs.drone.io/server/provider/gitea/ ?

    If that's the case, what is https://docs.drone.io/server/user/registration/ ? Or is the OAuth stuff separate from the users?

    ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #24

    @girish The OAuth is seperate I believe. So far I haven't been able to see an issue with open registration. But yeah it uses gitea as a login provider.

    1 Reply Last reply
    0
    • fbartelsF fbartels

      @atridad said in Drone:

      I cant import into your gitlab I copied and pasted the files into a new repo I made

      the next time you could also add an additional remote to your local repo and then push to this new remote. This has also the upside of preserving history.

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #25

      @fbartels Good point. I'll do that next time.

      M 1 Reply Last reply
      0
      • girishG girish

        @atridad thanks!

        Trying to understand how this app works. If I configure this for gitea, then it will use the gitea provider to sign in - https://docs.drone.io/server/provider/gitea/ ?

        If that's the case, what is https://docs.drone.io/server/user/registration/ ? Or is the OAuth stuff separate from the users?

        fbartelsF Offline
        fbartelsF Offline
        fbartels
        App Dev
        wrote on last edited by
        #26

        @girish my drone app has some install instructions and further usage in its readme (including the gitea setup). you can find them at https://github.com/fbartels/cloudron-drone-app#installation.

        1 Reply Last reply
        3
        • ? A Former User

          @fbartels Good point. I'll do that next time.

          M Offline
          M Offline
          msbt
          App Dev
          wrote on last edited by
          #27

          @atridad I had to add RUN chmod +x /app/code/start.sh to your Dockerfile in order to install it properly, it was throwing a 400 error.

          Is there any chance to add the runners/agents as cloudron apps as well? I was just playing around with the exec runner and couldn't get it to work, but I would think it could be the same as the cloudron-build-service, no?

          fbartelsF 1 Reply Last reply
          1
          • M msbt

            @atridad I had to add RUN chmod +x /app/code/start.sh to your Dockerfile in order to install it properly, it was throwing a 400 error.

            Is there any chance to add the runners/agents as cloudron apps as well? I was just playing around with the exec runner and couldn't get it to work, but I would think it could be the same as the cloudron-build-service, no?

            fbartelsF Offline
            fbartelsF Offline
            fbartels
            App Dev
            wrote on last edited by
            #28

            @msbt you don't really need an app for that, you can just run the docker runner on your cloudron host. I am using https://github.com/fbartels/cloudron-drone-app/blob/master/runner/docker-compose.yml along with a .env file with my server specific values.

            M 1 Reply Last reply
            0
            • fbartelsF fbartels

              @msbt you don't really need an app for that, you can just run the docker runner on your cloudron host. I am using https://github.com/fbartels/cloudron-drone-app/blob/master/runner/docker-compose.yml along with a .env file with my server specific values.

              M Offline
              M Offline
              msbt
              App Dev
              wrote on last edited by
              #29

              @fbartels I'm trying to have a complete deployment solution for static pages, like Directus + Gitea + Drone (with Agents) + Surfer on one server which can be given/rented to the customer when the site is finished, so they can have everything in one place and can build/update the website(s) themselves. Would be nice to have it in the GUI (and there's a dashboard on :3000 if you set credentials, right?) and have the possibility to restart if need arises without sshing onto the box. But if it's too tricky or crazy effort, your suggestion will probably be the way to go 🙂

              fbartelsF 1 Reply Last reply
              2
              • M msbt

                @fbartels I'm trying to have a complete deployment solution for static pages, like Directus + Gitea + Drone (with Agents) + Surfer on one server which can be given/rented to the customer when the site is finished, so they can have everything in one place and can build/update the website(s) themselves. Would be nice to have it in the GUI (and there's a dashboard on :3000 if you set credentials, right?) and have the possibility to restart if need arises without sshing onto the box. But if it's too tricky or crazy effort, your suggestion will probably be the way to go 🙂

                fbartelsF Offline
                fbartelsF Offline
                fbartels
                App Dev
                wrote on last edited by
                #30

                @msbt the webinterface on the runners is only for debugging as far as I know. So they do not really need to be reachable from the public internet. The only important thing is that the runners can reach the "dashboard" to get job information.

                I have runners deployed on a few machines, even had it running on my laptop.

                And one of the Drone jobs indeed builds a hugo blog and then deploys it via surfer.

                M 1 Reply Last reply
                1
                • fbartelsF fbartels

                  @msbt the webinterface on the runners is only for debugging as far as I know. So they do not really need to be reachable from the public internet. The only important thing is that the runners can reach the "dashboard" to get job information.

                  I have runners deployed on a few machines, even had it running on my laptop.

                  And one of the Drone jobs indeed builds a hugo blog and then deploys it via surfer.

                  M Offline
                  M Offline
                  msbt
                  App Dev
                  wrote on last edited by
                  #31

                  @fbartels thanks, it does work indeed, I even used your cloudron-surfer image to deploy a demo Hugo to a surfer instance.

                  Although I would still find it a lot more practical if the runner was an actual part of cloudron, so we go full circle and have all the benefits, like when you migrate everything on a new machine 😉

                  ? 1 Reply Last reply
                  0
                  • M msbt

                    @fbartels thanks, it does work indeed, I even used your cloudron-surfer image to deploy a demo Hugo to a surfer instance.

                    Although I would still find it a lot more practical if the runner was an actual part of cloudron, so we go full circle and have all the benefits, like when you migrate everything on a new machine 😉

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #32

                    @msbt True. The best part about runners though is that they need barely any config and don't need to store much at all. It is very scalable. As for my image, I do need to fix that. I've been slammed with projects and life lately but I'm trying to get to everything I've said I would do lol

                    robiR 1 Reply Last reply
                    0
                    • ? A Former User

                      @msbt True. The best part about runners though is that they need barely any config and don't need to store much at all. It is very scalable. As for my image, I do need to fix that. I've been slammed with projects and life lately but I'm trying to get to everything I've said I would do lol

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

                      @atridad If you detail out some steps of what needs doing, perhaps someone can chip in at the repo you specify.

                      Many hands make short work.

                      Conscious tech

                      fbartelsF ? 2 Replies Last reply
                      0
                      • robiR robi

                        @atridad If you detail out some steps of what needs doing, perhaps someone can chip in at the repo you specify.

                        Many hands make short work.

                        fbartelsF Offline
                        fbartelsF Offline
                        fbartels
                        App Dev
                        wrote on last edited by
                        #34

                        @robi from my perspective that is all already part of https://github.com/fbartels/cloudron-drone-app/. Atridad just decided that he wanted to do his own app.

                        robiR 1 Reply Last reply
                        0
                        • fbartelsF fbartels

                          @robi from my perspective that is all already part of https://github.com/fbartels/cloudron-drone-app/. Atridad just decided that he wanted to do his own app.

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

                          @fbartels ah, thanks for the clarification!

                          Conscious tech

                          1 Reply Last reply
                          0
                          • robiR robi

                            @atridad If you detail out some steps of what needs doing, perhaps someone can chip in at the repo you specify.

                            Many hands make short work.

                            ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #36

                            @robi Just added that. Thing about this repo is hopefully making it more viable as an official app. One thing that I think would help is support for required environment variables when installing specific apps. Similar to how the ports are defined. That would let us specify the gitea URL and the OAuth info.

                            robiR ? 2 Replies Last reply
                            1
                            • ? A Former User

                              @robi Just added that. Thing about this repo is hopefully making it more viable as an official app. One thing that I think would help is support for required environment variables when installing specific apps. Similar to how the ports are defined. That would let us specify the gitea URL and the OAuth info.

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

                              @atridad said in Drone:

                              @robi ... One thing that I think would help is support for required environment variables when installing specific apps. Similar to how the ports are defined. That would let us specify the gitea URL and the OAuth info.

                              Sounds like a good feature request.

                              Conscious tech

                              ? 1 Reply Last reply
                              1
                              • robiR robi

                                @atridad said in Drone:

                                @robi ... One thing that I think would help is support for required environment variables when installing specific apps. Similar to how the ports are defined. That would let us specify the gitea URL and the OAuth info.

                                Sounds like a good feature request.

                                ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by
                                #38

                                @robi Submitted.

                                1 Reply Last reply
                                2
                                • ? A Former User

                                  @robi Just added that. Thing about this repo is hopefully making it more viable as an official app. One thing that I think would help is support for required environment variables when installing specific apps. Similar to how the ports are defined. That would let us specify the gitea URL and the OAuth info.

                                  ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by
                                  #39

                                  @atridad Replying to your post in my feature request here to keep it in the drone thread. It might be able to make the runner work too?????
                                  https://docs.cloudron.io/packaging/addons/#docker

                                  M 1 Reply Last reply
                                  0
                                  • ? A Former User

                                    @atridad Replying to your post in my feature request here to keep it in the drone thread. It might be able to make the runner work too?????
                                    https://docs.cloudron.io/packaging/addons/#docker

                                    M Offline
                                    M Offline
                                    msbt
                                    App Dev
                                    wrote on last edited by
                                    #40

                                    @atridad uh nice catch, that would be awesome!

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

                                      Is anyone aware of the licensing changes to Drone? There are some notes here - https://laszlo.cloud/drone-community-edition-what-is-included

                                      There is a fork of drone now called woodpecker ci. I opened a request for that here https://forum.cloudron.io/topic/7186/woodpecker-ci . From https://woodpecker-ci.org/faq#why-is-woodpecker-a-fork-of-drone-version-08, "The Drone CI license was changed after the 0.8 release from Apache 2 to a proprietary license. Woodpecker is based on this latest freely available version."

                                      fbartelsF M 2 Replies Last reply
                                      2
                                      • girishG girish

                                        Is anyone aware of the licensing changes to Drone? There are some notes here - https://laszlo.cloud/drone-community-edition-what-is-included

                                        There is a fork of drone now called woodpecker ci. I opened a request for that here https://forum.cloudron.io/topic/7186/woodpecker-ci . From https://woodpecker-ci.org/faq#why-is-woodpecker-a-fork-of-drone-version-08, "The Drone CI license was changed after the 0.8 release from Apache 2 to a proprietary license. Woodpecker is based on this latest freely available version."

                                        fbartelsF Offline
                                        fbartelsF Offline
                                        fbartels
                                        App Dev
                                        wrote on last edited by
                                        #42

                                        @girish yes, I've been following the woodpecker project also already for a while. it seems quite active. On the other hand I have not noticed any limitations in my usage of Drone so far. Also the "agent less single node" limitation is something I cannot confirm, multiple runners here without any problems.

                                        1 Reply Last reply
                                        3
                                        • girishG girish

                                          Is anyone aware of the licensing changes to Drone? There are some notes here - https://laszlo.cloud/drone-community-edition-what-is-included

                                          There is a fork of drone now called woodpecker ci. I opened a request for that here https://forum.cloudron.io/topic/7186/woodpecker-ci . From https://woodpecker-ci.org/faq#why-is-woodpecker-a-fork-of-drone-version-08, "The Drone CI license was changed after the 0.8 release from Apache 2 to a proprietary license. Woodpecker is based on this latest freely available version."

                                          M Offline
                                          M Offline
                                          msbt
                                          App Dev
                                          wrote on last edited by
                                          #43

                                          @girish oh nice, it seems the woodpecker agents come with single binary files, this could make it easier to set up, right?

                                          girishG fbartelsF 2 Replies Last reply
                                          1
                                          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