Skip to content

Instantly share code, notes, and snippets.

@cirocosta
Created January 7, 2019 22:02
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 cirocosta/01109945626d09d86e3aa2d41f574ef9 to your computer and use it in GitHub Desktop.
Save cirocosta/01109945626d09d86e3aa2d41f574ef9 to your computer and use it in GitHub Desktop.
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