Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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

agnos.is Forums

  1. Home
  2. Programming
  3. Any suggestions for a self-hosted CI that can also be run locally?

Any suggestions for a self-hosted CI that can also be run locally?

Scheduled Pinned Locked Moved Programming
programming
26 Posts 15 Posters 133 Views
  • 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.
  • O [email protected]

    I left Github a while ago and have been relying on simple pre-push scripts in my workflow, but would like to be able to test PRs from others without putting my machine at risk. Besides codeberg and radicle (neither of which have reliable CI), I also have a build machine, where I could run CI jobs, however it is important that the CI jobs can also run locally so that external people do not require access to the build machine.

    Is there a CI that can do those things (run locally and remotely)?

    Anti Commercial-AI license

    D This user is from outside of this forum
    D This user is from outside of this forum
    [email protected]
    wrote last edited by
    #5

    I set up Forgejo with Woodpecker CI some days ago and it's been great so far

    O 1 Reply Last reply
    1
    0
    • O [email protected]

      I left Github a while ago and have been relying on simple pre-push scripts in my workflow, but would like to be able to test PRs from others without putting my machine at risk. Besides codeberg and radicle (neither of which have reliable CI), I also have a build machine, where I could run CI jobs, however it is important that the CI jobs can also run locally so that external people do not require access to the build machine.

      Is there a CI that can do those things (run locally and remotely)?

      Anti Commercial-AI license

      footfaults@lemmygrad.mlF This user is from outside of this forum
      footfaults@lemmygrad.mlF This user is from outside of this forum
      [email protected]
      wrote last edited by
      #6

      Put as much of your testing in shell scripts, or even better, Ansible playbooks, so that you can run them locally. That way your CI system just does ansible-playbook

      1 Reply Last reply
      1
      0
      • O [email protected]

        I left Github a while ago and have been relying on simple pre-push scripts in my workflow, but would like to be able to test PRs from others without putting my machine at risk. Besides codeberg and radicle (neither of which have reliable CI), I also have a build machine, where I could run CI jobs, however it is important that the CI jobs can also run locally so that external people do not require access to the build machine.

        Is there a CI that can do those things (run locally and remotely)?

        Anti Commercial-AI license

        S This user is from outside of this forum
        S This user is from outside of this forum
        [email protected]
        wrote last edited by
        #7

        Woodpecker with Ansible. Woodpecker will give container environment and using Ansible will reduce dependency on the CI tool.

        Woodpecker has a alpine linux based container for Ansible. It will take some time to setup, but will make the life much easier.

        P O 2 Replies Last reply
        1
        0
        • D [email protected]

          I set up Forgejo with Woodpecker CI some days ago and it's been great so far

          O This user is from outside of this forum
          O This user is from outside of this forum
          [email protected]
          wrote last edited by
          #8

          Are you able to run woodpecker locally from the repository? As in can woodpecker run in the checked out repository run the CI jobs?

          D 1 Reply Last reply
          1
          0
          • O [email protected]

            I left Github a while ago and have been relying on simple pre-push scripts in my workflow, but would like to be able to test PRs from others without putting my machine at risk. Besides codeberg and radicle (neither of which have reliable CI), I also have a build machine, where I could run CI jobs, however it is important that the CI jobs can also run locally so that external people do not require access to the build machine.

            Is there a CI that can do those things (run locally and remotely)?

            Anti Commercial-AI license

            R This user is from outside of this forum
            R This user is from outside of this forum
            [email protected]
            wrote last edited by
            #9

            buildbot.sh

            1 Reply Last reply
            1
            0
            • O [email protected]

              I left Github a while ago and have been relying on simple pre-push scripts in my workflow, but would like to be able to test PRs from others without putting my machine at risk. Besides codeberg and radicle (neither of which have reliable CI), I also have a build machine, where I could run CI jobs, however it is important that the CI jobs can also run locally so that external people do not require access to the build machine.

              Is there a CI that can do those things (run locally and remotely)?

              Anti Commercial-AI license

              P This user is from outside of this forum
              P This user is from outside of this forum
              [email protected]
              wrote last edited by
              #10

              Great timing. I'm interested in this as well. I am currently attempting an ansible setup that runs podman containers in a couple lxc incus containers (developnent setup to mimic production) with forgejo and woodpecker on the other lxc container but it has been a battle.

              Currently unable to figure out why the 'general.community' modules won't get recognized by ansible.

              1 Reply Last reply
              1
              0
              • S [email protected]

                Woodpecker with Ansible. Woodpecker will give container environment and using Ansible will reduce dependency on the CI tool.

                Woodpecker has a alpine linux based container for Ansible. It will take some time to setup, but will make the life much easier.

                P This user is from outside of this forum
                P This user is from outside of this forum
                [email protected]
                wrote last edited by
                #11

                I'm attempting this setup as well. It's been a struggle but i am also new to a lot of this.

                1 Reply Last reply
                1
                0
                • I [email protected]

                  Gitlab runners can run locally

                  O This user is from outside of this forum
                  O This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #12

                  Not anymore

                  I 1 Reply Last reply
                  1
                  0
                  • S [email protected]

                    Woodpecker with Ansible. Woodpecker will give container environment and using Ansible will reduce dependency on the CI tool.

                    Woodpecker has a alpine linux based container for Ansible. It will take some time to setup, but will make the life much easier.

                    O This user is from outside of this forum
                    O This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #13

                    Why ansible? I'm not sure how that fits in. Does that make running it locally easier? An example of working setup that I can checkout and run would be useful.

                    Anti Commercial-AI license

                    1 Reply Last reply
                    1
                    0
                    • S [email protected]

                      Earthly!

                      https://earthly.dev/earthfile

                      projectmoonP Online
                      projectmoonP Online
                      projectmoon
                      wrote last edited by
                      #14

                      @[email protected] it should be noted that they're shutting down the open source project. However, a fork is apparently forming. But it's good to know.

                      S O 2 Replies Last reply
                      1
                      • O [email protected]

                        Not anymore

                        I This user is from outside of this forum
                        I This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #15

                        Oh, thanks for letting me know

                        1 Reply Last reply
                        1
                        0
                        • O [email protected]

                          I left Github a while ago and have been relying on simple pre-push scripts in my workflow, but would like to be able to test PRs from others without putting my machine at risk. Besides codeberg and radicle (neither of which have reliable CI), I also have a build machine, where I could run CI jobs, however it is important that the CI jobs can also run locally so that external people do not require access to the build machine.

                          Is there a CI that can do those things (run locally and remotely)?

                          Anti Commercial-AI license

                          M This user is from outside of this forum
                          M This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #16

                          I use forjero with forgero runners.

                          Basicly 100% compatible with GitHub actions and all locally run via podman.

                          Strong recommend. It’s all designed to work together and everything just works.

                          https://forgejo.org/docs/latest/admin/runner-installation/

                          1 Reply Last reply
                          1
                          4
                          • O [email protected]

                            I left Github a while ago and have been relying on simple pre-push scripts in my workflow, but would like to be able to test PRs from others without putting my machine at risk. Besides codeberg and radicle (neither of which have reliable CI), I also have a build machine, where I could run CI jobs, however it is important that the CI jobs can also run locally so that external people do not require access to the build machine.

                            Is there a CI that can do those things (run locally and remotely)?

                            Anti Commercial-AI license

                            V This user is from outside of this forum
                            V This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #17

                            Surprised to not see Gitea here, thats what I've been using for awhile now for my little projects

                            B 1 Reply Last reply
                            1
                            0
                            • projectmoonP projectmoon

                              @[email protected] it should be noted that they're shutting down the open source project. However, a fork is apparently forming. But it's good to know.

                              S This user is from outside of this forum
                              S This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #18

                              Boo! I didn’t know that, but thanks for letting me know.

                              1 Reply Last reply
                              0
                              • O [email protected]

                                Are you able to run woodpecker locally from the repository? As in can woodpecker run in the checked out repository run the CI jobs?

                                D This user is from outside of this forum
                                D This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #19

                                It also has a CLI tool that I know can re-run your pipeline locally for debugging, so just running it normally should also be possible. Haven't used either so far though.

                                1 Reply Last reply
                                1
                                • V [email protected]

                                  Surprised to not see Gitea here, thats what I've been using for awhile now for my little projects

                                  B This user is from outside of this forum
                                  B This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #20

                                  gitea has had some organizational problems so a lot of people have been using forgejo instead, which is just a community fork of gitea plus some more features

                                  V 1 Reply Last reply
                                  8
                                  • B [email protected]

                                    gitea has had some organizational problems so a lot of people have been using forgejo instead, which is just a community fork of gitea plus some more features

                                    V This user is from outside of this forum
                                    V This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #21

                                    Oh yeah I keep forgetting about that. One of these days I'll jump to Forgejo

                                    1 Reply Last reply
                                    0
                                    • O [email protected]

                                      I left Github a while ago and have been relying on simple pre-push scripts in my workflow, but would like to be able to test PRs from others without putting my machine at risk. Besides codeberg and radicle (neither of which have reliable CI), I also have a build machine, where I could run CI jobs, however it is important that the CI jobs can also run locally so that external people do not require access to the build machine.

                                      Is there a CI that can do those things (run locally and remotely)?

                                      Anti Commercial-AI license

                                      D This user is from outside of this forum
                                      D This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #22

                                      would like to be able to test PRs from others without putting my machine at risk

                                      I know what you mean, but do you not read the diff? Are you working on codebases that are so obfuscated that you can't spot a malicious command?

                                      O 1 Reply Last reply
                                      1
                                      • projectmoonP projectmoon

                                        @[email protected] it should be noted that they're shutting down the open source project. However, a fork is apparently forming. But it's good to know.

                                        O This user is from outside of this forum
                                        O This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by
                                        #23

                                        Do you have a link to that? There's a blog entry "Earthly Switches to Open-source" From July 2023. Are they undoing that?

                                        Anti Commercial-AI license

                                        projectmoonP 1 Reply Last reply
                                        0
                                        • D [email protected]

                                          would like to be able to test PRs from others without putting my machine at risk

                                          I know what you mean, but do you not read the diff? Are you working on codebases that are so obfuscated that you can't spot a malicious command?

                                          O This user is from outside of this forum
                                          O This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #24

                                          What if they pull in a new dependency with a CVE or that executes malicious code? How am I supposed to check that? Or what if I miss a bug in the justfile or shell script?

                                          Anti Commercial-AI license

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups