docker-compose example #72
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: forgejo/runner#72
Loading…
Reference in a new issue
No description provided.
Delete branch "earl-warren/runner:wip-dind"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Test run at https://code.forgejo.org/earl-warren/runner/actions/runs/185
Goal
Container image design
KISS
forgejo-runner
/data
The
/data
directory is mounted from the host or another volume and containExamples
Using the host docker server
Assuming the docker group is GID 133
Using dind
Other implementations
2408c9134d
to1945384266
1945384266
to238b5f3ea9
238b5f3ea9
toa23d446757
a23d446757
to146cb46e53
146cb46e53
to8286ebaf9b
8286ebaf9b
tob16686d506
b16686d506
to26c90f3bf4
26c90f3bf4
tod868585ad3
d868585ad3
to4d9b72dd5b
4d9b72dd5b
tob0512c8190
b0512c8190
to7ac8a82590
7ac8a82590
tobf827ec1be
89a6d48593
toec648619f1
40e7771776
tocb2c49e442
cb2c49e442
toec6d2ac50f
9ef49ce871
to9a09498a70
0f26280569
to3826bb553c
WIP: general purpose rootless imageto WIP: docker-compose example1c42fcae22
to9b115fce92
WIP: docker-compose exampleto docker-compose example@ -4,0 +58,4 @@
A wait loop expects the status of the check associated with the
commit in Forgejo to show "success" to assert the workflow was run.
Split that into a separate section like the above for unification.
@ -4,0 +29,4 @@
* user: root
* password: admin1234
`Forgejo Actions` are enabled by default when creating a repository.
s/are enabled/is enabled/
@ -4,0 +41,4 @@
## Tests workflow
The `compose-demo-workflow.yml` compose file runs a demo workflow to
verify the Forgejo runner can pick up a task from the Forgejo instance
Forgejo runner
@ -0,0 +49,4 @@
sleep 1 ;
done ;
forgejo-runner generate-config > config.yml ;
sed -i -e "s|labels: \[\]|labels: \[\"docker:docker://node:16-bullseye\"\]|" config.yml ;
using
alpine:3.18
will be lighterA few details.
ab868afa3b
todeefb19f21