Commit 69c00703 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

cta: add test install step

parent a3f508a2
stages:
- build:srpm
- build:rpm
- test:install
before_script:
- export CTA_BUILD_ID=${CI_PIPELINE_ID}git${CI_COMMIT_SHA:0:8}
......@@ -62,3 +63,22 @@ cta_rpm:
expire_in: 2 days
paths:
- build_rpm/RPM/RPMS
test_install:
except:
- tags
stage: test:install
retry: 1
image: centos:7
script:
- yum install -y wget
- yum install -y yum-utils epel-release
- yum install -y centos-release-openstack-train
- cp continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/eos-citrine-depend.repo /etc/yum.repos.d/.
- cp continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d-public/eos-citrine.repo /etc/yum.repos.d/.
- rpm -import https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7
- yum-config-manager --add-repo=http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64
- yum install -y oracle-instantclient19.3-devel oracle-instantclient19.3-sqlplus oracle-instantclient19.3-bas
- yum -y install yum-plugin-priorities yum-plugin-versionlock
- yum -y install -x cta-migration\* build_rpm/RPM/RPMS/x86_64/cta-*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment