Sign inSign up

ushios/golem

By ushios

Updated about 8 years ago

The golem get artifacts from CircleCI.

Image
0

2.1K

ushios/golem repository overview

golem

GoDoc CircleCI Go Report Card

Get artifacts from CircleCI

Usage

Download all artifacts to current directory.

$ golem -vcs github -user ushios -repository golem -branch master

Get private repository's artifacts using token (using -token option).

$ golem -token xxxxxxxx -vcs github -user ushios -repository golem -branch master
options
Usage of /usr/local/bin/golem:
  -branch string
    	branch name (default "master")
  -output string
    	output files destination directory (default "./")
  -prefix string
    	download file's prefix
  -repository string
    	respository name
  -token string
    	circle ci artifact build token
  -user string
    	github or bitbucket user name
  -vcs string
    	github or bitbucket (default "github")
Using docker

Using docker run command.

$ docker run ushios/golem -vcs github -user ushios -repository golem -branch master
Using docker-compose

Create file like a below.

version: '3'
services:
  golem:
    image: ushios/golem
    volumes:
      - .:/out
    command: [
      "-prefix", "bin",
      "-output", "/out",
      "-vcs", "github",
      "-user", "ushios",
      "-repository", "golem",
      "-branch", "master",
      "-token", "xxxxxxxxxx"
    ]

And execute this command.

$ docker-compose run --rm golem

Development

Get dependencies.

$ make dep

Testing

$ make test

Build Dockerfile for docker hub

$ make docker

Tag summary

Content type

Image

Digest

Size

4.7 MB

Last updated

about 8 years ago

docker pull ushios/golem