Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hegerdes/gitlab-actions

Collection of GitLab CI-CD-Catalog actions. Allows users to build Docker/OCI Container Images.
https://github.com/hegerdes/gitlab-actions

ci-cd gitlab gitlab-ci gitlab-components

Last synced: about 2 months ago
JSON representation

Collection of GitLab CI-CD-Catalog actions. Allows users to build Docker/OCI Container Images.

Awesome Lists containing this project

README

        

# GitLab CI/CD Components
![CI/CD](https://gitlab.com/hegerdes/gitlab-actions/badges/main/pipeline.svg)
![Release](https://gitlab.com/hegerdes/gitlab-actions/-/badges/release.svg)

This repo contains a collection of different [GitLab CI/CD Components](https://about.gitlab.com/blog/2023/12/21/introducing-the-gitlab-ci-cd-catalog-beta/) and snippets to be included in the script section of a job.

Currently supported components are:
* [Code Quality: pre-commit](https://gitlab.com/hegerdes/gitlab-actions/-/tree/main/templates/pre-commit.md)
* [Build: Helm package](https://gitlab.com/hegerdes/gitlab-actions/-/tree/main/templates/helm-package.md)
* [Container Build: Kaniko](https://gitlab.com/hegerdes/gitlab-actions/-/tree/main/templates/kaniko-build.md)
* [Container Build: Buildah](https://gitlab.com/hegerdes/gitlab-actions/-/tree/main/templates/buildash-build.md)
* [Container Build: Merge-Manifests](https://gitlab.com/hegerdes/gitlab-actions/-/tree/main/templates/container-manifest-merge.md)
* [Security: Trivy container scan](https://gitlab.com/hegerdes/gitlab-actions/-/tree/main/templates/trivy-container-scan.md)
* [Security: Cosign container sign](https://gitlab.com/hegerdes/gitlab-actions/-/tree/main/templates/cosign-container.md)
* [Deployment: Helm install/upgrade](https://gitlab.com/hegerdes/gitlab-actions/-/tree/main/templates/helm-install.md)

Currently supported snippets are:
* debian-core-tools
* alpine-core-tools
* openssl-install
* opentofu-install
* jq-install
* terraform-install
* git-install
* tflint-install
* kubectl-install
* cosign-install
* talosctl-install
* skopeo-install
* az-copy-install
* minikube-install
* argocd-cli-install
* helm-install
* kubeseal-install
* kubeconform-install
* kind-install
* tailscale-install
* minio-mc-install
* yq-by-mike-farah-install
* azure-cli-install
* aws-cli-install

**NOTE:** All components and snippets are `arm64` ready. Gitlab now offers hosted ARM runners. You can use these when setting:
```yaml
default:
tags: [saas-linux-medium-arm64]

# or by including as a template and setting it by extending the job
include:
- component: gitlab.com/hegerdes/gitlab-actions/kaniko-build@
inputs:
as_job: .my-kaniko-build

my-kaniko-build:
tags: [saas-linux-medium-arm64]
extends: .my-kaniko-build
```

## Releases
All releases follow the [semantic versioning](https://semver.org/) schema. So only major version bumps should include breaking changes. The `main` branch is **NOT** stable and may have broken components. Use a fixed tag or fork this repo if you dan't want your CI to break unexpectedly.
Releases are generated with CI and contain all mentionable changes.

## Contribute

Feel free to open a issue or a PR. Any new CI tasks must have tests for them and must run on amd64 and arm64.
Please read about CI/CD components and best practices at: https://docs.gitlab.com/ee/ci/components