Created
January 7, 2019 22:02
-
-
Save cirocosta/01109945626d09d86e3aa2d41f574ef9 to your computer and use it in GitHub Desktop.
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
resources: | |
- name: periodically | |
type: time | |
source: | |
interval: 15s | |
- name: httpstat-image | |
type: registry-image | |
source: | |
repository: concourse/test-pivnet-resource-http-stat | |
jobs: | |
- name: run | |
public: true | |
plan: | |
- aggregate: | |
- get: httpstat-image | |
- get: periodically | |
trigger: true | |
- task: pivnet-http-stat | |
timeout: 30s | |
image: httpstat-image | |
config: | |
platform: linux | |
run: | |
path: /bin/sh | |
args: | |
- -ce | |
- | | |
for i in $(seq 1 5); do | |
httpstat https://network.pivotal.io | |
httpstat https://google.com | |
sleep 1; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment