Skip to content

Instantly share code, notes, and snippets.

@fabito
Created August 30, 2020 21:37
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 fabito/7f2c2ae73da24da0cacb093f2617d613 to your computer and use it in GitHub Desktop.
Save fabito/7f2c2ae73da24da0cacb093f2617d613 to your computer and use it in GitHub Desktop.
- id: 'upload-pipeline-version'
name: 'curlimages/curl:7.72.0'
args: [
'-v',
'--retry-connrefused',
'--connect-timeout', '5',
'--max-time', '10',
'--retry', '5',
'--retry-delay', '0',
'--retry-max-time', '40',
'-F', 'uploadfile=@/workspace/my-pipeline.tar.gz'
'http://ml-pipeline.local:8888/apis/v1beta1/pipelines/upload_version?pipelineid=${_PIPELINE_ID}&name=1.0.0+sha.${SHORT-SHA}'
]
waitFor: ['port-forward']
timeout: 30s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment