Remove temporal config file since we finished the migration (#15687)
* Remove temporal config file since we finished the migration * We will maintain pg11 tests for some timepull/15688/head
parent
027f4d14fc
commit
94ba82b320
@ -1,67 +0,0 @@
|
||||
steps:
|
||||
|
||||
# Decrypt github key
|
||||
- name: gcr.io/cloud-builders/gcloud
|
||||
args:
|
||||
- kms
|
||||
- decrypt
|
||||
- --ciphertext-file=script/ci/.gh_helper.enc
|
||||
- --plaintext-file=/root/.ssh/id_rsa
|
||||
- --location=global
|
||||
- --keyring=keyring-github-ci
|
||||
- --key=github-key
|
||||
volumes:
|
||||
- name: 'ssh'
|
||||
path: /root/.ssh
|
||||
|
||||
# Set up git with key and domain
|
||||
- name: 'gcr.io/cloud-builders/git'
|
||||
entrypoint: 'bash'
|
||||
args:
|
||||
- '-c'
|
||||
- |
|
||||
chmod 600 /root/.ssh/id_rsa
|
||||
cat <<EOF >/root/.ssh/config
|
||||
Hostname github.com
|
||||
IdentityFile /root/.ssh/id_rsa
|
||||
EOF
|
||||
mv script/ci/known_hosts /root/.ssh/known_hosts
|
||||
volumes:
|
||||
- name: 'ssh'
|
||||
path: /root/.ssh
|
||||
|
||||
# Clean working directory
|
||||
- name: alpine
|
||||
args: ['sh', '-c', 'rm -rf .* | true && rm -rf *']
|
||||
|
||||
# Checkout repo with submodules
|
||||
- name: 'gcr.io/cloud-builders/git'
|
||||
entrypoint: 'sh'
|
||||
args: ['-c', 'git clone git@github.com:CartoDB/cartodb.git -b "${BRANCH_NAME}" --depth 1 --recursive .']
|
||||
volumes:
|
||||
- name: 'ssh'
|
||||
path: /root/.ssh
|
||||
|
||||
# Checkout ci-tools
|
||||
- name: 'gcr.io/cloud-builders/git'
|
||||
args:
|
||||
- clone
|
||||
- git@github.com:CartoDB/ci-tools.git
|
||||
volumes:
|
||||
- name: 'ssh'
|
||||
path: /root/.ssh
|
||||
|
||||
- name: ubuntu
|
||||
args: ['bash', '-c', 'cp ci-tools/repos/cartodb/* . && cp config/app_config.yml.sample config/app_config.yml && cp config/database.yml.sample config/database.yml && cp lib/assets/javascripts/cdb/secrets.example.json lib/assets/javascripts/cdb/secrets.json && cp script/ci/* .']
|
||||
|
||||
- name: 'docker/compose:1.22.0'
|
||||
args: ['-f', 'docker-compose-pg10.yml', 'up', '--build', '-d']
|
||||
timeout: 900s
|
||||
|
||||
- name: gcr.io/cloud-builders/docker
|
||||
args: ['exec', '-i', 'builder_1', '/cartodb/runParallelTests.sh']
|
||||
timeout: 2700s
|
||||
|
||||
options:
|
||||
machineType: 'N1_HIGHCPU_32'
|
||||
timeout: 3600s
|
Loading…
Reference in new issue