Skip to content

Commit

Permalink
Added basic makefile to automatize the installation steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
pantierra committed Oct 31, 2024
1 parent 6a90664 commit ff138ea
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Makefile for eoapi-k8s

# Variables
HELM_REPO_URL=https://devseed.com/eoapi-k8s/
HELM_CHART_NAME=eoapi/eoapi
PGO_CHART_VERSION=5.5.2

.PHONY: all install

# Default target
all: install

install:
@echo "Installing dependencies."
helm install --set disable_check_for_upgrades=true pgo oci://registry.developers.crunchydata.com/crunchydata/pgo --version $(PGO_CHART_VERSION)
@echo "Adding eoAPI helm repository."
helm repo add eoapi $(HELM_REPO_URL)
@echo "Installing eoAPI helm chart."
cd ./helm-chart && \
helm install --namespace eoapi --create-namespace --set gitSha=$$(git rev-parse HEAD | cut -c1-10) eoapi ./eoapi

help:
@echo "Makefile commands:"
@echo " make install - Install eoAPI on a cluster"

0 comments on commit ff138ea

Please sign in to comment.