Merge pull request #949 from docker/dependabot/go_modules/github.com/docker/distribution-2.8.0incompatible
build(deps): bump github.com/docker/distribution from 2.7.1+incompatible to 2.8.0+incompatiblepull/954/head
						commit
						1bcc3556fc
					
				@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					linters:
 | 
				
			||||||
 | 
					  enable:
 | 
				
			||||||
 | 
					    - structcheck
 | 
				
			||||||
 | 
					    - varcheck
 | 
				
			||||||
 | 
					    - staticcheck
 | 
				
			||||||
 | 
					    - unconvert
 | 
				
			||||||
 | 
					    - gofmt
 | 
				
			||||||
 | 
					    - goimports
 | 
				
			||||||
 | 
					    - golint
 | 
				
			||||||
 | 
					    - ineffassign
 | 
				
			||||||
 | 
					    - vet
 | 
				
			||||||
 | 
					    - unused
 | 
				
			||||||
 | 
					    - misspell
 | 
				
			||||||
 | 
					  disable:
 | 
				
			||||||
 | 
					    - errcheck
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					run:
 | 
				
			||||||
 | 
					  deadline: 2m
 | 
				
			||||||
 | 
					  skip-dirs:
 | 
				
			||||||
 | 
					    - vendor
 | 
				
			||||||
@ -1,16 +0,0 @@
 | 
				
			|||||||
{
 | 
					 | 
				
			||||||
  "Vendor": true,
 | 
					 | 
				
			||||||
  "Deadline": "2m",
 | 
					 | 
				
			||||||
  "Sort": ["linter", "severity", "path", "line"],
 | 
					 | 
				
			||||||
  "EnableGC": true,
 | 
					 | 
				
			||||||
  "Enable": [
 | 
					 | 
				
			||||||
    "structcheck",
 | 
					 | 
				
			||||||
    "staticcheck",
 | 
					 | 
				
			||||||
    "unconvert",
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    "gofmt",
 | 
					 | 
				
			||||||
    "goimports",
 | 
					 | 
				
			||||||
    "golint",
 | 
					 | 
				
			||||||
    "vet"
 | 
					 | 
				
			||||||
  ]
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -1,51 +0,0 @@
 | 
				
			|||||||
dist: trusty
 | 
					 | 
				
			||||||
sudo: required
 | 
					 | 
				
			||||||
# setup travis so that we can run containers for integration tests
 | 
					 | 
				
			||||||
services:
 | 
					 | 
				
			||||||
  - docker
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
language: go
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
go:
 | 
					 | 
				
			||||||
  - "1.11.x"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
go_import_path: github.com/docker/distribution
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
addons:
 | 
					 | 
				
			||||||
  apt:
 | 
					 | 
				
			||||||
    packages:
 | 
					 | 
				
			||||||
      - python-minimal
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
env:
 | 
					 | 
				
			||||||
  - TRAVIS_GOOS=linux DOCKER_BUILDTAGS="include_oss include_gcs" TRAVIS_CGO_ENABLED=1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
before_install:
 | 
					 | 
				
			||||||
  - uname -r
 | 
					 | 
				
			||||||
  - sudo apt-get -q update
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
install:
 | 
					 | 
				
			||||||
  - go get -u github.com/vbatts/git-validation
 | 
					 | 
				
			||||||
    # TODO: Add enforcement of license
 | 
					 | 
				
			||||||
    # - go get -u github.com/kunalkushwaha/ltag
 | 
					 | 
				
			||||||
  - cd $TRAVIS_BUILD_DIR
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
script:
 | 
					 | 
				
			||||||
  - export GOOS=$TRAVIS_GOOS
 | 
					 | 
				
			||||||
  - export CGO_ENABLED=$TRAVIS_CGO_ENABLED
 | 
					 | 
				
			||||||
  - DCO_VERBOSITY=-q script/validate/dco
 | 
					 | 
				
			||||||
  - GOOS=linux script/setup/install-dev-tools
 | 
					 | 
				
			||||||
  - script/validate/vendor
 | 
					 | 
				
			||||||
  - go build -i .
 | 
					 | 
				
			||||||
  - make check
 | 
					 | 
				
			||||||
  - make build
 | 
					 | 
				
			||||||
  - make binaries
 | 
					 | 
				
			||||||
    # Currently takes too long
 | 
					 | 
				
			||||||
    #- if [ "$GOOS" = "linux" ]; then make test-race ; fi
 | 
					 | 
				
			||||||
  - if [ "$GOOS" = "linux" ]; then make coverage ; fi
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
after_success:
 | 
					 | 
				
			||||||
  - bash <(curl -s https://codecov.io/bash) -F linux
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
before_deploy:
 | 
					 | 
				
			||||||
    # Run tests with storage driver configurations
 | 
					 | 
				
			||||||
@ -0,0 +1,51 @@
 | 
				
			|||||||
 | 
					group "default" {
 | 
				
			||||||
 | 
					  targets = ["image-local"]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Special target: https://github.com/docker/metadata-action#bake-definition
 | 
				
			||||||
 | 
					target "docker-metadata-action" {
 | 
				
			||||||
 | 
					  tags = ["registry:local"]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					target "binary" {
 | 
				
			||||||
 | 
					  target = "binary"
 | 
				
			||||||
 | 
					  output = ["./bin"]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					target "artifact" {
 | 
				
			||||||
 | 
					  target = "artifacts"
 | 
				
			||||||
 | 
					  output = ["./bin"]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					target "artifact-all" {
 | 
				
			||||||
 | 
					  inherits = ["artifact"]
 | 
				
			||||||
 | 
					  platforms = [
 | 
				
			||||||
 | 
					    "linux/amd64",
 | 
				
			||||||
 | 
					    "linux/arm/v6",
 | 
				
			||||||
 | 
					    "linux/arm/v7",
 | 
				
			||||||
 | 
					    "linux/arm64",
 | 
				
			||||||
 | 
					    "linux/ppc64le",
 | 
				
			||||||
 | 
					    "linux/s390x"
 | 
				
			||||||
 | 
					  ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					target "image" {
 | 
				
			||||||
 | 
					  inherits = ["docker-metadata-action"]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					target "image-local" {
 | 
				
			||||||
 | 
					  inherits = ["image"]
 | 
				
			||||||
 | 
					  output = ["type=docker"]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					target "image-all" {
 | 
				
			||||||
 | 
					  inherits = ["image"]
 | 
				
			||||||
 | 
					  platforms = [
 | 
				
			||||||
 | 
					    "linux/amd64",
 | 
				
			||||||
 | 
					    "linux/arm/v6",
 | 
				
			||||||
 | 
					    "linux/arm/v7",
 | 
				
			||||||
 | 
					    "linux/arm64",
 | 
				
			||||||
 | 
					    "linux/ppc64le",
 | 
				
			||||||
 | 
					    "linux/s390x"
 | 
				
			||||||
 | 
					  ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
					Loading…
					
					
				
		Reference in New Issue