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. Discuss
  3. CI tool that can run on Cloudron

CI tool that can run on Cloudron

Scheduled Pinned Locked Moved Discuss
cicddronejenkinsgitea
13 Posts 4 Posters 2.4k Views 5 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.
  • mehdiM mehdi

    @fbartels said in CI tool that can run on Cloudron:

    cannot override/configure default paths which causes a clash with the read-only nature of Cloudron apps)

    I'm not sure about which CI app would be best (I am a Gitlab CI user and lover 😄 ), but about this specific point, you can always work-around these issues with symlinks pointing to /app/data/, /tmp/, or /run/

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

    @mehdi said in CI tool that can run on Cloudron:

    you can always work-around these issues with symlinks

    yes, that is true and also something I have done when playing with Teleport, but sadly AppVeyor does not specify where in the system they are planning to write to so it would be a bit of trial and error. Not sure if this is a route I want to go through. It seems to be a nice platform, but their focus is clearly their SaaS.

    @mehdi said in CI tool that can run on Cloudron:

    I am a Gitlab CI user and lover

    Unfortunately Gitlab is quite heavy (Java again). I am rather searching for something that does one thing well instead of a system where I am only using 1% of the functionality.

    mehdiM 1 Reply Last reply
    0
    • fbartelsF fbartels

      @mehdi said in CI tool that can run on Cloudron:

      you can always work-around these issues with symlinks

      yes, that is true and also something I have done when playing with Teleport, but sadly AppVeyor does not specify where in the system they are planning to write to so it would be a bit of trial and error. Not sure if this is a route I want to go through. It seems to be a nice platform, but their focus is clearly their SaaS.

      @mehdi said in CI tool that can run on Cloudron:

      I am a Gitlab CI user and lover

      Unfortunately Gitlab is quite heavy (Java again). I am rather searching for something that does one thing well instead of a system where I am only using 1% of the functionality.

      mehdiM Offline
      mehdiM Offline
      mehdi
      App Dev
      wrote on last edited by
      #4

      @fbartels said in CI tool that can run on Cloudron:

      Gitlab is quite heavy (Java again).

      Nope, Ruby ! But yeah it is quite heavy ^^. I totally understand your approach of searching for tools that only do 1 thing, and do it well. About CI servers, I heard good things about Drone ( https://drone.io/ ). Never used it myself though.

      1 Reply Last reply
      1
      • fbartelsF Offline
        fbartelsF Offline
        fbartels
        App Dev
        wrote on last edited by
        #5

        yes, Drone is already on my list. What intrigues me about Concourse is that it has a cli to run tests locally as well, which could be quite handy for debugging.

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

          I have tried to package drone a while ago, but they have a strange deployment technique where everything is set as an environment variable. While that itself is not a problem, you have to even set some flag as an environment variable for migration and then stop drone and start it without that flag. I don't recall the specifics but it was unviable for reproducible deployment. This could have changed though.

          Have you looked into Agola ? If you are in the market for Jenkins, let's try to get https://git.cloudron.io/cloudron/jenkins-app out! It was sort of working when I packaged it but Jenkins plugins are always a nightmare for packaging.

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

            BTW, what kind of CI are you looking for? Just building some projects into artifacts for download?

            fbartelsF 1 Reply Last reply
            0
            • girishG girish

              BTW, what kind of CI are you looking for? Just building some projects into artifacts for download?

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

              @girish said in CI tool that can run on Cloudron:

              BTW, what kind of CI are you looking for? Just building some projects into artifacts for download?

              Yes I have, not sure why I discarded it, though.

              @girish said in CI tool that can run on Cloudron:

              If you are in the market for Jenkins

              While I know Jenkins, it's not what I am looking for for my personal projects.

              @girish said in CI tool that can run on Cloudron:

              what kind of CI are you looking for?

              Misc stuff. Building and uploading my blog, building and installing some custom cloudron apps. Hopefully migrating some stuff off Travis (so pr testing).

              1 Reply Last reply
              0
              • fbartelsF Offline
                fbartelsF Offline
                fbartels
                App Dev
                wrote on last edited by
                #9

                I ended up going for Drone and have a functioning setup now.

                Its configured to use the Postgres database as a backend and auto generates secrets on first start. The one thing though that cannot really be automated is the setup of the git counterpart. For this you'd need to exec into the app and edit a .env file manually.

                Running the agents is then quite automatic again. Whenever I need more agents I can run a script which uses the cloudron cli to fetch the required data to run.

                And my first automation ended up being to automate the build and publish my Hugo blog on my Cloudron (via surfer cli).

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

                  @fbartels Do you think the app is worth publishing? Do you have a repo?

                  fbartelsF 1 Reply Last reply
                  1
                  • girishG girish

                    @fbartels Do you think the app is worth publishing? Do you have a repo?

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

                    @girish I am not sure If I want to publish it for everyone (yet). The things that you need to do for it outside of the regular Cloudron context make it a bit of an unusual app and I fear just publishing it will lead to a lot of frustration for others stumbling upon it (similar to the video conferencing experience).

                    Maybe I keep the repo private for now and just open up to users where I can directly guide them on using it. Have to see if there is a market for it 😉

                    I have setup a mirror of my code to a private Github repo and invited your Github user to it so you can have a look.

                    mehdiM 1 Reply Last reply
                    1
                    • fbartelsF fbartels

                      @girish I am not sure If I want to publish it for everyone (yet). The things that you need to do for it outside of the regular Cloudron context make it a bit of an unusual app and I fear just publishing it will lead to a lot of frustration for others stumbling upon it (similar to the video conferencing experience).

                      Maybe I keep the repo private for now and just open up to users where I can directly guide them on using it. Have to see if there is a market for it 😉

                      I have setup a mirror of my code to a private Github repo and invited your Github user to it so you can have a look.

                      mehdiM Offline
                      mehdiM Offline
                      mehdi
                      App Dev
                      wrote on last edited by
                      #12

                      @fbartels I think you can definitely make the repo public. Anyone who builds and installs an app manually is definitely someone who expects it not to be 100% ready, and be willing to do a few manual tweaks if necessary 🙂

                      1 Reply Last reply
                      2
                      • marioM Offline
                        marioM Offline
                        mario
                        App Dev
                        wrote on last edited by
                        #13

                        Agola is really quite nice.

                        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