Skip to content

Commit

Permalink
Issue 156: Including operator base version in Makefile (#157)
Browse files Browse the repository at this point in the history
* Issue 156: Including operator base version in Makefile

Signed-off-by: SrishT <[email protected]>

* Issue 156: Addressing review comments

Signed-off-by: SrishT <[email protected]>

Co-authored-by: SrishT <[email protected]>
  • Loading branch information
SrishT and SrishT authored Jul 13, 2021
1 parent 007f45e commit 2908ab4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ SHELL=/bin/bash -o pipefail

PROJECT_NAME=bookkeeper-operator
REPO=pravega/$(PROJECT_NAME)
VERSION=$(shell git describe --always --tags --dirty | sed "s/\(.*\)-g`git rev-parse --short HEAD`/\1/")
BASE_VERSION=0.1.6
ID=$(shell git rev-list HEAD --count)
GIT_SHA=$(shell git rev-parse --short HEAD)
VERSION=$(BASE_VERSION)-$(ID)-$(GIT_SHA)
GOOS=linux
GOARCH=amd64
TEST_REPO=testbkop/$(PROJECT_NAME)
Expand Down
2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
serviceAccountName: bookkeeper-operator
containers:
- name: bookkeeper-operator
image: pravega/bookkeeper-operator:0.1.4
image: pravega/bookkeeper-operator:0.1.5
ports:
- containerPort: 60000
name: metrics
Expand Down

0 comments on commit 2908ab4

Please sign in to comment.