The idea is to use both Argo and Tekton for testing PR with e2e tests.
I will start on Ubuntu and then try to get it running on a Mac Silicon machine. Note above Bitbucket has been replaced by GitEA
Install requirements
kubectl
kind
postgres client
PostgreSQL on Kubernetes
Argo on Kubernetes
GitEA on Kubernetes
PostgreSQL install (for Bitbucket) : https://phoenixnap.com/kb/postgresql-kubernetes
Argo install: https://shashanksrivastava.medium.com/install-configure-argo-cd-on-kind-kubernetes-cluster-f0fee69e5ac4
Both of the above installations are simple via Helm charts.
In terminal with psql client:
postgres=#
Install DBeaver database GUI
sudo snap install dbeaver.ce
Create gitea database
Install GitEA from Helm Chart
https://gitea.com/gitea/helm-chart/
kubectl create secret generic gitea-postgres-secret \
--from-literal=POSTGRES_USER=<postgres-username> \
--from-literal=POSTGRES_PASSWORD=<postgres-password> \
--from-literal=POSTGRES_HOST=<postgres-host> \
--from-literal=POSTGRES_PORT=<postgres-port> \
--from-literal=POSTGRES_DB=<postgres-database>
Create a user in GitEA with a testRepo
No comments:
Post a Comment