Skip to content

Commit

Permalink
[#1175] Show DrevOps variables in Lagoon only when $DREVOPS_DEBUG is …
Browse files Browse the repository at this point in the history
…set.
  • Loading branch information
AlexSkrypnyk committed Feb 14, 2024
1 parent 36bbca9 commit 629eb07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ tasks:
post-rollout:
- run:
name: Show DrevOps variables.
command: env -0 | sort -z | tr '\0' '\n' | grep ^DREVOPS_ || true
command: |
[ "${DREVOPS_DEBUG-}" = "1" ] && env -0 | sort -z | tr '\0' '\n' | grep ^DREVOPS_ || true
service: cli
shell: bash

Expand Down

0 comments on commit 629eb07

Please sign in to comment.