Compare commits
No commits in common. "e4e24dac9cef8d03aa39d6c33db4879f45f86b66" and "5e07b55cd17a0421a301ad55f76ed481feff0a0f" have entirely different histories.
e4e24dac9c
...
5e07b55cd1
|
@ -18,8 +18,9 @@ RUN CGO_ENABLED=0 make -C /opt/act_runner build
|
||||||
FROM base
|
FROM base
|
||||||
COPY --from=runner /opt/act_runner/act_runner /usr/local/bin/
|
COPY --from=runner /opt/act_runner/act_runner /usr/local/bin/
|
||||||
RUN apt-get -y install \
|
RUN apt-get -y install \
|
||||||
hugo \
|
hugo
|
||||||
zip
|
RUN apt-get -y install \
|
||||||
|
uidmap
|
||||||
RUN useradd builder -md /app
|
RUN useradd builder -md /app
|
||||||
USER builder
|
USER builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
30
README.md
30
README.md
|
@ -19,24 +19,21 @@ so I'm able to do everything I want that way.
|
||||||
How To Set This Up
|
How To Set This Up
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
1. Generate an example configuration, and edit it.
|
1. Go get a runner registration token from your forgejo/gitea instance.
|
||||||
Be sure to set tags here:
|
2. Decide in advance what tags you want to use.
|
||||||
I use something like `big-builder,go,python3,hugo`,
|
Don't use the default tags, or it will think you want docker.
|
||||||
and then I can say things like `requires: hugo` in my jobs.
|
`big-builder,go,python3,hugo` isn't an awful choice.
|
||||||
2. Go get a runner registration token from your forgejo/gitea instance.
|
3. Run the code block below.
|
||||||
3. Run the interactive registation step.
|
4. Email me to let me know if these instructions worked for you!
|
||||||
4. Run the daemon.
|
|
||||||
5. Email me to let me know if these instructions worked for you!
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir /srv/big-builder
|
mkdir /srv/big-builder
|
||||||
podman run --rm big-builder generate-config > /srv/big-builder/config.yaml # This generates a sample config
|
docker run --rm -it -u 0:0 -v /srv/big-builder:/app big-builder # This will ask you 3 questions
|
||||||
vim /srv/big-builder/config.yaml # Edit the config to your liking
|
docker run -d --restart=always -v /srv/big-builder:/app:ro big-builder daemon
|
||||||
podman run --rm -it -u 0:0 -v /srv/big-builder:/app big-builder register # Tags here are overridden by config.yaml
|
|
||||||
podman run -d --restart=always -v /srv/big-builder:/app:ro big-builder daemon
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Docker can be used instead of podman, with the same arguments.
|
On my raspberry pi,
|
||||||
|
I used the tags `aarch64,big-builder,go,python3,hugo`.
|
||||||
|
|
||||||
More documentation is at
|
More documentation is at
|
||||||
[gitea act runner](https://docs.gitea.com/usage/actions/act-runner).
|
[gitea act runner](https://docs.gitea.com/usage/actions/act-runner).
|
||||||
|
@ -53,9 +50,8 @@ FROM git.woozle.org/neale/big-builder
|
||||||
RUN apt-get -y install nethack
|
RUN apt-get -y install nethack
|
||||||
```
|
```
|
||||||
|
|
||||||
Even better, steal this one's Containerfile and add stuff to it.
|
Even better, steal this one's Dockerfile and add stuff to it.
|
||||||
There's not much to it, and
|
You shouldn't trust my image to be malware-free.
|
||||||
you shouldn't trust my image to be malware-free.
|
|
||||||
|
|
||||||
|
|
||||||
Caveats
|
Caveats
|
||||||
|
@ -69,5 +65,3 @@ This is a problem with the runner that they might fix one day.
|
||||||
Just something to bear in mind:
|
Just something to bear in mind:
|
||||||
I spent a bit of time chasing this one down.
|
I spent a bit of time chasing this one down.
|
||||||
|
|
||||||
I may have additional bugs/wishlist items open at
|
|
||||||
https://git.woozle.org/neale/big-builder/issues
|
|
||||||
|
|
Loading…
Reference in New Issue