Skip to content

Commit

Permalink
Merge pull request #207 from maxknee/patch-1
Browse files Browse the repository at this point in the history
Moving example closer to text
  • Loading branch information
Kristian Dalmo Olsen authored May 29, 2020
2 parents a2ec386 + 8628f31 commit c41729d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ is available as `.git/resource/base_sha`. For a complete list of available (indi
When specifying `skip_download` the pull request volume mounted to subsequent tasks will be empty, which is a problem
when you set e.g. the pending status before running the actual tests. The workaround for this is to use an alias for
the `put` (see https://github.com/telia-oss/github-pr-resource/issues/32 for more details).

git-crypt encrypted repositories will automatically be decrypted when the `git_crypt_key` is set in the source configuration.
Example here:

```yaml
put: update-status <-- Use an alias for the pull-request resource
Expand All @@ -99,6 +98,8 @@ params:
get_params: {skip_download: true}
```
git-crypt encrypted repositories will automatically be decrypted when the `git_crypt_key` is set in the source configuration.

Note that, should you retrigger a build in the hopes of testing the last commit to a PR against a newer version of
the base, Concourse will reuse the volume (i.e. not trigger a new `get`) if it still exists, which can produce
unexpected results (#5). As such, re-testing a PR against a newer version of the base is best done by *pushing an
Expand Down

0 comments on commit c41729d

Please sign in to comment.