samba resource for concourse
100K+
concourse.ci resource for persisting build artifacts on a shared storage location with samba.
##Config
server: Required Server on which to persist artifacts.share: Required Share name on Server in which to place the artifactspath: Required Base directory in which to place the artifactsuser: Required User credential for login using sshpassword: Required password for the specified userAll config required for each of the in, out and check behaviors.
###Example
resource_types:
- name: samba-resource
type: docker-image
source:
repository: airtonix/concourse-resource-samba
tag: latest
resources:
- name: samba-resource
type: samba-resource
source:
server: my-server.lan
share: storage
user : user
password: {{ samba_password_from_env }}
jobs:
-name: the-big-payback
plan:
get: samba-resource
params: {"path" : "directory-name-we-want-to-fetch" }
put: samba-resource
params: {"path" : "directory-name-we-want-to-create" }
check : Check for new versions of artifacts//server/share/path/$params.path as $params.pathversionin : retrieve a given artifacts from servercheck, but inspects check.version against versionout : place a new artifact on serverversion//server/share/path/$params.pathversionpath: Optional. Directory to be bundled.Content type
Image
Digest
Size
11.9 MB
Last updated
over 9 years ago
docker pull airtonix/concourse-resource-samba