Implement Jekyll CI workflow with docker #2

Merged
btlogy merged 60 commits from 1.test-ci into main 2024-05-23 12:16:39 +00:00

60 Commits

Author SHA1 Message Date
5ca1836538 CI only in the main branch and the PRs
All checks were successful
Jekyll / jekyll (pull_request) Successful in 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 14:13:52 +02:00
1e7ba01f27 Try to avoid empty volume
All checks were successful
Jekyll / jekyll (push) Successful in 18s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 14:11:27 +02:00
d3a5b93704 Prepare for PR
Some checks failed
Jekyll / jekyll (push) Failing after 16s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 14:09:30 +02:00
f9eab1ff6a More cleanup
All checks were successful
Jekyll / jekyll (push) Successful in 21s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 12:03:39 +02:00
fcf1b29db2 Cleanup
All checks were successful
Jekyll / jekyll (push) Successful in 21s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 12:01:15 +02:00
4428c78f0d Use /appdata dir instead of home
All checks were successful
Jekyll / jekyll (push) Successful in 21s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 11:56:49 +02:00
db8d566b99 Verify the container again
Some checks failed
Jekyll / jekyll (push) Failing after 17s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 11:37:03 +02:00
85ce376ad0 Switch to appuser
Some checks failed
Jekyll / jekyll (push) Failing after 17s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 11:34:47 +02:00
4c11a160f4 Improve permissions and cleanup
All checks were successful
Jekyll / jekyll (push) Successful in 24s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-23 11:21:02 +02:00
444b318ee3 Avoid listing volume from container
Some checks failed
Jekyll / test-ci-actions (push) Failing after 27s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 19:50:43 +02:00
de1ced6c96 Try to mount the path instead of the name
Some checks failed
Jekyll / test-ci-actions (push) Failing after 17s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 19:49:48 +02:00
ecd1bcecb9 List volume content
Some checks failed
Jekyll / test-ci-actions (push) Failing after 17s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 19:45:30 +02:00
f9756339f3 Inspect volume before using it
Some checks failed
Jekyll / test-ci-actions (push) Failing after 17s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 19:39:53 +02:00
2617e930c5 Verify action requirements
Some checks failed
Jekyll / test-ci-actions (push) Failing after 17s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 19:37:24 +02:00
bf8334e31c Verify link action
Some checks failed
Jekyll / test-ci-actions (push) Failing after 22s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 19:20:50 +02:00
deb9c59da4 Give up on upload and just list the site for now
Some checks failed
Jekyll / test-ci-actions (push) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 19:12:48 +02:00
32cbdbec73 More upload outputs
All checks were successful
Jekyll / test-ci-actions (push) Successful in 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 19:02:14 +02:00
5051ae2599 Show step outputs
All checks were successful
Jekyll / test-ci-actions (push) Successful in 22s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 18:58:09 +02:00
dc95ab799a Look for the uploaded artifact
All checks were successful
Jekyll / test-ci-actions (push) Successful in 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 17:37:08 +02:00
7103c9a82f Use var name there too!
All checks were successful
Jekyll / test-ci-actions (push) Successful in 21s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 17:34:13 +02:00
d9e1720aba Stop debugging this
All checks were successful
Jekyll / test-ci-actions (push) Successful in 21s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 17:33:02 +02:00
afcf260ac9 Debug this
Some checks failed
Jekyll / test-ci-actions (push) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 17:29:36 +02:00
55d102a963 Use existing var for volume everywhere
Some checks failed
Jekyll / test-ci-actions (push) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 17:27:47 +02:00
09ffc900c5 Name the volume with existing variables
All checks were successful
Jekyll / test-ci-actions (push) Successful in 20s
This reverts commit b15883c239.

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 17:25:59 +02:00
148dd2733f Revert "Look for the artifact"
All checks were successful
Jekyll / test-ci-actions (push) Successful in 21s
This reverts commit 2cdbfd47a9.
2024-05-22 17:22:35 +02:00
940890cdda Revert "Name the volume with existing variables"
This reverts commit b15883c239.
2024-05-22 17:22:34 +02:00
fb8ffc18be Revert "Inspect volumes"
This reverts commit 63baae593b.
2024-05-22 17:22:32 +02:00
1003c049ea Revert "Debug this"
This reverts commit 9f59dcee85.
2024-05-22 17:22:26 +02:00
9f59dcee85 Debug this
Some checks failed
Jekyll / test-ci-actions (push) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 17:16:39 +02:00
63baae593b Inspect volumes
Some checks failed
Jekyll / test-ci-actions (push) Failing after 18s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 17:14:03 +02:00
b15883c239 Name the volume with existing variables
Some checks failed
Jekyll / test-ci-actions (push) Failing after 17s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 17:12:11 +02:00
2cdbfd47a9 Look for the artifact
Some checks failed
Jekyll / test-ci-actions (push) Failing after 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 17:06:54 +02:00
0e31b5b592 Test artifact upload
All checks were successful
Jekyll / test-ci-actions (push) Successful in 22s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 16:34:11 +02:00
797e87c126 Stick to the legacy docker-compose for now
All checks were successful
Jekyll / test-ci-actions (push) Successful in 18s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 16:22:52 +02:00
a73d5986bc Cleanup the workflow
Some checks failed
Jekyll / test-ci-actions (push) Failing after 18s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 16:21:19 +02:00
4dd57bf844 Share the workspace to build Jekyll
All checks were successful
Jekyll / test-ci-actions (push) Successful in 22s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 16:14:21 +02:00
2f1abb8c08 Take only one volume
Some checks failed
Jekyll / test-ci-actions (push) Failing after 17s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 16:13:01 +02:00
aae049f80d Debug the thing
Some checks failed
Jekyll / test-ci-actions (push) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 16:11:21 +02:00
af8978018e Hack to share the volume between the task containers
Some checks failed
Jekyll / test-ci-actions (push) Failing after 20s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 16:08:33 +02:00
496c140246 List the volumes
Some checks failed
Jekyll / test-ci-actions (push) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 15:58:38 +02:00
a6dd656df5 Who are we inside the task container
Some checks failed
Jekyll / test-ci-actions (push) Failing after 19s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 15:55:54 +02:00
488936a387 Figure where we are after the checkout
Some checks failed
Jekyll / test-ci-actions (push) Failing after 18s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 15:52:15 +02:00
d387b63973 Verify Jekyll container
Some checks failed
Jekyll / test-ci-actions (push) Failing after 18s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 15:47:42 +02:00
bbf59e574b Use ubuntu instead of jekyll user
Some checks failed
Jekyll / test-ci-actions (push) Failing after 17s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 15:02:31 +02:00
dae2ef07c3 Add ubuntu user to runner!?
Some checks failed
Jekyll / test-ci-actions (push) Failing after 18s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 15:00:16 +02:00
f4169d494d Try to fix file permissions
Some checks failed
Jekyll / test-ci-actions (push) Failing after 3s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 14:57:55 +02:00
3f335ed4d5 List file to see ownership
Some checks failed
Jekyll / test-ci-actions (push) Failing after 18s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 14:50:47 +02:00
3290d8a3ee Build image with root user and group
Some checks failed
Jekyll / test-ci-actions (push) Failing after 42s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 14:45:58 +02:00
944d7ffb40 Try to fix permissions
Some checks failed
Jekyll / test-ci-actions (push) Failing after 18s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 14:40:44 +02:00
47d6dda81b Fix typo
Some checks failed
Jekyll / test-ci-actions (push) Failing after 1m4s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 14:34:17 +02:00
768c32865c Build Jekyll site from CI workflow
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 14:30:15 +02:00
42a6f94691 Switch to apt-get
All checks were successful
Jekyll / test-ci-actions (push) Successful in 14s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 13:52:09 +02:00
5f590082f3 Update package list first
Some checks failed
Jekyll / test-ci-actions (push) Failing after 8s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 13:38:06 +02:00
0752ee1e9e Switch to ubuntu runner
Some checks failed
Jekyll / test-ci-actions (push) Failing after 25s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-22 12:23:10 +02:00
05fbd8f0ed List docker packages
Some checks failed
Jekyll / test-ci-actions (push) Failing after 10s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-15 10:03:17 +02:00
b081b1db58 Skip sudo for now
Some checks failed
Jekyll / test-ci-actions (push) Failing after 3s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-15 10:00:01 +02:00
1666286fd5 Install docker first
Some checks failed
Jekyll / test-ci-actions (push) Failing after 3s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-15 09:57:11 +02:00
e75bee1cd4 Test docker and add name and id to steps
Some checks failed
Jekyll / test-ci-actions (push) Failing after 4s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-15 09:44:19 +02:00
42d516fbba Avoid the slim runner for now
All checks were successful
Jekyll / Explore-Gitea-Actions (push) Successful in 21s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-15 09:27:09 +02:00
df4dfc08a4 Test Gitea actions
Some checks failed
Jekyll / Explore-Gitea-Actions (push) Failing after 42s
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
2024-05-15 09:22:46 +02:00