packagecloud

command module
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2021 License: MIT Imports: 18 Imported by: 0

README

packagecloud

simple packagecloud command line tool.

Install

go get github.com/atotto/packagecloud

or

curl -s https://packagecloud.io/install/repositories/atotto/debian-utils/script.deb.sh | os=any dist=any sudo -E bash
sudo apt install packagecloud

Usage

Pushing a package
packagecloud push example-user/example-repository/ubuntu/xenial /tmp/example.deb
Deleting a package
packagecloud rm example-user/example-repository/ubuntu/xenial example_1.0.1-1_amd64.deb
Promoting packages between repositories
packagecloud promote example-user/repo1/ubuntu/xenial example_1.0-1_amd64.deb example-user/repo2

CircleCI

Configure environment variables

Set the $PACKAGECLOUD_TOKEN

create an environment variable with the name PACKAGECLOUD_TOKEN, containing the value of a packagecloud API token.

Use docker
jobs:
  deploy:
    docker:
      - image: atotto/packagecloud
    steps:
      - attach_workspace:
          at: /workspace
      - run: |
          packagecloud push atotto/repository/any/any my-debian-package_*.deb
Use debain package
    steps:
      - run:
          name: setup atotto packagecloud
          command: |
            curl -s https://packagecloud.io/install/repositories/atotto/debian-utils/script.deb.sh | os=any dist=any bash
            apt install -y packagecloud

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL