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. Gitea
  3. Gitea Actions

Gitea Actions

Scheduled Pinned Locked Moved Gitea
11 Posts 4 Posters 11.4k Views 4 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 Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by girish
    #1

    Has anyone tried this out already ?

    https://blog.gitea.io/2023/03/gitea-1.19.0-is-released/#-gitea-actions-21937httpsgithubcomgo-giteagiteaissues21937

    1 Reply Last reply
    2
    • R Offline
      R Offline
      Robin
      wrote on last edited by
      #2

      looks really exciting, if it works well 🙂

      1 Reply Last reply
      1
      • R Offline
        R Offline
        Robin
        wrote on last edited by
        #3

        tried to play with it a bit. enabled actions in the ini, as documented here:

        https://blog.gitea.io/2022/12/feature-preview-gitea-actions/

        installed a runner binary from the link here:

        https://gitea.com/gitea/act_runner (just to try get up and running quicker..)

        placed it into /tmp/ on the gitea container, chmod +x, ran it. could successfully register the runner.

        actually executing actions seems to fail, because by default, it wants a docker connection. looks like this can be hacked out if one builds a runner by hand:

        https://github.com/nektos/act/blob/636c8a34aedf9b6251df6729fe673d828f972030/pkg/container/docker_stub.go

        ... obviously, at the price of having no docker available to the actions, which mean some won't work.

        but the docker hurdle aside, this is so easy to set up it that it might be worth exploring as part of the app's package..

        girishG 1 Reply Last reply
        1
        • R Robin

          tried to play with it a bit. enabled actions in the ini, as documented here:

          https://blog.gitea.io/2022/12/feature-preview-gitea-actions/

          installed a runner binary from the link here:

          https://gitea.com/gitea/act_runner (just to try get up and running quicker..)

          placed it into /tmp/ on the gitea container, chmod +x, ran it. could successfully register the runner.

          actually executing actions seems to fail, because by default, it wants a docker connection. looks like this can be hacked out if one builds a runner by hand:

          https://github.com/nektos/act/blob/636c8a34aedf9b6251df6729fe673d828f972030/pkg/container/docker_stub.go

          ... obviously, at the price of having no docker available to the actions, which mean some won't work.

          but the docker hurdle aside, this is so easy to set up it that it might be worth exploring as part of the app's package..

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

          @Robin I think the action is meant to be installed on a separate VPS. I think they also mention explicitly not to install on same server as gitea itself.

          R 1 Reply Last reply
          0
          • girishG girish

            @Robin I think the action is meant to be installed on a separate VPS. I think they also mention explicitly not to install on same server as gitea itself.

            R Offline
            R Offline
            Robin
            wrote on last edited by
            #5

            @girish yeah, well, since when has following the rules ever been fun? 😉

            I would guess that they say that because if your actions misbehave, or want to, they can interfere with the running gitea instance, so yeah, a separate host would be nice. but I don't know if cloudron has the ability to provision multiple containers for a single app?

            girishG 1 Reply Last reply
            2
            • R Robin

              @girish yeah, well, since when has following the rules ever been fun? 😉

              I would guess that they say that because if your actions misbehave, or want to, they can interfere with the running gitea instance, so yeah, a separate host would be nice. but I don't know if cloudron has the ability to provision multiple containers for a single app?

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

              @Robin currently, apps are just single container.

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

                https://blog.gitea.io/2023/03/hacking-on-gitea-actions/ is an excellent read.

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

                  Are there plans to offer this as an app?

                  robiR 1 Reply Last reply
                  1
                  • marioM mario

                    Are there plans to offer this as an app?

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

                    @mario said in Gitea Actions:

                    Are there plans to offer this as an app?

                    It's already available, just install and enable the feature in the app.ini as indicated in the blog link above.

                    If you mean the runners, those are separate and can be run as binaries or containers as per their docs.

                    Conscious tech

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

                      Yes, I wanted the runner container to be a ready-made app in Cloudron 🙂

                      robiR 1 Reply Last reply
                      1
                      • marioM mario

                        Yes, I wanted the runner container to be a ready-made app in Cloudron 🙂

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

                        @mario install them in the LAMP app.

                        Conscious tech

                        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