Skip to content

Instantly share code, notes, and snippets.

@rahulkj
Last active August 20, 2020 17:37
Show Gist options
  • Save rahulkj/59029f0fa442a6866607a1aad6f4480e to your computer and use it in GitHub Desktop.
Save rahulkj/59029f0fa442a6866607a1aad6f4480e to your computer and use it in GitHub Desktop.
Nexus Test Pipeline
resource_types:
- name: pivnet
type: docker-image
source:
repository: pivotalcf/pivnet-resource
tag: latest-final
- name: static
type: docker-image
source:
repository: eugenmayer/concourse-static-resource
tag: latest
resources:
- name: platform-automation-pivnet
type: pivnet
source:
api_token: ((pivnet_token))
product_slug: platform-automation
product_version: ^4\.4\..*$
sort_by: semver
- name: upload-to-nexus
type: static
source:
uri: http://10.0.0.17:8081/repository/Installation/platform-automation-image-4.4.5.tgz
# version_static: 4.4.5
authentication:
user: admin
password: welcome
jobs:
- name: fetch-platform-automation
plan:
- get: platform-automation-pivnet
params:
globs: ['*.tgz']
trigger: true
- put: upload-to-nexus
params:
source_filepath: platform-automation-pivnet/*image*.tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment