From dd39c7f01770166048755c58a33d107b6bb63474 Mon Sep 17 00:00:00 2001 From: Alex Suraci Date: Thu, 2 Jul 2020 14:56:32 -0400 Subject: [PATCH] ci: remove unused 'build' task Signed-off-by: Alex Suraci Co-authored-by: Bishoy Youssef --- ci/build.yml | 18 ------------------ ci/scripts/build | 26 -------------------------- 2 files changed, 44 deletions(-) delete mode 100644 ci/build.yml delete mode 100755 ci/scripts/build diff --git a/ci/build.yml b/ci/build.yml deleted file mode 100644 index 3f43239e..00000000 --- a/ci/build.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -platform: linux - -image_resource: - type: docker-image - source: {repository: concourse/static-golang} - -inputs: -- name: docker - -- name: docker-image-resource - path: gopath/src/github.com/concourse/docker-image-resource - -outputs: -- name: built-resource - -run: - path: gopath/src/github.com/concourse/docker-image-resource/ci/scripts/build diff --git a/ci/scripts/build b/ci/scripts/build deleted file mode 100755 index 61c63bf3..00000000 --- a/ci/scripts/build +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -set -e -x - -BUILT_RESOURCE=$PWD/built-resource - -DOCKER_VERSION=$(cat docker/version | sed 's/^v//') - -export GOPATH=$PWD/gopath -export PATH=$PWD/gopath/bin:$PATH - -cd $(dirname $0)/../.. - -go install github.com/concourse/docker-image-resource/vendor/github.com/onsi/ginkgo/ginkgo - -CGO_ENABLED=1 ginkgo -race -r -p -skip "DockerImageResource" - -go build -o ./assets/check ./cmd/check/ -go build -o ./assets/print-metadata ./cmd/print-metadata/ - -curl -sSL -O "https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz" -tar zxf "docker-${DOCKER_VERSION}.tgz" - -go build -o ./ecr-login github.com/concourse/docker-image-resource/vendor/github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cmd - -cp -a ./* ${BUILT_RESOURCE}/