build: boundary v0.0.1-sam-test1 (be1555d9b0)

build-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814
Sam Salisbury 5 years ago
parent be1555d9b0
commit 27016347a2

50
.circleci/config.yml generated

@ -83,7 +83,7 @@ jobs:
environment:
- AUTO_INSTALL_TOOLS: 'YES'
- BUILDKIT_PROGRESS: plain
- PRODUCT_REVISION: ''
- PRODUCT_REVISION: be1555d9b0325d7d8078451c19df46d0aa514c40
darwin_amd64_package:
docker:
- image: circleci/buildpack-deps
@ -91,8 +91,8 @@ jobs:
environment:
- AUTO_INSTALL_TOOLS: 'YES'
- BUILDKIT_PROGRESS: plain
- PRODUCT_REVISION: ''
- PACKAGE_SPEC_ID: e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2
- PRODUCT_REVISION: be1555d9b0325d7d8078451c19df46d0aa514c40
- PACKAGE_SPEC_ID: 580141912b3b19366ca56eea8dcbb8b005ff3ee9
steps:
- setup_remote_docker:
version: 19.03.12
@ -104,7 +104,7 @@ jobs:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: cache001-package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2-{{checksum ".buildcache/cache-keys/package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2"}}
key: cache001-package-580141912b3b19366ca56eea8dcbb8b005ff3ee9-{{checksum ".buildcache/cache-keys/package-580141912b3b19366ca56eea8dcbb8b005ff3ee9"}}
- run:
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
@ -138,7 +138,7 @@ jobs:
- run:
command: ls -lahR .buildcache/packages
- save_cache:
key: cache001-package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2-{{checksum ".buildcache/cache-keys/package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2"}}
key: cache001-package-580141912b3b19366ca56eea8dcbb8b005ff3ee9-{{checksum ".buildcache/cache-keys/package-580141912b3b19366ca56eea8dcbb8b005ff3ee9"}}
paths:
- .buildcache/packages/store
linux_amd64_package:
@ -148,8 +148,8 @@ jobs:
environment:
- AUTO_INSTALL_TOOLS: 'YES'
- BUILDKIT_PROGRESS: plain
- PRODUCT_REVISION: ''
- PACKAGE_SPEC_ID: 7655ed418439b6899d17af07f4b46c44b0f7ab65
- PRODUCT_REVISION: be1555d9b0325d7d8078451c19df46d0aa514c40
- PACKAGE_SPEC_ID: 26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c
steps:
- setup_remote_docker:
version: 19.03.12
@ -161,7 +161,7 @@ jobs:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: cache001-package-7655ed418439b6899d17af07f4b46c44b0f7ab65-{{checksum ".buildcache/cache-keys/package-7655ed418439b6899d17af07f4b46c44b0f7ab65"}}
key: cache001-package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c-{{checksum ".buildcache/cache-keys/package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c"}}
- run:
command: |
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
@ -195,7 +195,7 @@ jobs:
- run:
command: ls -lahR .buildcache/packages
- save_cache:
key: cache001-package-7655ed418439b6899d17af07f4b46c44b0f7ab65-{{checksum ".buildcache/cache-keys/package-7655ed418439b6899d17af07f4b46c44b0f7ab65"}}
key: cache001-package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c-{{checksum ".buildcache/cache-keys/package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c"}}
paths:
- .buildcache/packages/store
bundle-releases:
@ -208,20 +208,20 @@ jobs:
command: make -C packages*.lock write-all-package-cache-keys
name: Write package cache key
- restore_cache:
key: cache001-package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2-{{checksum ".buildcache/cache-keys/package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2"}}
key: cache001-package-580141912b3b19366ca56eea8dcbb8b005ff3ee9-{{checksum ".buildcache/cache-keys/package-580141912b3b19366ca56eea8dcbb8b005ff3ee9"}}
- run:
command: |
make package-meta
environment:
PACKAGE_SPEC_ID: e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2
PACKAGE_SPEC_ID: 580141912b3b19366ca56eea8dcbb8b005ff3ee9
name: Write package metadata for darwin_amd64_package
- restore_cache:
key: cache001-package-7655ed418439b6899d17af07f4b46c44b0f7ab65-{{checksum ".buildcache/cache-keys/package-7655ed418439b6899d17af07f4b46c44b0f7ab65"}}
key: cache001-package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c-{{checksum ".buildcache/cache-keys/package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c"}}
- run:
command: |
make package-meta
environment:
PACKAGE_SPEC_ID: 7655ed418439b6899d17af07f4b46c44b0f7ab65
PACKAGE_SPEC_ID: 26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c
name: Write package metadata for linux_amd64_package
- run:
command: make aliases
@ -230,27 +230,27 @@ jobs:
command: ls -lahR .buildcache
name: List Build Cache
- run:
command: cp packages*.lock/pkgs.yml lockfile-standalone.yml
command: cp packages*.lock/pkgs.yml lockfile-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.yml
- store_artifacts:
destination: lockfile-standalone.yml
path: lockfile-standalone.yml
destination: lockfile-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.yml
path: lockfile-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.yml
- store_artifacts:
destination: packages-standalone
destination: packages-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814
path: .buildcache/packages
- run:
command: tar -czf packages-standalone.tar.gz .buildcache/packages lockfile-standalone.yml
command: tar -czf packages-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz .buildcache/packages lockfile-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.yml
- store_artifacts:
destination: packages-standalone.tar.gz
path: packages-standalone.tar.gz
destination: packages-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz
path: packages-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz
- run:
command: tar -czf meta-standalone.tar.gz .buildcache/packages/store/*.json lockfile-standalone.yml
command: tar -czf meta-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz .buildcache/packages/store/*.json lockfile-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.yml
- store_artifacts:
destination: meta-standalone.tar.gz
path: meta-standalone.tar.gz
destination: meta-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz
path: meta-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz
environment:
- AUTO_INSTALL_TOOLS: 'YES'
- BUILDKIT_PROGRESS: plain
- PRODUCT_REVISION: ''
- PRODUCT_REVISION: be1555d9b0325d7d8078451c19df46d0aa514c40
build:
machine:
image: ubuntu-1604:201903-01
@ -392,7 +392,7 @@ jobs:
when: always
working_directory: ~/boundary
workflows:
build-standalone:
build-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814:
jobs:
- build-common-layers
- darwin_amd64_package:

@ -10,14 +10,14 @@ executors:
docker:
- image: circleci/buildpack-deps
environment:
PRODUCT_REVISION: ""
PRODUCT_REVISION: "be1555d9b0325d7d8078451c19df46d0aa514c40"
AUTO_INSTALL_TOOLS: 'YES'
BUILDKIT_PROGRESS: plain
shell: /usr/bin/env bash -euo pipefail -c
workflows:
version: 2
build-standalone:
build-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814:
jobs:
- build-common-layers
- darwin_amd64_package: { requires: [ build-common-layers ] }
@ -101,7 +101,7 @@ jobs:
darwin_amd64_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2
- PACKAGE_SPEC_ID: 580141912b3b19366ca56eea8dcbb8b005ff3ee9
steps:
- setup_remote_docker:
@ -116,7 +116,7 @@ jobs:
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
key: 'cache001-package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2-{{checksum ".buildcache/cache-keys/package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2"}}'
key: 'cache001-package-580141912b3b19366ca56eea8dcbb8b005ff3ee9-{{checksum ".buildcache/cache-keys/package-580141912b3b19366ca56eea8dcbb8b005ff3ee9"}}'
- run:
name: Check the cache status.
command: |
@ -152,7 +152,7 @@ jobs:
- run: ls -lahR .buildcache/packages
# Save package cache.
- save_cache:
key: 'cache001-package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2-{{checksum ".buildcache/cache-keys/package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2"}}'
key: 'cache001-package-580141912b3b19366ca56eea8dcbb8b005ff3ee9-{{checksum ".buildcache/cache-keys/package-580141912b3b19366ca56eea8dcbb8b005ff3ee9"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
@ -161,7 +161,7 @@ jobs:
linux_amd64_package:
executor: builder
environment:
- PACKAGE_SPEC_ID: 7655ed418439b6899d17af07f4b46c44b0f7ab65
- PACKAGE_SPEC_ID: 26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c
steps:
- setup_remote_docker:
@ -176,7 +176,7 @@ jobs:
# Restore the package cache first, we might not need to rebuild.
- write-package-cache-key
- restore_cache:
key: 'cache001-package-7655ed418439b6899d17af07f4b46c44b0f7ab65-{{checksum ".buildcache/cache-keys/package-7655ed418439b6899d17af07f4b46c44b0f7ab65"}}'
key: 'cache001-package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c-{{checksum ".buildcache/cache-keys/package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c"}}'
- run:
name: Check the cache status.
command: |
@ -212,7 +212,7 @@ jobs:
- run: ls -lahR .buildcache/packages
# Save package cache.
- save_cache:
key: 'cache001-package-7655ed418439b6899d17af07f4b46c44b0f7ab65-{{checksum ".buildcache/cache-keys/package-7655ed418439b6899d17af07f4b46c44b0f7ab65"}}'
key: 'cache001-package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c-{{checksum ".buildcache/cache-keys/package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c"}}'
paths:
- .buildcache/packages/store
# Save builder image cache if necessary.
@ -227,14 +227,14 @@ jobs:
- load-darwin_amd64_package
- run:
environment:
PACKAGE_SPEC_ID: e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2
PACKAGE_SPEC_ID: 580141912b3b19366ca56eea8dcbb8b005ff3ee9
name: Write package metadata for darwin_amd64_package
command: |
make package-meta
- load-linux_amd64_package
- run:
environment:
PACKAGE_SPEC_ID: 7655ed418439b6899d17af07f4b46c44b0f7ab65
PACKAGE_SPEC_ID: 26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c
name: Write package metadata for linux_amd64_package
command: |
make package-meta
@ -247,41 +247,41 @@ jobs:
command: ls -lahR .buildcache
# Give the lockfile a name store_artifacts can work with.
- run: cp packages*.lock/pkgs.yml lockfile-standalone.yml
- run: cp packages*.lock/pkgs.yml lockfile-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.yml
# Surface the lock file as an artifact.
- store_artifacts:
path: lockfile-standalone.yml
destination: lockfile-standalone.yml
path: lockfile-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.yml
destination: lockfile-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.yml
# Surface the package store directory as an artifact.
# This makes each zipped package separately downloadable.
- store_artifacts:
path: .buildcache/packages
destination: packages-standalone
destination: packages-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814
# Surface a tarball of the whole package store plus lockfile as an artifact.
- run: tar -czf packages-standalone.tar.gz .buildcache/packages lockfile-standalone.yml
- run: tar -czf packages-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz .buildcache/packages lockfile-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.yml
- store_artifacts:
path: packages-standalone.tar.gz
destination: packages-standalone.tar.gz
path: packages-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz
destination: packages-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz
# Surface a tarball of just the metadata files.
- run: tar -czf meta-standalone.tar.gz .buildcache/packages/store/*.json lockfile-standalone.yml
- run: tar -czf meta-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz .buildcache/packages/store/*.json lockfile-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.yml
- store_artifacts:
path: meta-standalone.tar.gz
destination: meta-standalone.tar.gz
path: meta-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz
destination: meta-be1555d9b0325d7d8078451c19df46d0aa514c40-77765297f95ba814.tar.gz
commands:
load-darwin_amd64_package:
steps:
- restore_cache:
key: 'cache001-package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2-{{checksum ".buildcache/cache-keys/package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2"}}'
key: 'cache001-package-580141912b3b19366ca56eea8dcbb8b005ff3ee9-{{checksum ".buildcache/cache-keys/package-580141912b3b19366ca56eea8dcbb8b005ff3ee9"}}'
load-linux_amd64_package:
steps:
- restore_cache:
key: 'cache001-package-7655ed418439b6899d17af07f4b46c44b0f7ab65-{{checksum ".buildcache/cache-keys/package-7655ed418439b6899d17af07f4b46c44b0f7ab65"}}'
key: 'cache001-package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c-{{checksum ".buildcache/cache-keys/package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c"}}'
write-build-layer-cache-keys:

@ -1,11 +1,11 @@
# ***
# WARNING: Do not EDIT or MERGE this file, it is generated by packagespec.
# ***
lockid: 50c4be9d77f1cca4
lockid: 77765297f95ba814
packagespec-version: 0.1.3
cache-version: 8
packages:
- packagespecid: e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2
- packagespecid: 580141912b3b19366ca56eea8dcbb8b005ff3ee9
inputs:
BINARY_NAME: boundary
BUILD_TAGS: ui
@ -13,12 +13,12 @@ packages:
GOARCH: amd64
GOOS: darwin
PRODUCT_NAME: boundary
PRODUCT_VERSION: 0.0.1
PRODUCT_VERSION: 0.0.1-sam-test1
PRODUCT_VERSION_MMP: 0.0.1
PRODUCT_VERSION_PRE: '"''''"'
PRODUCT_VERSION_PRE: sam-test1
meta:
BUILD_JOB_NAME: darwin_amd64_package
BUNDLE_NAME: boundary_0.0.1
BUNDLE_NAME: boundary_0.0.1-sam-test1
POST_PROCESSORS: apple-notarize av-scan
builtin:
BUILD_LAYERS:
@ -31,24 +31,24 @@ packages:
- type: install-deps
name: 00-install-deps-96bbfeaab51d40cfb3c45afc0035516c11d6d737
archive: .buildcache/archives/00-install-deps-96bbfeaab51d40cfb3c45afc0035516c11d6d737.tar.gz
PACKAGE_CACHE_KEY_FILE: .buildcache/cache-keys/package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2
PACKAGE_CACHE_KEY_FILE: .buildcache/cache-keys/package-580141912b3b19366ca56eea8dcbb8b005ff3ee9
circleci:
BUILDER_CACHE_KEY_PREFIX_LIST:
- copy-source_cb2d_{{checksum ".buildcache/cache-keys/copy-source-cb2d5919f5b68088a1068bd1bc610eb63dc06def"}}
- download-modules_eb80_{{checksum ".buildcache/cache-keys/download-modules-eb80c020d26fa5a44b8e8bf9cc6a41d328e82f4c"}}
- install-deps_96bb_{{checksum ".buildcache/cache-keys/install-deps-96bbfeaab51d40cfb3c45afc0035516c11d6d737"}}
PACKAGE_CACHE_KEY: package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2-{{checksum
".buildcache/cache-keys/package-e1993a64411c7d5bfae5a3c3eeb15aeda6822ea2"}}
PACKAGE_CACHE_KEY: package-580141912b3b19366ca56eea8dcbb8b005ff3ee9-{{checksum
".buildcache/cache-keys/package-580141912b3b19366ca56eea8dcbb8b005ff3ee9"}}
build-command: VERSION_PKG_PATH=github.com/hashicorp/boundary/version; unset GOPATH;
go build -v -ldflags "-X $VERSION_PKG_PATH.GitCommit=$PACKAGE_SOURCE_ID -X $VERSION_PKG_PATH.Version=0.0.1
-X $VERSION_PKG_PATH.VersionPrerelease="''"" -o $OUTPUT_DIR/boundary ./cmd/boundary
-X $VERSION_PKG_PATH.VersionPrerelease=sam-test1" -o $OUTPUT_DIR/boundary ./cmd/boundary
&& cd $OUTPUT_DIR && zip $PACKAGE_ZIP_NAME boundary
aliases:
- type: local
path: boundary_0.0.1_darwin_amd64.zip
path: boundary_0.0.1-sam-test1_darwin_amd64.zip
- type: public-hc-releases
path: boundary/boundary_0.0.1/boundary_0.0.1_darwin_amd64.zip
- packagespecid: 7655ed418439b6899d17af07f4b46c44b0f7ab65
path: boundary/boundary_0.0.1-sam-test1/boundary_0.0.1-sam-test1_darwin_amd64.zip
- packagespecid: 26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c
inputs:
BINARY_NAME: boundary
BUILD_TAGS: ui
@ -56,12 +56,12 @@ packages:
GOARCH: amd64
GOOS: linux
PRODUCT_NAME: boundary
PRODUCT_VERSION: 0.0.1
PRODUCT_VERSION: 0.0.1-sam-test1
PRODUCT_VERSION_MMP: 0.0.1
PRODUCT_VERSION_PRE: '"''''"'
PRODUCT_VERSION_PRE: sam-test1
meta:
BUILD_JOB_NAME: linux_amd64_package
BUNDLE_NAME: boundary_0.0.1
BUNDLE_NAME: boundary_0.0.1-sam-test1
POST_PROCESSORS: av-scan
builtin:
BUILD_LAYERS:
@ -74,23 +74,23 @@ packages:
- type: install-deps
name: 00-install-deps-96bbfeaab51d40cfb3c45afc0035516c11d6d737
archive: .buildcache/archives/00-install-deps-96bbfeaab51d40cfb3c45afc0035516c11d6d737.tar.gz
PACKAGE_CACHE_KEY_FILE: .buildcache/cache-keys/package-7655ed418439b6899d17af07f4b46c44b0f7ab65
PACKAGE_CACHE_KEY_FILE: .buildcache/cache-keys/package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c
circleci:
BUILDER_CACHE_KEY_PREFIX_LIST:
- copy-source_cb2d_{{checksum ".buildcache/cache-keys/copy-source-cb2d5919f5b68088a1068bd1bc610eb63dc06def"}}
- download-modules_eb80_{{checksum ".buildcache/cache-keys/download-modules-eb80c020d26fa5a44b8e8bf9cc6a41d328e82f4c"}}
- install-deps_96bb_{{checksum ".buildcache/cache-keys/install-deps-96bbfeaab51d40cfb3c45afc0035516c11d6d737"}}
PACKAGE_CACHE_KEY: package-7655ed418439b6899d17af07f4b46c44b0f7ab65-{{checksum
".buildcache/cache-keys/package-7655ed418439b6899d17af07f4b46c44b0f7ab65"}}
PACKAGE_CACHE_KEY: package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c-{{checksum
".buildcache/cache-keys/package-26ceb6e4a7ebbeff7ef48cfe3d5277a7ed48330c"}}
build-command: VERSION_PKG_PATH=github.com/hashicorp/boundary/version; unset GOPATH;
go build -v -ldflags "-X $VERSION_PKG_PATH.GitCommit=$PACKAGE_SOURCE_ID -X $VERSION_PKG_PATH.Version=0.0.1
-X $VERSION_PKG_PATH.VersionPrerelease="''"" -o $OUTPUT_DIR/boundary ./cmd/boundary
-X $VERSION_PKG_PATH.VersionPrerelease=sam-test1" -o $OUTPUT_DIR/boundary ./cmd/boundary
&& cd $OUTPUT_DIR && zip $PACKAGE_ZIP_NAME boundary
aliases:
- type: local
path: boundary_0.0.1_linux_amd64.zip
path: boundary_0.0.1-sam-test1_linux_amd64.zip
- type: public-hc-releases
path: boundary/boundary_0.0.1/boundary_0.0.1_linux_amd64.zip
path: boundary/boundary_0.0.1-sam-test1/boundary_0.0.1-sam-test1_linux_amd64.zip
base-image: golang@sha256:21408f9e65fbd1fac28d8a6788485a74f9029fece0086a25d1eaf1d8cc79b7ad
layers:
- depth: 0

Loading…
Cancel
Save