Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ci/codeberg/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RUNNER_TOKEN=""
4 changes: 2 additions & 2 deletions .ci/codeberg/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
if [ ! -f /data/.runner ]; then
forgejo-runner register \
--instance https://codeberg.org \
--token "P9HZIWJsA5dEGj7twizabgFDMcl1sXMQD4qf9WXK" \
--token ${RUNNER_TOKEN} \
--name "docker-runner-1" \
--labels "ubuntu-latest" \
--no-interactive
Expand Down Expand Up @@ -58,7 +58,7 @@ services:
if [ ! -f /data/.runner ]; then
forgejo-runner register \
--instance https://codeberg.org \
--token "P9HZIWJsA5dEGj7twizabgFDMcl1sXMQD4qf9WXK" \
--token ${RUNNER_TOKEN} \
--name "docker-runner-2" \
--labels "ubuntu-latest" \
--no-interactive
Expand Down
1 change: 1 addition & 0 deletions .ci/gitea/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RUNNER_TOKEN=""
4 changes: 2 additions & 2 deletions .ci/gitea/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
if [ ! -f /data/act_runner.yaml ]; then
/usr/local/bin/act_runner register \
--instance "https://gitea.com" \
--token "ap3vnogK2BJ6OR35siQolFonR7mLDOO6SSEBdrTS" \
--token ${RUNNER_TOKEN} \
--name "runner1" \
--labels "ubuntu-latest" \
--no-interactive
Expand All @@ -45,7 +45,7 @@ services:
if [ ! -f /data/act_runner.yaml ]; then
/usr/local/bin/act_runner register \
--instance "https://gitea.com" \
--token "ap3vnogK2BJ6OR35siQolFonR7mLDOO6SSEBdrTS" \
--token ${RUNNER_TOKEN} \
--name "runner2" \
--labels "ubuntu-latest" \
--no-interactive
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- Minimal Windows Build
```sh
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install mise docker-desktop dagger -y
choco install mise docker-desktop -y
mise dagger_windows
```

Expand Down
4 changes: 2 additions & 2 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ run = """
[tasks."codeberg_runners_up"]
run = """
{% set sudo = "" %}{% if os_family() != "windows" %}{% set sudo = "sudo " %}{% endif %}
cd ./.ci/codeberg && {{ sudo }} docker compose up -d
cd ./.ci/codeberg && {{ sudo }} docker compose --env-file .env up -d
"""

[tasks."codeberg_runners_down"]
Expand All @@ -130,7 +130,7 @@ cd ./.ci/codeberg && {{ sudo }} docker compose down
[tasks."gitea_runners_up"]
run = """
{% set sudo = "" %}{% if os_family() != "windows" %}{% set sudo = "sudo " %}{% endif %}
cd ./.ci/gitea && {{ sudo }} docker compose up -d
cd ./.ci/gitea && {{ sudo }} docker compose --env-file .env up -d
"""

[tasks."gitea_runners_down"]
Expand Down