open-vault/.circleci/config/@build-release.yml
2021-03-30 09:15:48 -07:00

1421 lines
69 KiB
YAML

version: "2.1"
executors:
builder:
docker:
- image: docker.mirror.hashicorp.services/circleci/buildpack-deps
shell: /usr/bin/env bash -euo pipefail -c
environment:
AUTO_INSTALL_TOOLS: "YES"
BUILDKIT_PROGRESS: plain
PRODUCT_REVISION: ""
builder-machine:
resource_class: xlarge
machine:
image: ubuntu-1604:202007-01
shell: /usr/bin/env bash -euo pipefail -c
environment:
AUTO_INSTALL_TOOLS: "YES"
BUILDKIT_PROGRESS: plain
PRODUCT_REVISION: ""
jobs:
build-common-layers:
executor: builder-machine
steps:
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
keys:
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Layer Cache: build-ui'
- run:
command: LAYER_SPEC_ID=06-build-ui-90fdcda527d1cfee8060beabb684c580d036ee74 make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 00-base-c6cdf1b224722d2520e082320f2a71875913247c-image
name: Build base layer
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 01-install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24-image
name: Build install-go layer
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 02-install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64-image
name: Build install-go-tools layer
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 03-set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243-image
name: Build set-workdir layer
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 04-install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c-image
name: Build install-yarn layer
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 05-ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506-image
name: Build ui-dependencies layer
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 06-build-ui-90fdcda527d1cfee8060beabb684c580d036ee74-image
name: Build build-ui layer
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -f packages*.lock/layer.mk 06-build-ui-90fdcda527d1cfee8060beabb684c580d036ee74-save
name: Build build-ui layer
- save_cache:
paths:
- .buildcache/archives/06-build-ui-90fdcda527d1cfee8060beabb684c580d036ee74.tar.gz
key: build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
name: 'Save Layer Cache: build-ui'
bundle-releases:
executor: builder
steps:
- checkout:
path: .
- run:
command: make -C packages*.lock write-all-package-cache-keys
name: Write all package cache keys
- run:
command: mkdir -p .buildcache && echo "*" > .buildcache/.gitignore
name: Ignore .buildcache
- restore_cache:
key: package-42a294abca92c5233c75aa10af5e3d329a372f2c-{{checksum ".buildcache/cache-keys/package-42a294abca92c5233c75aa10af5e3d329a372f2c"}}
name: Restore package cache
- restore_cache:
key: package-9d32e986b3d19a36c3bbd011175d962a73adf89c-{{checksum ".buildcache/cache-keys/package-9d32e986b3d19a36c3bbd011175d962a73adf89c"}}
name: Restore package cache
- restore_cache:
key: package-b8b578a6e878cdd1681eeff619c17c4140a79c5a-{{checksum ".buildcache/cache-keys/package-b8b578a6e878cdd1681eeff619c17c4140a79c5a"}}
name: Restore package cache
- restore_cache:
key: package-9191d4757ef45a03ee2c3fc9dde6f26ee1dfc209-{{checksum ".buildcache/cache-keys/package-9191d4757ef45a03ee2c3fc9dde6f26ee1dfc209"}}
name: Restore package cache
- restore_cache:
key: package-28b830f7ba782528c5f5def62bcc546103188f90-{{checksum ".buildcache/cache-keys/package-28b830f7ba782528c5f5def62bcc546103188f90"}}
name: Restore package cache
- restore_cache:
key: package-27f2690a88c583873467203a738516d5c1670bcf-{{checksum ".buildcache/cache-keys/package-27f2690a88c583873467203a738516d5c1670bcf"}}
name: Restore package cache
- restore_cache:
key: package-2affeb897be273e0bca94aa566e6878d64d4a5e5-{{checksum ".buildcache/cache-keys/package-2affeb897be273e0bca94aa566e6878d64d4a5e5"}}
name: Restore package cache
- restore_cache:
key: package-112682a231255678d41a2c9e7fee4626781e44c6-{{checksum ".buildcache/cache-keys/package-112682a231255678d41a2c9e7fee4626781e44c6"}}
name: Restore package cache
- restore_cache:
key: package-781b45c0411eebf84ec2ebfdb713af88715d6228-{{checksum ".buildcache/cache-keys/package-781b45c0411eebf84ec2ebfdb713af88715d6228"}}
name: Restore package cache
- restore_cache:
key: package-feefafc852214e00501b4a0afa3c8ae806f68590-{{checksum ".buildcache/cache-keys/package-feefafc852214e00501b4a0afa3c8ae806f68590"}}
name: Restore package cache
- restore_cache:
key: package-c9c352a501e41e13035173c736189c103682d936-{{checksum ".buildcache/cache-keys/package-c9c352a501e41e13035173c736189c103682d936"}}
name: Restore package cache
- restore_cache:
key: package-49726d9a5c8e1aaa2c377c4fc2bc8d0fbc4346b4-{{checksum ".buildcache/cache-keys/package-49726d9a5c8e1aaa2c377c4fc2bc8d0fbc4346b4"}}
name: Restore package cache
- restore_cache:
key: package-d9214c65369b39fa14935c74531826ff553e0831-{{checksum ".buildcache/cache-keys/package-d9214c65369b39fa14935c74531826ff553e0831"}}
name: Restore package cache
- restore_cache:
key: package-43217a34ff4ed0ae0783d604bec7427e01bf9126-{{checksum ".buildcache/cache-keys/package-43217a34ff4ed0ae0783d604bec7427e01bf9126"}}
name: Restore package cache
- restore_cache:
key: package-40308f6066ec0ebe7a3d5dff5be96a72b5a02ec8-{{checksum ".buildcache/cache-keys/package-40308f6066ec0ebe7a3d5dff5be96a72b5a02ec8"}}
name: Restore package cache
- run:
command: make package-meta-all
name: Write Package Metadata
- run:
command: make aliases
name: Write package aliases
- run:
command: ls -lahR .buildcache
name: List Build Cache
- run:
command: cp packages*.lock/pkgs.yml lockfile-70a8e7d68c08e7ba.yml
name: Update Lockfile Name
- run:
command: tar -czf packages-70a8e7d68c08e7ba.tar.gz .buildcache/packages lockfile-70a8e7d68c08e7ba.yml
name: Create Raw Package Tarball
- run:
command: tar -czf meta-70a8e7d68c08e7ba.tar.gz .buildcache/packages/store/*.json lockfile-70a8e7d68c08e7ba.yml
name: Create Metadata Tarball
- store_artifacts:
path: lockfile-70a8e7d68c08e7ba.yml
- store_artifacts:
path: packages-70a8e7d68c08e7ba.tar.gz
- store_artifacts:
path: meta-70a8e7d68c08e7ba.tar.gz
- store_artifacts:
path: .buildcache/packages
darwin_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-42a294abca92c5233c75aa10af5e3d329a372f2c-{{checksum ".buildcache/cache-keys/package-42a294abca92c5233c75aa10af5e3d329a372f2c"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-42a294abca92c5233c75aa10af5e3d329a372f2c-{{checksum ".buildcache/cache-keys/package-42a294abca92c5233c75aa10af5e3d329a372f2c"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 42a294abca92c5233c75aa10af5e3d329a372f2c
freebsd_386_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-9d32e986b3d19a36c3bbd011175d962a73adf89c-{{checksum ".buildcache/cache-keys/package-9d32e986b3d19a36c3bbd011175d962a73adf89c"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-9d32e986b3d19a36c3bbd011175d962a73adf89c-{{checksum ".buildcache/cache-keys/package-9d32e986b3d19a36c3bbd011175d962a73adf89c"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 9d32e986b3d19a36c3bbd011175d962a73adf89c
freebsd_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-b8b578a6e878cdd1681eeff619c17c4140a79c5a-{{checksum ".buildcache/cache-keys/package-b8b578a6e878cdd1681eeff619c17c4140a79c5a"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-b8b578a6e878cdd1681eeff619c17c4140a79c5a-{{checksum ".buildcache/cache-keys/package-b8b578a6e878cdd1681eeff619c17c4140a79c5a"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: b8b578a6e878cdd1681eeff619c17c4140a79c5a
freebsd_arm_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-9191d4757ef45a03ee2c3fc9dde6f26ee1dfc209-{{checksum ".buildcache/cache-keys/package-9191d4757ef45a03ee2c3fc9dde6f26ee1dfc209"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-9191d4757ef45a03ee2c3fc9dde6f26ee1dfc209-{{checksum ".buildcache/cache-keys/package-9191d4757ef45a03ee2c3fc9dde6f26ee1dfc209"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 9191d4757ef45a03ee2c3fc9dde6f26ee1dfc209
linux_386_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-28b830f7ba782528c5f5def62bcc546103188f90-{{checksum ".buildcache/cache-keys/package-28b830f7ba782528c5f5def62bcc546103188f90"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-28b830f7ba782528c5f5def62bcc546103188f90-{{checksum ".buildcache/cache-keys/package-28b830f7ba782528c5f5def62bcc546103188f90"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 28b830f7ba782528c5f5def62bcc546103188f90
linux_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-27f2690a88c583873467203a738516d5c1670bcf-{{checksum ".buildcache/cache-keys/package-27f2690a88c583873467203a738516d5c1670bcf"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-27f2690a88c583873467203a738516d5c1670bcf-{{checksum ".buildcache/cache-keys/package-27f2690a88c583873467203a738516d5c1670bcf"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 27f2690a88c583873467203a738516d5c1670bcf
linux_arm_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-2affeb897be273e0bca94aa566e6878d64d4a5e5-{{checksum ".buildcache/cache-keys/package-2affeb897be273e0bca94aa566e6878d64d4a5e5"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-2affeb897be273e0bca94aa566e6878d64d4a5e5-{{checksum ".buildcache/cache-keys/package-2affeb897be273e0bca94aa566e6878d64d4a5e5"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 2affeb897be273e0bca94aa566e6878d64d4a5e5
linux_arm64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-112682a231255678d41a2c9e7fee4626781e44c6-{{checksum ".buildcache/cache-keys/package-112682a231255678d41a2c9e7fee4626781e44c6"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-112682a231255678d41a2c9e7fee4626781e44c6-{{checksum ".buildcache/cache-keys/package-112682a231255678d41a2c9e7fee4626781e44c6"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 112682a231255678d41a2c9e7fee4626781e44c6
netbsd_386_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-781b45c0411eebf84ec2ebfdb713af88715d6228-{{checksum ".buildcache/cache-keys/package-781b45c0411eebf84ec2ebfdb713af88715d6228"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-781b45c0411eebf84ec2ebfdb713af88715d6228-{{checksum ".buildcache/cache-keys/package-781b45c0411eebf84ec2ebfdb713af88715d6228"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 781b45c0411eebf84ec2ebfdb713af88715d6228
netbsd_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-feefafc852214e00501b4a0afa3c8ae806f68590-{{checksum ".buildcache/cache-keys/package-feefafc852214e00501b4a0afa3c8ae806f68590"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-feefafc852214e00501b4a0afa3c8ae806f68590-{{checksum ".buildcache/cache-keys/package-feefafc852214e00501b4a0afa3c8ae806f68590"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: feefafc852214e00501b4a0afa3c8ae806f68590
openbsd_386_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-c9c352a501e41e13035173c736189c103682d936-{{checksum ".buildcache/cache-keys/package-c9c352a501e41e13035173c736189c103682d936"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-c9c352a501e41e13035173c736189c103682d936-{{checksum ".buildcache/cache-keys/package-c9c352a501e41e13035173c736189c103682d936"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: c9c352a501e41e13035173c736189c103682d936
openbsd_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-49726d9a5c8e1aaa2c377c4fc2bc8d0fbc4346b4-{{checksum ".buildcache/cache-keys/package-49726d9a5c8e1aaa2c377c4fc2bc8d0fbc4346b4"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-49726d9a5c8e1aaa2c377c4fc2bc8d0fbc4346b4-{{checksum ".buildcache/cache-keys/package-49726d9a5c8e1aaa2c377c4fc2bc8d0fbc4346b4"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 49726d9a5c8e1aaa2c377c4fc2bc8d0fbc4346b4
solaris_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-d9214c65369b39fa14935c74531826ff553e0831-{{checksum ".buildcache/cache-keys/package-d9214c65369b39fa14935c74531826ff553e0831"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-d9214c65369b39fa14935c74531826ff553e0831-{{checksum ".buildcache/cache-keys/package-d9214c65369b39fa14935c74531826ff553e0831"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: d9214c65369b39fa14935c74531826ff553e0831
windows_386_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-43217a34ff4ed0ae0783d604bec7427e01bf9126-{{checksum ".buildcache/cache-keys/package-43217a34ff4ed0ae0783d604bec7427e01bf9126"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-43217a34ff4ed0ae0783d604bec7427e01bf9126-{{checksum ".buildcache/cache-keys/package-43217a34ff4ed0ae0783d604bec7427e01bf9126"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 43217a34ff4ed0ae0783d604bec7427e01bf9126
windows_amd64_package:
executor: builder
steps:
- setup_remote_docker:
version: 19.03.12
docker_layer_caching: false
- add_ssh_keys:
fingerprints:
- c6:96:98:82:dc:04:6c:39:dd:ac:83:05:e3:15:1c:98
- checkout:
path: .
- run:
command: make -C packages*.lock write-package-cache-key
name: Write package cache key
- restore_cache:
key: package-40308f6066ec0ebe7a3d5dff5be96a72b5a02ec8-{{checksum ".buildcache/cache-keys/package-40308f6066ec0ebe7a3d5dff5be96a72b5a02ec8"}}
name: Restore package cache
- run:
command: |2
if ! { PKG=$(find .buildcache/packages/store -maxdepth 1 -mindepth 1 -name '*.zip' 2> /dev/null) && [ -n "$PKG" ]; }; then
echo "No package found, continuing with build."
exit 0
fi
echo "Package already cached, skipping build."
circleci-agent step halt
name: Check cache status
- run:
command: make -C packages*.lock write-builder-cache-keys
name: Write builder layer cache keys
- restore_cache:
key: copy-source_d1e4_{{checksum ".buildcache/cache-keys/copy-source-d1e44780e7157229e756dd57c45172317faf7ea1"}}
keys:
- warm-go-build-vendor-cache_b1a4_{{checksum ".buildcache/cache-keys/warm-go-build-vendor-cache-b1a4f556a5d77f3dd79a814ad2c75d7f8df6552c"}}
- build-static-assets_a099_{{checksum ".buildcache/cache-keys/build-static-assets-a0991d05a885188e95af8cbe5778accc12666279"}}
- build-ui_90fd_{{checksum ".buildcache/cache-keys/build-ui-90fdcda527d1cfee8060beabb684c580d036ee74"}}
- ui-dependencies_03a9_{{checksum ".buildcache/cache-keys/ui-dependencies-03a9560cf6f4a4b3fbfbb962620287b558dbf506"}}
- install-yarn_4a71_{{checksum ".buildcache/cache-keys/install-yarn-4a71e9de991f85332680d0309a9fd3eef4d33a2c"}}
- set-workdir_3f6f_{{checksum ".buildcache/cache-keys/set-workdir-3f6fd622b823df140b6d5bb7d1078de649239243"}}
- install-go-tools_8ddd_{{checksum ".buildcache/cache-keys/install-go-tools-8dddb408568872d9ec907a8ba53068b13908ad64"}}
- install-go_aada_{{checksum ".buildcache/cache-keys/install-go-aadaf7c6eb9ff4cceff9ba27d6e0253fb5bbec24"}}
- base_c6cd_{{checksum ".buildcache/cache-keys/base-c6cdf1b224722d2520e082320f2a71875913247c"}}
name: 'Restore Builder Image Cache: copy-source'
- run:
command: make -C packages*.lock load-builder-cache
name: Load whatever builder cache we have (if any) into the Docker daemon
no_output_timeout: 30m
- run:
command: |2-
KEYFILE="$HOME/.ssh/id_rsa_c6969882dc046c39ddac8305e3151c98"
eval "$(ssh-agent -s)"
if [ -f "$KEYFILE" ]; then
ssh-add "$KEYFILE"
else
echo "==> INFO: SSH key for github.com not found"
echo " Attempts to access private repositories from within"
echo " the build will fail, e.g. for private go modules, or"
echo " attempts to directly clone private repositories."
fi
make -C packages*.lock package
name: Compile Package
- run:
command: ls -lahR .buildcache/packages
name: List packages
- save_cache:
paths:
- .buildcache/packages/store
key: package-40308f6066ec0ebe7a3d5dff5be96a72b5a02ec8-{{checksum ".buildcache/cache-keys/package-40308f6066ec0ebe7a3d5dff5be96a72b5a02ec8"}}
name: Save package cache
environment:
PACKAGE_SPEC_ID: 40308f6066ec0ebe7a3d5dff5be96a72b5a02ec8
workflows:
build-70a8e7d68c08e7ba:
jobs:
- build-common-layers: {}
- darwin_amd64_package:
requires:
- build-common-layers
- bundle-releases:
requires:
- darwin_amd64_package
- freebsd_386_package
- freebsd_amd64_package
- freebsd_arm_package
- linux_386_package
- linux_amd64_package
- linux_arm_package
- linux_arm64_package
- netbsd_386_package
- netbsd_amd64_package
- openbsd_386_package
- openbsd_amd64_package
- solaris_amd64_package
- windows_386_package
- windows_amd64_package
- freebsd_386_package:
requires:
- build-common-layers
- freebsd_amd64_package:
requires:
- build-common-layers
- freebsd_arm_package:
requires:
- build-common-layers
- linux_386_package:
requires:
- build-common-layers
- linux_amd64_package:
requires:
- build-common-layers
- linux_arm_package:
requires:
- build-common-layers
- linux_arm64_package:
requires:
- build-common-layers
- netbsd_386_package:
requires:
- build-common-layers
- netbsd_amd64_package:
requires:
- build-common-layers
- openbsd_386_package:
requires:
- build-common-layers
- openbsd_amd64_package:
requires:
- build-common-layers
- solaris_amd64_package:
requires:
- build-common-layers
- windows_386_package:
requires:
- build-common-layers
- windows_amd64_package:
requires:
- build-common-layers