grim/convey

bb8391f89664
Parents c79f87beb200
Children 0d1f087f8bd3
Remove some images we really weren't using/supporting
--- a/convey.yml Thu May 16 04:16:27 2019 -0500
+++ b/convey.yml Thu May 16 04:26:25 2019 -0500
@@ -28,11 +28,6 @@
type: convey/export
files:
- '**/junit.xml'
- linter:
- type: docker/run
- image: convey/gometalinter:latest
- environment:
- - GOMETALINTER_OPTIONS="-Dinterfacer -Dvarcheck"
build-linux:
type: docker/run
image: convey/go-build:latest
@@ -118,24 +113,6 @@
tag: convey/go-test
files:
- images/go-test/run.sh
- build-image-go-vet:
- type: docker/build
- dockerfile: images/go-vet/Dockerfile
- tag: convey/go-vet:latest
- files:
- - images/go-vet/run.sh
- build-image-gometalinter:
- type: docker/build
- dockerfile: images/gometalinter/Dockerfile
- tag: convey/gometalinter
- files:
- - images/gometalinter/run.sh
- build-image-rust-build-linux:
- type: docker/build
- dockerfile: images/rust-build-linux/Dockerfile
- tag: convey/rust-build-linux
- files:
- - images/rust-build-linux/run.sh
build-image-template:
type: docker/build
dockerfile: images/template/Dockerfile
@@ -167,7 +144,6 @@
- import
- name: testing
tasks:
- # - linter
- go-test
- export-junit
- name: build
@@ -204,9 +180,6 @@
- build-image-env
- build-image-go-build
- build-image-go-test
- - build-image-go-vet
- - build-image-gometalinter
- - build-image-rust-build-linux
- build-image-template
- build-image-workspace
- build-image-workspace-tools
--- a/images/go-vet/Dockerfile Thu May 16 04:16:27 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-FROM golang:1.10-stretch
-
-COPY run.sh /
-
-ENTRYPOINT ["/run.sh"]
--- a/images/go-vet/README.md Thu May 16 04:16:27 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-# convey/go-vet
-
-The go-vet image is a simple wrapper around the official golang:latest image.
-
-## Example
-
- tasks:
- go-vet:
- type: docker/run
- image: convey/go-vet:latest
- environment:
- - GO_PACKAGE=bitbucket.org/rw_grim/convey
-
-## Environment Variables
-
-GO_PACKAGE if set will put the root of the workspace into the correct path and run go vet on all packages in the package.
-
--- a/images/go-vet/run.sh Thu May 16 04:16:27 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-set -ex
-
-if [ -n ${GO_PACKAGE} ] ; then
- _PACKAGE_PATH="/go/src/${GO_PACKAGE}"
- _PARENT=$(dirname ${_PACKAGE_PATH})
- mkdir -p ${_PARENT}
- ln -s ${CONVEY_WORKSPACE} ${_PACKAGE_PATH}
- cd ${_PACKAGE_PATH}
-fi
-
-go vet $(go list ./... | grep -v vendor)
--- a/images/gometalinter/Dockerfile Thu May 16 04:16:27 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-FROM golang:1.10-stretch
-
-RUN set -ex && \
- go get -u -v gopkg.in/alecthomas/gometalinter.v2 && \
- gometalinter.v2 --install
-
-COPY run.sh /
-
-ENTRYPOINT ["/run.sh"]
--- a/images/gometalinter/README.md Thu May 16 04:16:27 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-# convey/go-vet
-
-The gometalinter image will run
-[gometalinter](https://github.com/alecthomas/gometalinter) on all of the
-packages in the specified package.
-
-## Example
-
- tasks:
- linter:
- type: docker/run
- image: convey/gometalinter:latest
- environment:
- - GO_PACKAGE=bitbucket.org/rw_grim/convey
-
-## Environment Variables
-
-`GO_PACKAGE` if set, will put the root of the workspace into the correct path
-and run gometalinter on all packages in the package.
-
-`GOMETALINTER_OPTIONS` additional options to pass to gometalinter.
-
--- a/images/gometalinter/run.sh Thu May 16 04:16:27 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -ex
-
-if [ -n ${GO_PACKAGE} ] ; then
- _PACKAGE_PATH="/go/src/${GO_PACKAGE}"
- _PARENT=$(dirname ${_PACKAGE_PATH})
- mkdir -p ${_PARENT}
- ln -s ${CONVEY_WORKSPACE} ${_PACKAGE_PATH}
- cd ${_PACKAGE_PATH}
-fi
-
-gometalinter.v2 --vendor ${GOMETALINTER_OPTIONS} ./...
-
--- a/images/rust-build-linux/Dockerfile Thu May 16 04:16:27 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-FROM aphistic/rust-build:stable-linux
-
-COPY run.sh /
-
-ENTRYPOINT ["/run.sh"]
--- a/images/rust-build-linux/README.md Thu May 16 04:16:27 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-# convey/rust-build-linux
-
-The rust-build-linux image is an image that can be used to build rust projects
-using the latest stable version of the rust tools.
-
-## Example
-
- tasks:
- build-linux:
- type: docker/run
- image: convey/rust-build-linux:latest
- command: --release --target x86_64-linux-musl
-
-## Command
-
-Additional arguments to pass to cargo build.
-
-This image has multiple Linux toolchains it supports, `x86_64-unknown-linux-gnu`
-being the default. The following targets are available:
-
-* i686-unknown-linux-gnu
-* i686-unknown-linux-musl
-* x86_64-unknown-linux-gnu
-* x86_64-unknown-linux-musl
-
-Note that when using a non-default target for a cargo build, the output
-of your file with a traditional Cargo.toml file will be put into the
-`target/<target triple>/debug/` or `target/<target triple>/release/`
-output directory. These directories can then be used, as an example, from
-an `export` task after building for multiple architectures.
-
-For example:
-
- export-myproject:
- type: export
- files:
- - target/release/myproject:myproject-linux-gnu
- - target/x86_64-unknown-linux-musl/release/myproject:myproject-linux-musl
-
-## Environment Variables
-
-The are no image specific environment variables.
--- a/images/rust-build-linux/run.sh Thu May 16 04:16:27 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-set -ex
-
-# Pull in the rustup environment, this sets up the cargo
-# environment and is installed in the image we're basing
-# this one on.
-source $HOME/.cargo/env
-
-# Go to the workspace directory and run the build
-cd $CONVEY_WORKSPACE
-cargo build $@