Command Concourse Resource
This is POC resource for Concourse to execute arbitrary commands
Only one parameter is required, the (path) command:
command
: The command to be executed within the container
Currently this resource only supports the put
phase of a job plan, so these
are effectively no-ops. This will likely change in the future.
Run a command with the given arguments.
Only one optional parameter can be specified:
args
: A string containing the arguments for the given command
---
resource_types:
- name: command
type: docker-image
source:
repository: platformengineering/concourse-command-resource
resources:
- name: source
type: git
source:
uri: [email protected]:springerpe/repository.git
branch: master
private_key: {{github-private-key}}
- name: run_ls
type: command
source:
command: ls
jobs:
- name: run-command
plan:
- get: source
- put: run_ls
params:
args: "-la"
Jose Riguera [email protected]
(c) 2017 Springer Nature Platform Engineering