-
Notifications
You must be signed in to change notification settings - Fork 9
Experimental deployments
See all options and they defaults once you deploy a cluster in buildfoo/defaults.sh.
Or look at all of the {backend,modules}/*/defaults.sh.
Note: Kind/EKCP usage - Make sure that the host has swapaccounting enabled
You need to disable eirini with: ENABLE_EIRINI=false
$> [...] ENABLE_EIRINI=false make all
$> [...] CLUSTER_NAME=concourse make k8s module-extra-concourse
It is a half-automated target, extra steps are required from the browser to conclude the Gitea setup.
$> [...] CLUSTER_NAME=ci make k8s module-extra-gitea
Follow the instructions printed in the terminal. You need to conclude the Gitea setup from the browser and create an oauth2 app. Setup also your user, keep a note of the secrets generated and username (Don't forget to setup your ssh key too!)
here shown the required ones to connect successfully to the Gitea instance
$> [...] CLUSTER_NAME=ci DRONE_CLIENT_ID=<oauth_client_id> DRONE_CLIENT_SECRET=<oauth_secret> DRONE_ADMIN=<username> make module-extra-drone
It will deploy the Drone Server + Drone Starlark converter plugin + Drone runner for kubernetes (which will use the kube cluster to execute pipelines) connected to the Gitea instance.
Setting SCF_OPERATOR=true enables SCFv3 deployment.
You can also tweak the SCF_CHART to point to a specific chart, it defaults to latest from v3-develop branch in the SCF repository.
$> [...] SCF_OPERATOR=true make all
You need to specify DOCKER_REGISTRY,DOCKER_ORG,DOCKER_USERNAME and DOCKER_PASSWORD environment variables when running the make target, for example:
$> [...] DOCKER_PASSWORD="xxxx" \
DOCKER_USERNAME="xxxx" \
DOCKER_ORG="my-org" \
DOCKER_REGISTRY="my.private.registry" \
make all
$> KIND_APIVERSION=kind.sigs.k8s.io/v1alpha3 \
KIND_VERSION=v0.4.0 \
make kind module-experimental-eirini_release