Skip to content

harche/stackup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

137 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STACKUP - A tool to create List Manifests

stackup Build Status

Please be aware stackup is still work in progress

stackup is a command line utility to create list manifests.

Example: If you don't have docker config file already generated then generate it using,

docker login

Docker config file is required for authentication with the repository

./stackup --docker-cfg '/home/harshal/.docker/' /home/harshal/listm.yml

Sample YAML:

--- 
image: pharshal/myListManifest:latest
manifests: 
  - 
    image: docker.io/fedora:rawhide
    platform: 
      architecture: ppc64
      os: linux
      variant: ppc64le
  - 
    image: docker.io/ubuntu:latest
    platform: 
      architecture: amd64
      features: 
        - sse
      os: linux

If your cli config is found but it doesn't contain the necessary credentials for the queried registry you'll get an error. You can fix this by either logging in (via docker login) or providing --username and --password. Building

To build stackup you need at least Go 1.5 because it uses the latest GO15VENDOREXPERIMENT flag. Also, make sure to clone the repository in your GOPATH - otherwise compilation fails.

$ cd $GOPATH/src
$ mkdir -p github.com/harche
$ cd github.com/harche
$ git clone https://github.com/harche/stackup
$ cd stackup && make binary

Man:

To build the man page you need go-md2man available on your system, then:

$ make man

Installing

If you built from source:

$ sudo make install

stackup is also available from Fedora 23:

sudo dnf install stackup

Tests

You need Docker installed on your system in order to run the test suite

$ make test-integration

TODO

Automatically fill OS and Architechture from digest instead of user putting it in YAML manually

License

ASL 2.0

About

Create List Manifests for Docker Registry. This repository has moved to, https://github.com/estesp/manifest-tool

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 79.0%
  • Shell 18.5%
  • Makefile 2.5%