Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Commit d85abc0

Browse files
authored
Merge pull request #59 from oracle/update-build-process
Include hack directory in build output. Allow version to be configured
2 parents 8611526 + 7f9147c commit d85abc0

File tree

3 files changed

+5
-49
lines changed

3 files changed

+5
-49
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ USE_GLOBAL_NAMESPACE ?= false
1717
ifdef WERCKER
1818
# Insert swear words about mysql group replication and hostname length. Arghh..
1919
NEW_NAMESPACE ?= e2e-$(shell echo ${WERCKER_GIT_COMMIT} | fold -w 8 | head -n1)
20-
VERSION := ${WERCKER_GIT_COMMIT}
20+
VERSION ?= ${WERCKER_GIT_COMMIT}
2121
E2E_FUNC := e2efunc-wercker
2222
E2E_NON_BUFFERED_LOGS ?= false
2323
else
2424
NEW_NAMESPACE ?= e2e-${USER}
25-
VERSION := ${USER}-$(shell date +%Y%m%d%H%M%S)
25+
VERSION ?= ${USER}-$(shell date +%Y%m%d%H%M%S)
2626
E2E_FUNC := e2efunc-docker
2727
E2E_NON_BUFFERED_LOGS ?= true
2828
endif

hack/release.sh

Lines changed: 0 additions & 45 deletions
This file was deleted.

wercker.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ build:
3131
cp -R pkg ${WERCKER_OUTPUT_DIR}/
3232
cp -R test ${WERCKER_OUTPUT_DIR}/
3333
cp -R vendor ${WERCKER_OUTPUT_DIR}/
34+
cp -R hack ${WERCKER_OUTPUT_DIR}/
3435
cp -R mysql-operator ${WERCKER_OUTPUT_DIR}/
3536
cp -R .git ${WERCKER_OUTPUT_DIR}/
3637
@@ -106,7 +107,7 @@ e2e-test-upgrade:
106107
fi
107108
E2E_NON_BUFFERED_LOGS=true make e2e-suite-run-upgrade
108109
make e2e-suite-teardown-upgrade
109-
110+
110111
release:
111112
box:
112113
id: oraclelinux:7-slim
@@ -120,4 +121,4 @@ release:
120121
token: $GITHUB_TOKEN
121122
tag: $VERSION
122123
title: $VERSION
123-
draft: false
124+
draft: false

0 commit comments

Comments
 (0)