Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Build & stage etcd-manager also
Browse files Browse the repository at this point in the history
Part of moving canonical location of etcd-manager to this repo.
  • Loading branch information
justinsb committed Mar 21, 2021
1 parent 8a86ef9 commit 2c0526e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev/staging/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ fi
# Build and upload etcdadm binary
make etcdadm
gsutil -h "Cache-Control:private, max-age=0, no-transform" -m cp -n etcdadm ${ARTIFACT_LOCATION}/${VERSION}/etcdadm

# Build and upload etcd-manager images & binaries
DOCKER_IMAGE_PREFIX=${DOCKER_REGISTRY}/${DOCKER_IMAGE_PREFIX} DOCKER_TAG=${VERSION} make -C etcd-manager push
./etcd-manager/dev/build-assets.sh ${VERSION}
gsutil -h "Cache-Control:private, max-age=0, no-transform" -m cp -n dist/ ${ARTIFACT_LOCATION}/${VERSION}/etcd-manager/
4 changes: 4 additions & 0 deletions etcd-manager/dev/build-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ VERSION=$1
PLATFORMS="linux_amd64 darwin_amd64 windows_amd64"
CMDS="etcd-manager-ctl"

# cd to the etcd-manager root
REPO_ROOT="$(git rev-parse --show-toplevel)"
cd "${REPO_ROOT}"/etcd-manager

# Ensure the dist folder exists and is clean
rm -fr dist/ && mkdir -p dist/

Expand Down

0 comments on commit 2c0526e

Please sign in to comment.