I’ve been searching for ways to streamline our internal process and came across CircleCI for automatically deploying after running a git push - Any good starting points to run deployments to staging using CircleCI?
I’ve been digging and can’t find that gives a clear outline.
Thanks @TangRufus Have been running into the error below on multiple jobs - after investigating through ssh, I see the .vault_pass file has been created in the wrong directory
#!/bin/bash -eo pipefail echo ${VAULT_PASSWORD} > ~/projects/trellis/trellis/.vault_pass
/bin/bash: /home/circleci/projects/trellis/trellis/.vault_pass: No such file or directory Exited with code exit status 1
CircleCI received exit code 1
Any advice on how to modify where the .vault_pass is echoed out?
@TangRufus thanks! I’ve followed the official docs and used the monorepo orb - setup all parameters. Running into error on Spin up environment step:
Build-agent version 1.0.52983-4b2c2b6c (2021-02-08T10:49:47+0000)
System information:
Server Version: 19.03.13
Storage Driver: overlay2
Backing Filesystem: xfs
Cgroup Driver: cgroupfs
Kernel Version: 4.15.0-1092-aws
Operating System: Ubuntu 18.04.5 LTS
OSType: linux
Architecture: x86_64
Starting container itinerisltd/tiller-monorepo-circleci:base
Warning: No authentication provided, using CircleCI credentials for pulls from Docker Hub.
image cache not found on this host, downloading itinerisltd/tiller-monorepo-circleci:base
Error pulling image itinerisltd/tiller-monorepo-circleci:base: Error response from daemon: pull access denied for itinerisltd/tiller-monorepo-circleci, repository does not exist or may require 'docker login': denied: requested access to the resource is denied... retrying
image cache not found on this host, downloading itinerisltd/tiller-monorepo-circleci:base
Error pulling image itinerisltd/tiller-monorepo-circleci:base: Error response from daemon: pull access denied for itinerisltd/tiller-monorepo-circleci, repository does not exist or may require 'docker login': denied: requested access to the resource is denied... retrying
image cache not found on this host, downloading itinerisltd/tiller-monorepo-circleci:base
Error pulling image itinerisltd/tiller-monorepo-circleci:base: Error response from daemon: pull access denied for itinerisltd/tiller-monorepo-circleci, repository does not exist or may require 'docker login': denied: requested access to the resource is denied... retrying
image cache not found on this host, downloading itinerisltd/tiller-monorepo-circleci:base
Error pulling image itinerisltd/tiller-monorepo-circleci:base: Error response from daemon: pull access denied for itinerisltd/tiller-monorepo-circleci, repository does not exist or may require 'docker login': denied: requested access to the resource is denied... retrying
image cache not found on this host, downloading itinerisltd/tiller-monorepo-circleci:base
Error pulling image itinerisltd/tiller-monorepo-circleci:base: Error response from daemon: pull access denied for itinerisltd/tiller-monorepo-circleci, repository does not exist or may require 'docker login': denied: requested access to the resource is denied... retrying
image cache not found on this host, downloading itinerisltd/tiller-monorepo-circleci:base
Error response from daemon: pull access denied for itinerisltd/tiller-monorepo-circleci, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
I think you are one of the 2 persons using the monorepo version. Let me know if you find any bugs. Or, better yet, send PRs.
Side note: I have a long standing issue about trellis init cache invalidation. trellis init caches are disabled in both orbs. Send PRs if you found a way to invalidation them.