Skip to content

Instantly share code, notes, and snippets.

@lifeofguenter
Last active Dec 16, 2020
Embed
What would you like to do?
ARG spinnaker_version
FROM us-docker.pkg.dev/spinnaker-community/docker/front50:spinnaker-${spinnaker_version}
COPY services/front50/*.yml /opt/front50/config/
COPY spinnaker.yml /opt/front50/config/
SHELL := bash
bold := $(shell tput bold)
sgr0 := $(shell tput sgr0)
SPINNAKER_VERSION ?= $(shell cat "$(CURDIR)/version.txt")
.PHONY: build
build: services/*
@for tag in $^ ; do \
echo -e "👷🔨 $(bold)Building: $${tag##*/}$(sgr0) 👷🔨" ; \
docker build \
--pull \
--build-arg 'spinnaker_version=$(SPINNAKER_VERSION)' \
-t "spinnaker:$${tag##*/}" \
-f "$${tag}/Dockerfile" . || exit 1 ; \
echo -e "\n" ; \
done
global:
spinnaker:
timezone: UTC
services:
clouddriver:
baseUrl: ${SPINNAKER_CLOUDDRIVER_BASEURL:http://localhost:7002}
enabled: true
deck:
baseUrl: ${SPINNAKER_DECK_BASEURL:http://localhost:9000}
enabled: true
echo:
baseUrl: ${SPINNAKER_ECHO_BASEURL:http://localhost:8089}
enabled: true
front50:
baseUrl: ${SPINNAKER_FRONT50_BASEURL:http://localhost:8080}
enabled: true
gate:
baseUrl: ${SPINNAKER_GATE_BASEURL:http://localhost:8084}
enabled: true
igor:
baseUrl: ${SPINNAKER_IGOR_BASEURL:http://localhost:8088}
enabled: true
orca:
baseUrl: ${SPINNAKER_ORCA_BASEURL:http://localhost:8083}
enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment