Commit graph

16 commits

Author SHA1 Message Date
Harald Hoyer 59ba468438 feat: remove docker status check in nix workflow
All checks were successful
/ build (push) Successful in 1m45s
- Removed unnecessary docker status and verification commands from the nix workflow file `.forgejo/workflows/nix.yaml`
- This simplifies the workflow and enhances its efficiency.
2024-06-27 16:03:22 +02:00
Harald Hoyer 163e5420b8 feat: add list command to nix workflow
Some checks failed
/ build (push) Failing after 30s
- The nix workflow has been updated with a new command for listing directory contents.
- This change allows inspection of the /root/.nix-profile/bin directory, assisting debug and ensuring correct docker file paths.
2024-06-27 15:53:45 +02:00
Harald Hoyer 016de513df feat: Rearrange nix workflow and add docker status check
Some checks failed
/ build (push) Failing after 13s
- The docker status check has been added to check the docker service before a build.
- The build command in the nix workflow has been moved after the docker status check for better error handling.
2024-06-27 15:53:01 +02:00
Harald Hoyer d9d76faffa feat: add diagnostic commands to nix workflow
Some checks failed
/ build (push) Has been cancelled
In the nix workflow, several diagnostic commands are added prior to the docker login attempt. This includes echoing the $PATH, checking the docker location with 'which', and listing /bin directory's contents. These are intended to troubleshoot potential issues in the continuous integration environment.
2024-06-27 15:52:10 +02:00
Harald Hoyer 5a5f282f72 Merge remote-tracking branch 'origin/main' 2024-06-27 15:48:41 +02:00
Harald Hoyer afdcd7fa93 fixup! feat: add docker-client package to image
Some checks failed
/ build (push) Failing after 1m39s
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-06-27 15:48:20 +02:00
Harald Hoyer ca3c611075 fix: modify docker load command in nix.yaml workflow
- Change the docker load command to include -i flag which specifies the input file from which to load the image/archive. This corrects the formation of the IMAGE_TAG.
2024-06-27 15:32:40 +02:00
Harald Hoyer 82d0bbb437 feat: add docker-client package to image
Some checks failed
/ build (push) Failing after 1m31s
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-06-27 15:30:24 +02:00
Harald Hoyer 9a8ec862c2 feat: add image upload step to nix workflow
Some checks failed
/ build (push) Failing after 1m30s
This commit introduces a new step to the nix workflow that includes uploading the built image to a docker registry. It also tags the image and pushes it to the user's docker registry for easier access and use.
2024-06-27 15:24:22 +02:00
Harald Hoyer 1fd6733cfc feat: Replace 'test' job with 'build' job in Forgejo workflows
All checks were successful
/ build (push) Successful in 1m32s
- Jobs in Forgejo workflows are updated to remove the 'test' job and expand the 'build' job.
- This is performed to streamline the workflows and employ a more central build job instead of individual testing ones.
- Also, the 'nix build' command is updated in the 'build' job for proper syntax.
2024-06-27 14:34:16 +02:00
Harald Hoyer 067856e165 feat: Add test job in Nix workflow
Some checks failed
/ test (push) Successful in 13s
/ build (push) Failing after 12s
- A new test job is added in the Nix Github Actions workflow
- This test runs on ubuntu, and checks out the current repository and lists its content
- These steps were added to increase visibility on the test environment
2024-06-27 14:33:24 +02:00
Harald Hoyer 9f53232733 feat: Add checkout step to nix workflow
Some checks failed
/ build (push) Failing after 13s
- This update adds a new step into the nix workflow for code checkout using `actions/checkout@v3`.
- This is important to ensure the latest code is used for the `nix build` execution step.
2024-06-27 14:03:31 +02:00
Harald Hoyer 8f8e0cafb7 feat: Add nix workflow file
Some checks failed
/ build (push) Failing after 1m5s
- Created a new workflow, nix.yaml, in the .forgejo folder
- This workflow runs Nix build on each push event
2024-06-27 13:59:12 +02:00
Harald Hoyer 0e0aac1d3f feat: Add .gitignore file
- A .gitignore file has been added to the project root directory.
- This file is configured to exclude .idea directory which often contains IDE specific settings that should not be part of the repo.
2024-06-27 13:58:58 +02:00
Harald Hoyer c8bf9ecfc1 feat: add flake.nix
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-06-27 13:48:15 +02:00
Harald Hoyer 4e0fca69c3 first commit 2024-06-27 13:38:28 +02:00