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
  • Brite
  • 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 12.1k 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.
  • ? A Former User

    @girish I can get around to some test for this one of these days. Do you think this is a good fit for the store? Of course, drone runners would need to be run elsewhere. I tried to package that out of curiosity but no dice so far. Best run on another VM anyways. But always good to have the CI server run on the same cloudron as a gitea instance.

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #9

    @atridad yes, that will be great. I think having runners separate is fine, that's how the GitLab CI is as well (we have runners in a separate VM). From what I remember, the app needed configuration on first run itself, is that still the case?

    ? fbartelsF 2 Replies Last reply
    1
    • girishG girish

      @atridad yes, that will be great. I think having runners separate is fine, that's how the GitLab CI is as well (we have runners in a separate VM). From what I remember, the app needed configuration on first run itself, is that still the case?

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

      @girish it does, yeah. I can change the default to something more sensible like git.domain.tld.

      The post install can be found here: https://git.atridad.dev/atridad/cloudron-drone-ci/src/branch/master/POSTINSTALL.md

      I can also put it on the cloudron Git to make it easier.

      girishG 1 Reply Last reply
      1
      • girishG girish

        @atridad yes, that will be great. I think having runners separate is fine, that's how the GitLab CI is as well (we have runners in a separate VM). From what I remember, the app needed configuration on first run itself, is that still the case?

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

        @girish said in Drone:

        I think having runners separate is fine

        Separate does not have to mean off Cloudron however. One of the systems I am running my Drone runners is also the Cloudron system where I am running the app/dashboard. Simply not started as a Cloudron app, but through docker-compose (I have scripting for that in my Drone app). The Runner only cleans up containers it has created itself, so its safe to use in my opinion.

        ? 1 Reply Last reply
        3
        • fbartelsF fbartels

          @girish said in Drone:

          I think having runners separate is fine

          Separate does not have to mean off Cloudron however. One of the systems I am running my Drone runners is also the Cloudron system where I am running the app/dashboard. Simply not started as a Cloudron app, but through docker-compose (I have scripting for that in my Drone app). The Runner only cleans up containers it has created itself, so its safe to use in my opinion.

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

          @fbartels same here. It seems to be safe to run.

          1 Reply Last reply
          0
          • ? A Former User

            @girish it does, yeah. I can change the default to something more sensible like git.domain.tld.

            The post install can be found here: https://git.atridad.dev/atridad/cloudron-drone-ci/src/branch/master/POSTINSTALL.md

            I can also put it on the cloudron Git to make it easier.

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #13

            @atridad said in Drone:

            I can also put it on the cloudron Git to make it easier.

            Yes, please. We can then move this package forward.

            ? 1 Reply Last reply
            0
            • girishG girish

              @atridad said in Drone:

              I can also put it on the cloudron Git to make it easier.

              Yes, please. We can then move this package forward.

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

              @girish Oh could you give me access to make repos on there again? Username is atridad. I made a new account.

              girishG 1 Reply Last reply
              0
              • ? A Former User

                @girish Oh could you give me access to make repos on there again? Username is atridad. I made a new account.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #15

                @atridad Yes, of course. Done.

                ? 1 Reply Last reply
                0
                • girishG girish

                  @atridad Yes, of course. Done.

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

                  @girish Thanks! Its here: https://git.cloudron.io/atridad/cloudron-drone-ci

                  girishG 1 Reply Last reply
                  0
                  • ? A Former User

                    @girish Thanks! Its here: https://git.cloudron.io/atridad/cloudron-drone-ci

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #17

                    @atridad I got it going here - https://git.cloudron.io/cloudron/drone-app/ . It seems the .env file is missing in the git repo, you should have permissions to add it.

                    ? 2 Replies Last reply
                    0
                    • girishG girish

                      @atridad I got it going here - https://git.cloudron.io/cloudron/drone-app/ . It seems the .env file is missing in the git repo, you should have permissions to add it.

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

                      @girish oh whoops, I’ll add that right away

                      1 Reply Last reply
                      0
                      • girishG girish

                        @atridad I got it going here - https://git.cloudron.io/cloudron/drone-app/ . It seems the .env file is missing in the git repo, you should have permissions to add it.

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

                        @girish I work with macOS and because I cant import into your gitlab I copied and pasted the files into a new repo I made. Unfortunately the .env file is considered a hidden file and didn't show up in finder...

                        Good catch. Its in there now.

                        robiR girishG 2 Replies Last reply
                        0
                        • ? A Former User

                          @girish I work with macOS and because I cant import into your gitlab I copied and pasted the files into a new repo I made. Unfortunately the .env file is considered a hidden file and didn't show up in finder...

                          Good catch. Its in there now.

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

                          @atridad That's a preference you can set in finder to show all hidden files or use the CLI.

                          Conscious tech

                          ? 1 Reply Last reply
                          0
                          • robiR robi

                            @atridad That's a preference you can set in finder to show all hidden files or use the CLI.

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

                            @robi ahhh I'll check that out. I was being lazy tbh and didn't just use the command-line.

                            fbartelsF 1 Reply Last reply
                            0
                            • ? A Former User

                              @robi ahhh I'll check that out. I was being lazy tbh and didn't just use the command-line.

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

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

                              ? 1 Reply Last reply
                              2
                              • ? A Former User

                                @girish I work with macOS and because I cant import into your gitlab I copied and pasted the files into a new repo I made. Unfortunately the .env file is considered a hidden file and didn't show up in finder...

                                Good catch. Its in there now.

                                girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by girish
                                #23

                                @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 2 Replies 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?

                                  ? 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
                                          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