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

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