Skip to content

Instantly share code, notes, and snippets.

@michaellihs
Last active March 15, 2019 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaellihs/f3bdf918a46c2d82bc05ce2d5a9a8fea to your computer and use it in GitHub Desktop.
Save michaellihs/f3bdf918a46c2d82bc05ce2d5a9a8fea to your computer and use it in GitHub Desktop.
Concourse Cheat Sheet

Concourse Cheat Sheet

Collection of Resources for using Concourse CI (for building BOSH releases)

Snippets

Root privileges in build jobs - use privileged: true in task configuration:

- task: my-task
  privileged: true
  file: my-task.yml
  params:
    ENV_VAR: env_value

Troubleshooting

Problem with checking Git Resource

resource script '/opt/resource/check []' failed: exit status 1

stderr:
Private keys with passphrases are not supported.

This means that somethings wrong with the key, not necessarily a problem with the passphrase, but e.g. wrong line endings in the keyfile...

Debugging Pipelines

$ fly -t caas pipelines
name   paused  public
meta2  no      yes
$ fly -t caas workers
name                                  containers  platform  tags  team  state    version
2ad7dc2c-2531-49c4-8b92-5284484d757e  1           linux     none  none  running  2.1
[caas@ev1cvm800367 pipelines]$
  • sometimes workers go into staling
    • fly -t caas prune-worker...

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment