Current deployment process requires access to fhir-org-startr-project
in the HL7 GCP org.
- Install
kubectl
- Install
gcloud
- Configure access to cluster
gcloud container clusters get-credentials fhir-k8s --zone us-east1-d
- Set up
auto-ig-builder
repo
git clone https://github.com/FHIR/auto-ig-builder/
cd auto-ig-builder/triggers/ig-commit-trigger
./setup-secret.sh
- Deploy updates to the
ig-build
image
cd images/ig-build
docker build -t gcr.io/fhir-org-starter-project/ig-build -f Dockerfile .
gcloud docker -- push gcr.io/fhir-org-starter-project/ig-build
- Deploy updates to
ci-build
image
cd images/ci-build
docker build -t gcr.io/fhir-org-starter-project/ci-build -f Dockerfile .
gcloud docker -- push gcr.io/fhir-org-starter-project/ci-build
- Deploy updates to IG commit trigger
cd triggers/ig-commit-trigger
gcloud functions deploy ig-commit-trigger --runtime nodejs18 --trigger-http
minikube config set memory 20000
minikube start
eval $(minikube -p minikube docker-env)
kubectl create ns fhir
ssh-keygen -t rsa -f id
kubectl -n fhir create secret generic ci-build-keys --from-file=id --from-file=id.pub
echo "" > keyfile.ini
echo "{}" > fhir-settings.json
kubectl -n fhir create secret generic fhir-settings --from-file=keyfile.ini --from-file=fhir-settings.json
kubectl -n fhir create secret generic zulip-secrets --from-literal=email=bot@hsot --from-literal=api_key=zapi
Build the igbuild image as igbuild
in minikube docker
kubectl apply -f example-job-for-minikube.yaml