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 loginDocker config file is required for authentication with the repository
./stackup --docker-cfg '/home/harshal/.docker/' /home/harshal/listm.ymlSample 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: linuxIf 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 binaryTo build the man page you need go-md2man available on your system, then:
$ make man
If you built from source:
$ sudo make installstackup is also available from Fedora 23:
sudo dnf install stackupYou need Docker installed on your system in order to run the test suite
$ make test-integrationAutomatically fill OS and Architechture from digest instead of user putting it in YAML manually
ASL 2.0