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: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-builder-cache-keys name: Write builder layer cache keys - restore_cache: key: copy-source_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} name: 'Restore Layer Cache: copy-source' - run: command: LAYER_SPEC_ID=03-copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde 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-cc87158f920a83b1c241d68474eed6734b32c511-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-ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb-image name: 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 02-go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d-image name: Build go-modules 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-copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde-image name: Build copy-source 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-copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde-save name: Build copy-source layer - save_cache: paths: - .buildcache/archives/03-copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde.tar.gz key: copy-source_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} name: 'Save Layer Cache: copy-source' 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-b6a8b69113fc4b0173b213638375e5e1fcc41886-{{checksum ".buildcache/cache-keys/package-b6a8b69113fc4b0173b213638375e5e1fcc41886"}} name: Restore package cache - restore_cache: key: package-59e17a26af4f3baf29cf80f5646ecbea50bc7e99-{{checksum ".buildcache/cache-keys/package-59e17a26af4f3baf29cf80f5646ecbea50bc7e99"}} name: Restore package cache - restore_cache: key: package-89dd8fb851ad2ba334afba8a1ee2fdb55ac6722a-{{checksum ".buildcache/cache-keys/package-89dd8fb851ad2ba334afba8a1ee2fdb55ac6722a"}} name: Restore package cache - restore_cache: key: package-b18ea8c008d743cb93452c0a82b62949fffa1528-{{checksum ".buildcache/cache-keys/package-b18ea8c008d743cb93452c0a82b62949fffa1528"}} name: Restore package cache - restore_cache: key: package-139d870915a59f252ad0ce078be6665856f70e00-{{checksum ".buildcache/cache-keys/package-139d870915a59f252ad0ce078be6665856f70e00"}} name: Restore package cache - restore_cache: key: package-8da8607e1b6b5547fb0281a87fad75462c0d321b-{{checksum ".buildcache/cache-keys/package-8da8607e1b6b5547fb0281a87fad75462c0d321b"}} name: Restore package cache - restore_cache: key: package-444f52098e7683fa5e20235dbf8a7825ee916fb4-{{checksum ".buildcache/cache-keys/package-444f52098e7683fa5e20235dbf8a7825ee916fb4"}} name: Restore package cache - restore_cache: key: package-2c13709c655a3334435184cfca6ada51dd957198-{{checksum ".buildcache/cache-keys/package-2c13709c655a3334435184cfca6ada51dd957198"}} name: Restore package cache - restore_cache: key: package-bc40adb4ecc8e544ab7f8bc70a75d9158d8611e5-{{checksum ".buildcache/cache-keys/package-bc40adb4ecc8e544ab7f8bc70a75d9158d8611e5"}} name: Restore package cache - restore_cache: key: package-acee0f846d27d77a6063431c46d688a6a7ee1c67-{{checksum ".buildcache/cache-keys/package-acee0f846d27d77a6063431c46d688a6a7ee1c67"}} name: Restore package cache - restore_cache: key: package-099cf60b92ee01dda4e711231a145d37e8904e62-{{checksum ".buildcache/cache-keys/package-099cf60b92ee01dda4e711231a145d37e8904e62"}} name: Restore package cache - restore_cache: key: package-c6d2d62b6b683b702706a9926e49859a32205bd7-{{checksum ".buildcache/cache-keys/package-c6d2d62b6b683b702706a9926e49859a32205bd7"}} name: Restore package cache - restore_cache: key: package-09f72e728f9f3540e94184b1b666022c4eac6c6f-{{checksum ".buildcache/cache-keys/package-09f72e728f9f3540e94184b1b666022c4eac6c6f"}} name: Restore package cache - restore_cache: key: package-5fb6f4ebb9e7410ff5e8c21e9c04445c1388927f-{{checksum ".buildcache/cache-keys/package-5fb6f4ebb9e7410ff5e8c21e9c04445c1388927f"}} name: Restore package cache - restore_cache: key: package-b105f6c1697087d6d432931c501e31b5346f1075-{{checksum ".buildcache/cache-keys/package-b105f6c1697087d6d432931c501e31b5346f1075"}} name: Restore package cache - restore_cache: key: package-1f6a9de89a21bc48fdea2d72d8c9793a567e2442-{{checksum ".buildcache/cache-keys/package-1f6a9de89a21bc48fdea2d72d8c9793a567e2442"}} 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-731069c716be0afa.yml name: Update Lockfile Name - run: command: tar -czf packages-731069c716be0afa.tar.gz .buildcache/packages lockfile-731069c716be0afa.yml name: Create Raw Package Tarball - run: command: tar -czf meta-731069c716be0afa.tar.gz .buildcache/packages/store/*.json lockfile-731069c716be0afa.yml name: Create Metadata Tarball - store_artifacts: path: lockfile-731069c716be0afa.yml - store_artifacts: path: packages-731069c716be0afa.tar.gz - store_artifacts: path: meta-731069c716be0afa.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: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-b6a8b69113fc4b0173b213638375e5e1fcc41886-{{checksum ".buildcache/cache-keys/package-b6a8b69113fc4b0173b213638375e5e1fcc41886"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-b6a8b69113fc4b0173b213638375e5e1fcc41886-{{checksum ".buildcache/cache-keys/package-b6a8b69113fc4b0173b213638375e5e1fcc41886"}} name: Save package cache environment: PACKAGE_SPEC_ID: b6a8b69113fc4b0173b213638375e5e1fcc41886 darwin_arm64_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-59e17a26af4f3baf29cf80f5646ecbea50bc7e99-{{checksum ".buildcache/cache-keys/package-59e17a26af4f3baf29cf80f5646ecbea50bc7e99"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-59e17a26af4f3baf29cf80f5646ecbea50bc7e99-{{checksum ".buildcache/cache-keys/package-59e17a26af4f3baf29cf80f5646ecbea50bc7e99"}} name: Save package cache environment: PACKAGE_SPEC_ID: 59e17a26af4f3baf29cf80f5646ecbea50bc7e99 freebsd_386_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-89dd8fb851ad2ba334afba8a1ee2fdb55ac6722a-{{checksum ".buildcache/cache-keys/package-89dd8fb851ad2ba334afba8a1ee2fdb55ac6722a"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-89dd8fb851ad2ba334afba8a1ee2fdb55ac6722a-{{checksum ".buildcache/cache-keys/package-89dd8fb851ad2ba334afba8a1ee2fdb55ac6722a"}} name: Save package cache environment: PACKAGE_SPEC_ID: 89dd8fb851ad2ba334afba8a1ee2fdb55ac6722a freebsd_amd64_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-b18ea8c008d743cb93452c0a82b62949fffa1528-{{checksum ".buildcache/cache-keys/package-b18ea8c008d743cb93452c0a82b62949fffa1528"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-b18ea8c008d743cb93452c0a82b62949fffa1528-{{checksum ".buildcache/cache-keys/package-b18ea8c008d743cb93452c0a82b62949fffa1528"}} name: Save package cache environment: PACKAGE_SPEC_ID: b18ea8c008d743cb93452c0a82b62949fffa1528 freebsd_arm_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-139d870915a59f252ad0ce078be6665856f70e00-{{checksum ".buildcache/cache-keys/package-139d870915a59f252ad0ce078be6665856f70e00"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-139d870915a59f252ad0ce078be6665856f70e00-{{checksum ".buildcache/cache-keys/package-139d870915a59f252ad0ce078be6665856f70e00"}} name: Save package cache environment: PACKAGE_SPEC_ID: 139d870915a59f252ad0ce078be6665856f70e00 linux_386_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-8da8607e1b6b5547fb0281a87fad75462c0d321b-{{checksum ".buildcache/cache-keys/package-8da8607e1b6b5547fb0281a87fad75462c0d321b"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-8da8607e1b6b5547fb0281a87fad75462c0d321b-{{checksum ".buildcache/cache-keys/package-8da8607e1b6b5547fb0281a87fad75462c0d321b"}} name: Save package cache environment: PACKAGE_SPEC_ID: 8da8607e1b6b5547fb0281a87fad75462c0d321b linux_amd64_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-444f52098e7683fa5e20235dbf8a7825ee916fb4-{{checksum ".buildcache/cache-keys/package-444f52098e7683fa5e20235dbf8a7825ee916fb4"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-444f52098e7683fa5e20235dbf8a7825ee916fb4-{{checksum ".buildcache/cache-keys/package-444f52098e7683fa5e20235dbf8a7825ee916fb4"}} name: Save package cache environment: PACKAGE_SPEC_ID: 444f52098e7683fa5e20235dbf8a7825ee916fb4 linux_arm_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-2c13709c655a3334435184cfca6ada51dd957198-{{checksum ".buildcache/cache-keys/package-2c13709c655a3334435184cfca6ada51dd957198"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-2c13709c655a3334435184cfca6ada51dd957198-{{checksum ".buildcache/cache-keys/package-2c13709c655a3334435184cfca6ada51dd957198"}} name: Save package cache environment: PACKAGE_SPEC_ID: 2c13709c655a3334435184cfca6ada51dd957198 linux_arm64_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-bc40adb4ecc8e544ab7f8bc70a75d9158d8611e5-{{checksum ".buildcache/cache-keys/package-bc40adb4ecc8e544ab7f8bc70a75d9158d8611e5"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-bc40adb4ecc8e544ab7f8bc70a75d9158d8611e5-{{checksum ".buildcache/cache-keys/package-bc40adb4ecc8e544ab7f8bc70a75d9158d8611e5"}} name: Save package cache environment: PACKAGE_SPEC_ID: bc40adb4ecc8e544ab7f8bc70a75d9158d8611e5 netbsd_386_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-acee0f846d27d77a6063431c46d688a6a7ee1c67-{{checksum ".buildcache/cache-keys/package-acee0f846d27d77a6063431c46d688a6a7ee1c67"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-acee0f846d27d77a6063431c46d688a6a7ee1c67-{{checksum ".buildcache/cache-keys/package-acee0f846d27d77a6063431c46d688a6a7ee1c67"}} name: Save package cache environment: PACKAGE_SPEC_ID: acee0f846d27d77a6063431c46d688a6a7ee1c67 netbsd_amd64_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-099cf60b92ee01dda4e711231a145d37e8904e62-{{checksum ".buildcache/cache-keys/package-099cf60b92ee01dda4e711231a145d37e8904e62"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-099cf60b92ee01dda4e711231a145d37e8904e62-{{checksum ".buildcache/cache-keys/package-099cf60b92ee01dda4e711231a145d37e8904e62"}} name: Save package cache environment: PACKAGE_SPEC_ID: 099cf60b92ee01dda4e711231a145d37e8904e62 openbsd_386_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-c6d2d62b6b683b702706a9926e49859a32205bd7-{{checksum ".buildcache/cache-keys/package-c6d2d62b6b683b702706a9926e49859a32205bd7"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-c6d2d62b6b683b702706a9926e49859a32205bd7-{{checksum ".buildcache/cache-keys/package-c6d2d62b6b683b702706a9926e49859a32205bd7"}} name: Save package cache environment: PACKAGE_SPEC_ID: c6d2d62b6b683b702706a9926e49859a32205bd7 openbsd_amd64_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-09f72e728f9f3540e94184b1b666022c4eac6c6f-{{checksum ".buildcache/cache-keys/package-09f72e728f9f3540e94184b1b666022c4eac6c6f"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-09f72e728f9f3540e94184b1b666022c4eac6c6f-{{checksum ".buildcache/cache-keys/package-09f72e728f9f3540e94184b1b666022c4eac6c6f"}} name: Save package cache environment: PACKAGE_SPEC_ID: 09f72e728f9f3540e94184b1b666022c4eac6c6f solaris_amd64_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-5fb6f4ebb9e7410ff5e8c21e9c04445c1388927f-{{checksum ".buildcache/cache-keys/package-5fb6f4ebb9e7410ff5e8c21e9c04445c1388927f"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-5fb6f4ebb9e7410ff5e8c21e9c04445c1388927f-{{checksum ".buildcache/cache-keys/package-5fb6f4ebb9e7410ff5e8c21e9c04445c1388927f"}} name: Save package cache environment: PACKAGE_SPEC_ID: 5fb6f4ebb9e7410ff5e8c21e9c04445c1388927f windows_386_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-b105f6c1697087d6d432931c501e31b5346f1075-{{checksum ".buildcache/cache-keys/package-b105f6c1697087d6d432931c501e31b5346f1075"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-b105f6c1697087d6d432931c501e31b5346f1075-{{checksum ".buildcache/cache-keys/package-b105f6c1697087d6d432931c501e31b5346f1075"}} name: Save package cache environment: PACKAGE_SPEC_ID: b105f6c1697087d6d432931c501e31b5346f1075 windows_amd64_package: executor: builder steps: - setup_remote_docker: version: 19.03.12 docker_layer_caching: false - add_ssh_keys: fingerprints: - 0e:03:77:f4:e2:c3:56:c2:53:6a:03:e1:31:91:2f:06 - checkout: path: . - run: command: make -C packages*.lock write-package-cache-key name: Write package cache key - restore_cache: key: package-1f6a9de89a21bc48fdea2d72d8c9793a567e2442-{{checksum ".buildcache/cache-keys/package-1f6a9de89a21bc48fdea2d72d8c9793a567e2442"}} 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_6be6_{{checksum ".buildcache/cache-keys/copy-source-6be6bbcf469c2d26620194eeee87f0c4ba470bde"}} keys: - go-modules_74c0_{{checksum ".buildcache/cache-keys/go-modules-74c0c94188690e22d738cb1784f8feba7c3dc00d"}} - ui_dfc9_{{checksum ".buildcache/cache-keys/ui-dfc937906b9b645655c44bc782ef13c64ebe8dbb"}} - base_cc87_{{checksum ".buildcache/cache-keys/base-cc87158f920a83b1c241d68474eed6734b32c511"}} 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-1f6a9de89a21bc48fdea2d72d8c9793a567e2442-{{checksum ".buildcache/cache-keys/package-1f6a9de89a21bc48fdea2d72d8c9793a567e2442"}} name: Save package cache environment: PACKAGE_SPEC_ID: 1f6a9de89a21bc48fdea2d72d8c9793a567e2442 workflows: build-731069c716be0afa: jobs: - build-common-layers: {} - darwin_amd64_package: requires: - build-common-layers - bundle-releases: requires: - darwin_amd64_package - darwin_arm64_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 - darwin_arm64_package: requires: - build-common-layers - 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