Giter VIP home page Giter VIP logo

aptly-cli-resource's Introduction

aptly CLI Resource

Enables you to transfer packages between your job and an aptly repository in your Concourse pipeline.

Source Configuration

  • api_uri: Required. URL pointing to the aptly repository's API.

  • repo_uri: Required. URL pointing to the aptly repository.

  • component: Required. Repository component the package should be placed in.

  • distribution: Required. Distribution that the package is built for.

  • package: Required. Name of the package.

Example

Resource configuration:

resource_types:
- name: aptly-cli
  type: docker-image
  source:
    repository: shyxormz/aptly-cli-resource
    tag: latest

resources:
- name: concourse-deb
  type: aptly-cli
  source:
    api_uri: http://127.0.0.1:8080/
    repo_uri: http://127.0.0.1/concourse/
    component: concourse
    distribution: jessie
    package: concourse

Downloading latest version of package:

- get: concourse-deb
  params:
    archive: concourse_latest.deb

Uploading new version of package:

- put: concourse-deb
  params:
    archive_file: source-code/filename
    gpg_passphrase_file: /root/aptly.pass

Behavior

check: Detect all versions of package.

Detects versions of the package.

in: Download latest version of package

Downloads the latest version of the package.

The following files will be placed in the destination:

  • (filename|params.archive): The downloaded package. Either named after the filename or after the archive parameter, if it is set.

  • filename: Contains the filename of the package, as sent by aptly.

  • path: Contains the path to the downloaded package.

Parameters

  • archive: Optional. Where the downloaded package should be placed.

out: Upload package

Uploads a new version of a package to aptly, signs it, creates a snapshot, and updates the published repository.

Parameters

  • gpg_passphrase_file: Required. Path to a file containing a key to sign packages with on the Aptly server.

One of the following two options must be specified:

  • archive: Optional. Path to the package that should be uploaded.

  • archive_file: Optional. Path to a file containing the path to the package that should be uploaded.

aptly-cli-resource's People

Contributors

shyx0rmz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

aptly-cli-resource's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.