Last active
March 28, 2022 19:09
-
-
Save grasmash/4770b31b148fcc7984acb5b485a5d2d3 to your computer and use it in GitHub Desktop.
Acquia Pipelines Log forward
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 1.3.0 | |
services: | |
- mysql | |
- php: | |
version: 7.4 | |
events: | |
build: | |
steps: | |
- log: | |
type: script | |
script: | |
# Forward log to loggly. | |
# @see https://documentation.solarwinds.com/en/success_center/loggly/content/admin/file-upload.htm | |
- curl -X POST -T /tmp/logstream https://logs-01.loggly.com/bulk/TOKEN/tag/file_upload | |
fail-on-build: | |
steps: | |
- log: | |
type: script | |
script: | |
# Forward log to loggly. | |
# @see https://documentation.solarwinds.com/en/success_center/loggly/content/admin/file-upload.htm | |
- curl -X POST -T /tmp/logstream https://logs-01.loggly.com/bulk/TOKEN/tag/file_upload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment