Commit Graph
35 Commits
Author SHA1 Message Date
argoyle f7da091467 docs: add CLAUDE.md for guidance on CI templates
Create a new documentation file to provide guidance for using 
reusable GitLab CI templates in Unbound Software projects. 
Detail the repository overview, architecture, release pipeline 
workflow, key environment variables, and common usage patterns. 
Also, update `.gitignore` to exclude the CLAUDE directory 
from version control.
2025-12-03 08:46:30 +01:00
argoyle b83d4b870e refactor: remove commented tags from CI config file
This commit removes unused commented-out tags in the 
Defaults.gitlab-ci.yml file to clean up the code 
and improve readability, ensuring clarity in the CI 
configuration.
2025-10-23 16:29:45 +02:00
argoyle 2d0e058dff feat(ci): remove unused tags in GitLab CI configuration
Removes commented out tags from the GitLab CI configuration to 
clean up the file and reduce confusion. The tags are not currently 
used and their removal helps streamline the CI setup.
2025-10-22 20:19:53 +02:00
argoyle 97700f1654 feat(ci): add codebuild tags to GitLab CI configuration
Enhance the GitLab CI configuration by adding tags for codebuild. This 
includes a unique identifier that incorporates the project ID, pipeline 
IID, and job name to improve build tracking and organization.
2025-10-22 20:06:27 +02:00
argoyle bd237e5297 fix: update version handling in gitlab-ci configuration
Check for the existence of the version file before reading it. 
If the file is missing, print a message and exit gracefully. 
This change improves the robustness of the CI pipeline by preventing 
errors when the version file is not present.
2025-09-11 13:22:17 +02:00
argoyle 4730bbdc1f feat(ci): add condition for tag handling in CI pipeline
Includes a new condition in the CI pipeline to handle situations where 
the commit is a tag. This improves the robustness of the pipeline 
by ensuring that specific actions are only executed for tagged 
commits, thereby optimizing the release process.
2025-09-11 11:12:24 +02:00
argoyle 7b520d8d0f chore(release): update version handling in CI script
Updates the CI script to improve version retrieval and checking logic. 
Replaces direct calls to the VERSION file with reading from a 
`.version` JSON file, ensuring proper version management. Handles 
the creation and updating of the CHANGELOG and .version files to 
enhance the release process. Adjusts conditions for executing 
release tasks based on current tags and branches to prevent 
unnecessary executions.
2025-09-11 09:29:09 +02:00
argoyle 6de35472d2 fix: update changelog generation command for consistency
Refactor the changelog generation command in the CI configuration. 
Use consistent quotation marks in the command to enhance readability 
and avoid potential issues with shell parsing.
2025-08-23 19:53:48 +02:00
argoyle c78db79873 fix: update changelog generation script syntax
Correct the quote style in the changelog generation script for 
consistency and adherence to shell syntax. The change improves 
readability and reduces potential parsing issues.
2025-08-23 19:52:11 +02:00
argoyle 20f4de9ef9 fix: escape single quotes in changelog generation script
Update the command in the GitLab CI configuration to properly escape 
single quotes in the `sed` command for generating the CHANGELOG.md. This 
ensures that the command executes correctly in the CI environment, 
preventing potential syntax errors during the build process.
2025-08-23 19:49:58 +02:00
argoyle b240cea6ca fix(ci): remove trailing whitespace in changelog generation
Updates the changelog generation command to remove trailing whitespace 
before writing to CHANGELOG.md. This ensures a cleaner output and 
maintains consistency in formatting.
2025-08-23 19:45:58 +02:00
argoyle 70de0e388f upgrade: update pre-commit image to version 0.2.8
Updates the pre-commit Docker image to version 0.2.8 to leverage
improvements and fixes in the latest release. This enhances the
quality of the pre-commit hooks used during CI/CD processes.
2025-06-07 19:38:40 +02:00
argoyle f5d34b6971 fix(ci): update alpine image to version 3.22.0
Change the Docker image for multiple CI jobs from alpine:latest 
to amd64/alpine:3.22.0 to ensure compatibility and improve 
stability of the build environment. This upgrade addresses 
potential vulnerabilities and ensures the use of a more 
secure and reliable base image.
2025-05-31 10:43:04 +02:00
argoyle 57400b0223 feat(ci): add retry configuration for CI jobs
Adds a default retry configuration for CI jobs to handle  
various failure scenarios. This improves the robustness of  
the pipeline by allowing automatic retries for jobs that  
fail due to temporary issues.
2025-04-30 16:46:11 +02:00
argoyle 666aa41d03 chore(ci): update git-cliff image to version 2.7.0
Update the git-cliff Docker image version to 2.7.0 for enhanced
features and fixes. This change applies to both the release
preparation and changelog stages in the CI configuration.
2024-12-28 17:11:17 +01:00
argoyle 9a6f9f79d1 fix(ci): handle case where no tags are present in git
Modify the command to describe the latest tag to gracefully handle  
the scenario where no tags are available. This avoids potential  
errors in the script execution when the git repository is  
tagless, ensuring the CI pipeline runs smoothly under all  
circumstances.
2024-11-27 15:16:53 +01:00
argoyle 1f373fe38c fix(ci): improve version checking in the CI pipeline
Update the version checking logic in the CI pipeline to ensure that 
the script correctly identifies the latest tag. The change checks 
if the latest tag is available before comparing it with the 
VERSION file, improving reliability in determining if a version 
bump is necessary.
2024-11-27 15:09:37 +01:00
argoyle f5dc3f883a ci: update pre-commit images to latest versions
This commit updates the Docker images for the pre-commit hooks in both the
Node and Go configuration files to their latest versions. This change ensures
that we are using the most recent fixes and improvements provided by the 
pre-commit maintainers, enhancing performance and reliability.
2024-11-14 09:19:44 +01:00
argoyle 4dd87a0961 ci: update pre-commit configuration for GitLab CI
Add GOPRIVATE environment variable for private repos and 
create a .netrc file in the before_script to enable 
authentication with GitLab. These changes ensure that 
private repositories can be accessed during the CI 
pipeline, improving the build process.
2024-11-13 12:41:01 +01:00
argoyle a35fb56d45 feat(ci): add pre-commit CI configuration for Node and Go
This change introduces GitLab CI configurations for running 
pre-commit hooks on both Node and Go projects. It sets up the 
pre-commit environment, ensures necessary dependencies are 
installed, and runs pre-commit checks on all files to maintain 
code quality and consistency. This automation helps to catch 
issues early in the development process.
2024-11-13 12:30:11 +01:00
argoyle dad194ae4e fix: use latest if running on tag 2024-10-22 11:11:12 +02:00
argoyle ce06fd8ef6 fix: handle tag builds 2024-10-22 10:33:23 +02:00
argoyle ca2e2d9f90 feat: run release preparation on tags in tag only flow 2024-10-22 10:07:08 +02:00
argoyle 2af9955462 fix: update job names to be unique 2024-10-16 18:20:23 +02:00
argoyle c1d8764d72 ci: add tag only flow for releases 2024-10-16 17:37:03 +02:00
argoyle 22294d5322 fix: handle CHANGELOG.md existing on default branch 2024-10-06 12:15:40 +02:00
argoyle 01507626b9 fix: exit early if no changes worthy of a version bump 2024-10-06 11:48:15 +02:00
argoyle a5b83fe353 Merge branch 'renovate/alpine-3.x' into 'main'
chore(deps): update alpine docker tag to v3.20

See merge request unboundsoftware/ci-templates!2
2024-10-05 18:51:53 +00:00
argoyle 442d0bc801 fix: strip header of MR description 2024-10-05 12:13:25 +02:00
argoyle 4112728e1e feat: add MR description with release changes 2024-10-05 11:54:06 +02:00
argoyle c4b4b66692 fix: make curl fail fast on HTTP error 2024-10-05 11:41:24 +02:00
argoyle 6331646181 fix: create CHANGELOG.md if not already existing 2024-10-05 11:03:35 +02:00
argoyle 5ec06d1bd6 chore: remove author email 2024-10-05 11:03:11 +02:00
argoyle b5c4a844ee Merge branch 'renovate/configure' into 'main'
chore: Configure Renovate

See merge request unboundsoftware/ci-templates!1
2024-10-05 08:37:41 +00:00
argoyle 32f9a249c3 feat: initial version 2024-10-05 01:31:15 +02:00