Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/arnaud-tincelin/tekton-azure


https://github.com/arnaud-tincelin/tekton-azure

azure azure-workload-identity tekton terraform

Last synced: 24 days ago
JSON representation

Awesome Lists containing this project

README

        

# Tekton test repo

This repository creates an AKS cluster with [tekton pipelines](https://tekton.dev/) to deploy [a sample repository](https://github.com/arnaud-tincelin/sampleapp).

The pipeline can be triggered using a kubectl command or using an HTTP trigger.

## Required tools

- [Kustomize](https://kustomize.io/)
- [Kapp](https://carvel.dev/kapp/)
- [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli)
- [Terraform](https://www.terraform.io/downloads)

## Deploy the cluster

```bash
az login
terraform init
terraform apply --var=subscription_id="" -auto-approve
```

## Tekton dashboard

To access the dashboard, run:

```bash
kubectl --kubeconfig kubeconfig -n tekton-pipelines port-forward svc/tekton-dashboard 9097:9097
```

Then, browse [http://localhost:9097/](http://localhost:9097/).

## Start a pipeline using a kubectl command

```bash
REPO_URL="https://github.com/arnaud-tincelin/sampleapp.git"
NAME="ati01"
SUBSCRIPTION_ID=""

kubectl --kubeconfig kubeconfig create -f <(
cat <