Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/arnaud-tincelin/tekton-azure
- Owner: arnaud-tincelin
- Created: 2022-10-10T07:59:20.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T08:56:06.000Z (about 2 years ago)
- Last Synced: 2023-11-15T10:36:47.341Z (about 1 year ago)
- Topics: azure, azure-workload-identity, tekton, terraform
- Language: HCL
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 <