Remove old Concourse CI config

This commit is contained in:
Brad Ison 2018-06-05 14:33:39 -04:00
parent 33029ba9d0
commit aceef8e048
No known key found for this signature in database
GPG key ID: 972D14B0BE6DE287
7 changed files with 0 additions and 316 deletions

View file

@ -1,209 +0,0 @@
resource_types:
- name: pull-request
type: docker-image
source:
repository: quay.io/quay/pr-resource
username: {{quay-robot-username}}
password: {{quay-robot-password}}
resources:
- name: build-image
type: docker-image
source:
repository: quay.io/quay/quay-build-image
username: {{quay-robot-username}}
password: {{quay-robot-password}}
- name: quay-pull-request
type: pull-request
source:
access_token: {{quay-github-token}}
private_key: {{quay-git-private-key}}
repo: coreos-inc/quay
uri: git@github.com:coreos-inc/quay.git
base: master
disable_forks: false
jobs:
- name: style
max_in_flight: 4
plan:
- get: quay-pull-request
trigger: true
version: every
- get: build-image
- put: quay-pull-request
params:
path: quay-pull-request
context: style
status: pending
- task: style
image: build-image
file: quay-pull-request/ci/tasks/style.yaml
on_success:
put: quay-pull-request
params:
path: quay-pull-request
context: style
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: style
status: failure
- name: karma
max_in_flight: 4
plan:
- get: quay-pull-request
trigger: true
version: every
- get: build-image
- put: quay-pull-request
params:
path: quay-pull-request
context: karma
status: pending
- task: karma
image: build-image
file: quay-pull-request/ci/tasks/karma.yaml
on_success:
put: quay-pull-request
params:
path: quay-pull-request
context: karma
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: karma
status: failure
- name: unit
max_in_flight: 4
plan:
- get: quay-pull-request
trigger: true
version: every
- get: build-image
- put: quay-pull-request
params:
path: quay-pull-request
context: unit
status: pending
- task: unit
image: build-image
file: quay-pull-request/ci/tasks/unit.yaml
on_success:
put: quay-pull-request
params:
path: quay-pull-request
context: unit
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: unit
status: failure
- name: registry
plan:
- get: quay-pull-request
trigger: true
version: every
- get: build-image
- put: quay-pull-request
params:
path: quay-pull-request
context: registry
status: pending
- task: registry
image: build-image
file: quay-pull-request/ci/tasks/registry.yaml
on_success:
put: quay-pull-request
params:
path: quay-pull-request
context: registry
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: registry
status: failure
- name: mysql
plan:
- get: quay-pull-request
trigger: true
version: every
- get: build-image
- put: quay-pull-request
params:
path: quay-pull-request
context: mysql
status: pending
- task: mysql
image: build-image
file: quay-pull-request/ci/tasks/mysql.yaml
on_success:
put: quay-pull-request
params:
path: quay-pull-request
context: mysql
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: mysql
status: failure
- name: postgres
plan:
- get: quay-pull-request
trigger: true
version: every
- get: build-image
- put: quay-pull-request
params:
path: quay-pull-request
context: postgres
status: pending
- task: postgres
image: build-image
file: quay-pull-request/ci/tasks/postgres.yaml
on_success:
put: quay-pull-request
params:
path: quay-pull-request
context: postgres
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: postgres
status: failure

View file

@ -1,13 +0,0 @@
---
platform: linux
inputs:
- name: quay-pull-request
run:
path: /bin/sh
args:
- -c
- |
set -eux
cd quay-pull-request
yarn install --ignore-engines
yarn test

View file

@ -1,23 +0,0 @@
---
platform: linux
inputs:
- name: quay-pull-request
run:
path: /bin/sh
args:
- -c
- |
set -eux
export TEST=true
export TEST_DATABASE_URI='mysql+pymysql://quay@127.0.0.1/genschema'
export SKIP_DB_SCHEMA=true
pip install --quiet -r quay-pull-request/requirements.txt
pip install --quiet -r quay-pull-request/requirements-tests.txt
service mysql start
mysqladmin create genschema
mysql -e "CREATE USER 'quay'@'127.0.0.1' IDENTIFIED BY '';"
mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'quay'@'127.0.0.1';"
cd quay-pull-request
PYTHONPATH="." alembic upgrade head
PYTHONPATH="." py.test "." --ignore=endpoints/appr/test/
service mysql stop

View file

@ -1,24 +0,0 @@
---
platform: linux
inputs:
- name: quay-pull-request
run:
path: /bin/sh
args:
- -c
- |
set -eux
export TEST=true
export TEST_DATABASE_URI='postgresql://quay:quay@127.0.0.1/quaytest'
export SKIP_DB_SCHEMA=true
pip install --quiet -r quay-pull-request/requirements.txt
pip install --quiet -r quay-pull-request/requirements-tests.txt
service postgresql start
su postgres -c "createuser --echo --superuser --no-password quay"
su postgres -c "psql -c \"ALTER USER quay WITH PASSWORD 'quay';\""
su postgres -c "psql -c 'CREATE DATABASE quaytest;'"
su postgres -c "psql -c 'GRANT ALL PRIVILEGES ON DATABASE quaytest TO quay';"
cd quay-pull-request
PYTHONPATH="." alembic upgrade head
PYTHONPATH="." py.test "." --ignore=endpoints/appr/test/
service postgresql stop

View file

@ -1,16 +0,0 @@
---
platform: linux
inputs:
- name: quay-pull-request
run:
path: /bin/sh
args:
- -c
- |
set -eux
export TEST=true
pip install --quiet -r quay-pull-request/requirements.txt
pip install --quiet -r quay-pull-request/requirements-tests.txt
cd quay-pull-request
PYTHONPATH="." py.test --timeout=7200 --verbose \
--show-count -x test/registry/registry_tests.py

View file

@ -1,15 +0,0 @@
---
platform: linux
inputs:
- name: quay-pull-request
run:
path: /bin/bash
args:
- -c
- |
set -eux
pip install --quiet -r quay-pull-request/requirements-dev.txt
cd quay-pull-request
export GIT_MERGE_BASED=`git merge-base origin/master HEAD`
export MODIFIED_FILES=`git diff --name-only $(GIT_MERGE_BASED) | grep -E .+\.py$ | paste -sd ' '`
if [ `yapf -d -p $(MODIFIED_FILES) | wc -l` -gt 0 ] ; then false ; else true ;fi

View file

@ -1,16 +0,0 @@
---
platform: linux
inputs:
- name: quay-pull-request
run:
path: /bin/sh
args:
- -c
- |
set -eux
export TEST=true
pip install --quiet -r quay-pull-request/requirements.txt
pip install --quiet -r quay-pull-request/requirements-tests.txt
cd quay-pull-request
PYTHONPATH="." py.test --timeout=7200 --verbose \
--show-count -x .