From 0fd9cd3b59bd42ef0e508f0f415028a0ee8fa44f Mon Sep 17 00:00:00 2001 From: Hank Donnay Date: Thu, 16 Jan 2020 13:21:11 -0500 Subject: [PATCH] drone: remove broken drone CI --- .drone.jsonnet | 60 ------------------- .drone.yml | 154 ------------------------------------------------- 2 files changed, 214 deletions(-) delete mode 100644 .drone.jsonnet delete mode 100644 .drone.yml diff --git a/.drone.jsonnet b/.drone.jsonnet deleted file mode 100644 index ade14b61a4..0000000000 --- a/.drone.jsonnet +++ /dev/null @@ -1,60 +0,0 @@ -local pipeline(goVersion, postgresVersion) = { - kind: 'pipeline', - name: 'go-' + goVersion + '-postgres' + postgresVersion, - workspace: { - base: '/go', - path: 'clair', - }, - clone: { depth: 50 }, - - services: [{ - name: 'postgres', - image: 'postgres:' + postgresVersion + '-alpine', - ports: [5432], - }], - - steps: [ - { - name: 'lint', - image: 'golang:' + goVersion + '-alpine', - commands: [ - 'apk add --no-cache git build-base clang', - 'make lint-proto', - 'git diff --exit-code', - ], - }, - { - name: 'compile', - image: 'golang:' + goVersion + '-alpine', - commands: [ - 'apk add --no-cache build-base git rpm xz', - 'make build', - ], - }, - { - name: 'unit tests', - image: 'golang:' + goVersion + '-alpine', - commands: [ - 'apk add --no-cache build-base git rpm xz', - 'git config --global user.name "Test"', - 'git config --global user.email "test@coreos.com"', - 'make unit-test', - ], - }, - { - name: 'db tests', - image: 'golang:' + goVersion + '-alpine', - commands: [ - 'apk add --no-cache build-base git rpm xz', - 'make db-test', - ], - environment: { CLAIR_TEST_PGSQL: 'postgres@postgres:5432' }, - }, - ], -}; - -[ - pipeline('1.12', '9'), - pipeline('1.12', '10'), - pipeline('1.12', '11'), -] diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index f37894ae6f..0000000000 --- a/.drone.yml +++ /dev/null @@ -1,154 +0,0 @@ ---- -kind: pipeline -name: go-1.12-postgres9 - -platform: - os: linux - arch: amd64 - -clone: - depth: 50 - -workspace: - base: /go - path: clair - -steps: -- name: lint - image: golang:1.12-alpine - commands: - - apk add --no-cache git build-base clang - - make lint-proto - - git diff --exit-code - -- name: compile - image: golang:1.12-alpine - commands: - - apk add --no-cache build-base git rpm xz - - make build - -- name: unit tests - image: golang:1.12-alpine - commands: - - apk add --no-cache build-base git rpm xz - - git config --global user.name "Test" - - git config --global user.email "test@coreos.com" - - make unit-test - -- name: db tests - image: golang:1.12-alpine - commands: - - apk add --no-cache build-base git rpm xz - - make db-test - environment: - CLAIR_TEST_PGSQL: postgres@postgres:5432 - -services: -- name: postgres - image: postgres:9-alpine - ports: - - 5432 - ---- -kind: pipeline -name: go-1.12-postgres10 - -platform: - os: linux - arch: amd64 - -clone: - depth: 50 - -workspace: - base: /go - path: clair - -steps: -- name: lint - image: golang:1.12-alpine - commands: - - apk add --no-cache git build-base clang - - make lint-proto - - git diff --exit-code - -- name: compile - image: golang:1.12-alpine - commands: - - apk add --no-cache build-base git rpm xz - - make build - -- name: unit tests - image: golang:1.12-alpine - commands: - - apk add --no-cache build-base git rpm xz - - git config --global user.name "Test" - - git config --global user.email "test@coreos.com" - - make unit-test - -- name: db tests - image: golang:1.12-alpine - commands: - - apk add --no-cache build-base git rpm xz - - make db-test - environment: - CLAIR_TEST_PGSQL: postgres@postgres:5432 - -services: -- name: postgres - image: postgres:10-alpine - ports: - - 5432 - ---- -kind: pipeline -name: go-1.12-postgres11 - -platform: - os: linux - arch: amd64 - -clone: - depth: 50 - -workspace: - base: /go - path: clair - -steps: -- name: lint - image: golang:1.12-alpine - commands: - - apk add --no-cache git build-base clang - - make lint-proto - - git diff --exit-code - -- name: compile - image: golang:1.12-alpine - commands: - - apk add --no-cache build-base git rpm xz - - make build - -- name: unit tests - image: golang:1.12-alpine - commands: - - apk add --no-cache build-base git rpm xz - - git config --global user.name "Test" - - git config --global user.email "test@coreos.com" - - make unit-test - -- name: db tests - image: golang:1.12-alpine - commands: - - apk add --no-cache build-base git rpm xz - - make db-test - environment: - CLAIR_TEST_PGSQL: postgres@postgres:5432 - -services: -- name: postgres - image: postgres:11-alpine - ports: - - 5432 - -...