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. act_runner: A runner for Gitea based on act.

act_runner: A runner for Gitea based on act.

Scheduled Pinned Locked Moved App Wishlist
5 Posts 2 Posters 545 Views 3 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.
  • LanhildL Offline
    LanhildL Offline
    Lanhild
    App Dev
    wrote on last edited by
    #1

    Used in the context of Gitea Actions, their version of GitHub Actions.
    From the fact that Cloudron is used by many to reduce costs (by renting less VPSs), it'd be pretty useful to be able to host such an application on Cloudron.

    I've made a package of the binary @ https://github.com/Lanhild/act-runner-cloudron. Though, some aspects that bring issues:

    • Can't have a proper healthcheck (I have no idea what the binary uses as a port)
    • 2 runtime options; Docker or binary. They suggest to use the docker option. Though, it needs access to the docker socket.
    • Runner registration to Gitea instance; the runner has to "register" to a Gitea instance using a token provided by the latter. Then the runner pings the instance and checks to validate the response.

    This last point has to be done before the initial startup, as the daemon of the binary cannot run without a valid .runner registration file.

    https://gitea.com/gitea/act_runner

    LanhildL 1 Reply Last reply
    3
    • LanhildL Lanhild

      Used in the context of Gitea Actions, their version of GitHub Actions.
      From the fact that Cloudron is used by many to reduce costs (by renting less VPSs), it'd be pretty useful to be able to host such an application on Cloudron.

      I've made a package of the binary @ https://github.com/Lanhild/act-runner-cloudron. Though, some aspects that bring issues:

      • Can't have a proper healthcheck (I have no idea what the binary uses as a port)
      • 2 runtime options; Docker or binary. They suggest to use the docker option. Though, it needs access to the docker socket.
      • Runner registration to Gitea instance; the runner has to "register" to a Gitea instance using a token provided by the latter. Then the runner pings the instance and checks to validate the response.

      This last point has to be done before the initial startup, as the daemon of the binary cannot run without a valid .runner registration file.

      https://gitea.com/gitea/act_runner

      LanhildL Offline
      LanhildL Offline
      Lanhild
      App Dev
      wrote on last edited by
      #2

      @Lanhild

      This last point has to be done before the initial startup, as the daemon of the binary cannot run without a valid .runner registration file.

      I have solved this issue by checking if the registration file exists. If it doesn't, I simply start the runner's cache-server. The instruction to register the runner is explained in the post install message.

      LanhildL 1 Reply Last reply
      0
      • LanhildL Lanhild

        @Lanhild

        This last point has to be done before the initial startup, as the daemon of the binary cannot run without a valid .runner registration file.

        I have solved this issue by checking if the registration file exists. If it doesn't, I simply start the runner's cache-server. The instruction to register the runner is explained in the post install message.

        LanhildL Offline
        LanhildL Offline
        Lanhild
        App Dev
        wrote on last edited by Lanhild
        #3

        @Lanhild I'm still having issue with the healthcheck, though.

        Solved it by removing an unused param

        robiR 1 Reply Last reply
        0
        • LanhildL Lanhild

          @Lanhild I'm still having issue with the healthcheck, though.

          Solved it by removing an unused param

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

          @Lanhild Mighr help to specify the parameter and how to omit it

          Conscious tech

          LanhildL 1 Reply Last reply
          0
          • robiR robi

            @Lanhild Mighr help to specify the parameter and how to omit it

            LanhildL Offline
            LanhildL Offline
            Lanhild
            App Dev
            wrote on last edited by
            #5

            @robi was actually a parameter in the startup file. It's all updated in my repo that I've linked previously in this topic.

            1 Reply 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