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

Commit

Permalink
Merge pull request #59 from oracle/update-build-process
Browse files Browse the repository at this point in the history
Include hack directory in build output. Allow version to be configured
  • Loading branch information
owainlewis authored Mar 22, 2018
2 parents 8611526 + 7f9147c commit d85abc0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 49 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ USE_GLOBAL_NAMESPACE ?= false
ifdef WERCKER
# Insert swear words about mysql group replication and hostname length. Arghh..
NEW_NAMESPACE ?= e2e-$(shell echo ${WERCKER_GIT_COMMIT} | fold -w 8 | head -n1)
VERSION := ${WERCKER_GIT_COMMIT}
VERSION ?= ${WERCKER_GIT_COMMIT}
E2E_FUNC := e2efunc-wercker
E2E_NON_BUFFERED_LOGS ?= false
else
NEW_NAMESPACE ?= e2e-${USER}
VERSION := ${USER}-$(shell date +%Y%m%d%H%M%S)
VERSION ?= ${USER}-$(shell date +%Y%m%d%H%M%S)
E2E_FUNC := e2efunc-docker
E2E_NON_BUFFERED_LOGS ?= true
endif
Expand Down
45 changes: 0 additions & 45 deletions hack/release.sh

This file was deleted.

5 changes: 3 additions & 2 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ build:
cp -R pkg ${WERCKER_OUTPUT_DIR}/
cp -R test ${WERCKER_OUTPUT_DIR}/
cp -R vendor ${WERCKER_OUTPUT_DIR}/
cp -R hack ${WERCKER_OUTPUT_DIR}/
cp -R mysql-operator ${WERCKER_OUTPUT_DIR}/
cp -R .git ${WERCKER_OUTPUT_DIR}/
Expand Down Expand Up @@ -106,7 +107,7 @@ e2e-test-upgrade:
fi
E2E_NON_BUFFERED_LOGS=true make e2e-suite-run-upgrade
make e2e-suite-teardown-upgrade
release:
box:
id: oraclelinux:7-slim
Expand All @@ -120,4 +121,4 @@ release:
token: $GITHUB_TOKEN
tag: $VERSION
title: $VERSION
draft: false
draft: false

0 comments on commit d85abc0

Please sign in to comment.