blob: 8f5a90624ae020de79403ee0e3ec7f0f0bb0ff42 [file] [log] [blame]
# AWS general settings
AWS_PREFIX=gerrit
AWS_REGION=us-east-1
CLUSTER_KEYS=$(AWS_PREFIX)-cluster-keys
# Gerrit version
GERRIT_VERSION=3.2
GERRIT_PATCH=0-rc3
GERRIT_BRANCH=stable-$(GERRIT_VERSION)
# Gerrit CI
GERRIT_CI=https://gerrit-ci.gerritforge.com/view/Plugins-$(GERRIT_BRANCH)/job
LAST_BUILD=lastSuccessfulBuild/artifact/bazel-bin/plugins
# Image version
IMAGE_DIR=$(dir $(realpath $(lastword $(MAKEFILE_LIST))))gerrit
HEAD_SHA1=$(shell git $(IMAGE_DIR) -type f -exec cat {} \; | shasum | cut -c 1-20)
IMAGE_TAG=$(GERRIT_VERSION).$(GERRIT_PATCH)-$(HEAD_SHA1)