danmanners / tekton-tasks

Personal Tekton CI/CD Tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dan Manners' Tekton Tasks

The structure of this project is loosely based on the official Tekton CI/CD Catalog repository.

Project Structure

  1. Each resource follows the following structure:
/task                                       πŸ‘ˆ the kind of the resource

    /buildah-build                          πŸ‘ˆ definition file must have same name

        /readme.md                          πŸ‘ˆ owners of this tasks and changelog

        /0.1
            /readme.md                      πŸ‘ˆ instructions on how to use the task

            /buildah-build.yaml             πŸ‘ˆ should match task name; installs Task (single namespace)

            /kustomization.yaml             πŸ‘ˆ install the resource as a ClusterTask (all namespaces)

        /0.2/
            ...
  1. Resource YAML file includes following changes
  • Labels include the version of the resource.
  • Annotations include minimum pipeline version supported by the resource, tags associated with the resource and displayName of the resource
labels:
    tekton.dev/version: "0.1"                         πŸ‘ˆ Version of the resource

annotations:
    tekton.dev/pipelines.minVersion: "0.12.1"         πŸ‘ˆ minVersion of pipeline resource is compatible
    tekton.dev/categories: CLI                        πŸ‘ˆ comma separated list of categories
    tekton.dev/displayName: "Ansible Tower Cli"       πŸ‘ˆ displayName can be optional
    tekton.dev/platforms: "linux/amd64,linux/s390x"   πŸ‘ˆ comma separated list of platforms, can be optional

spec:
description: |-
    ansible-tower-cli task simplifies
    workflow, jobs, manage users...                   πŸ‘ˆ Summary

    Ansible Tower (formerly β€˜AWX’) is a ...

List of Categories

The list of categories I am using are based on the official Tekton CI/CD catalog list, which can be found here. While similar, they do not match at this time.

categories:
  - name: Automation
  - name: Build Tools
  - name: CLI
  - name: Code Quality
  - name: Containerization
  - name: Continuous Integration
  - name: Deployment
  - name: Developer Tools
  - name: Integration & Delivery
  - name: Git
  - name: Kubernetes
  - name: Messaging
  - name: Monitoring
  - name: Networking
  - name: Publishing
  - name: Security
  - name: Testing

About

Personal Tekton CI/CD Tasks