| # AWS general settings |
| AWS_PREFIX=gerrit |
| AWS_REGION=us-east-1 |
| CLUSTER_KEYS=$(AWS_PREFIX)-cluster-keys |
| |
| # Gerrit version |
| GERRIT_VERSION=3.1 |
| GERRIT_PATCH=4 |
| 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) |