Sign inSign up

mdomke/concourse-devpi-resource

By mdomke

Updated over 8 years ago

A devpi resource for Concourse CI

Image
3

5M+

mdomke/concourse-devpi-resource repository overview

A Concourse CI resource to track packages from the devpi server.

Source Configuration

  • uri: Required. The base URI of the devpi server.
  • index: Required. The package index in the form user/name.
  • package: Required. The pacakge to track.
  • username: Optional. The username for logging in (Required for out)
  • password: Optional. The password for logging in (Required for out)
  • versioning: Optional. The versioning scheme. Can be one of 'loose' (the default) or 'semantic'.
Example

Resource configuration:

resources:
- name: my-package
  type: devpi
  source:
    uri: http://pypi.host.tld:9090
    index: foo/dev
    package: my-package-name
    username: user
    password: passwd
    versioning: semantic

Fetching a package:

- get: my-package

Pushing a local pacakge to the server:

- put: my-package
  params: {fileglob: "*.whl"}

Behavior

check: Check for new versions

The devpi server will be queried for new versions of the specified package.

in: Pull a package from the devpi server

Downloads the package to the destination

Paramters
  • version: Optional. Pull this specific version of the package instead of the newest.
out: Push a package to the devpi server
Parameters
  • file: Specifiy a concrete package filename to push to the server.
  • fileglob: Specifiy a glob-pattern for matching files in the destination directory to be pushed to the server. The matched files are sorted alphanumerically and the "newest" is selected.

Tag summary

Content type

Image

Digest

Size

38 MB

Last updated

over 8 years ago

docker pull mdomke/concourse-devpi-resource