1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2026-10-23 21:49:05 +03:00
This commit is contained in:
Leonid Fedorov
2024-08-09 21:27:48 +04:00
parent df8a26d640
commit 344c25d50c

View File

@@ -118,7 +118,7 @@ local Pipeline(branch, platform, event, arch='amd64', server='10.6-enterprise')
image: img,
volumes: [pipeline._volumes.docker],
commands: [
installRpmDeb(pkg_format, "wget createrepo", 'wget dpkg-dev'),
installRpmDeb(pkg_format, "wget createrepo libxml2", 'wget dpkg-dev libxml2-utils'),
'mkdir -p /drone/src/' + result,
'cd /drone/src/' + result,
"wget " + ready_packages_url + '/foundationdb-clients_7.1.63-0.52e7532bd.SNAPSHOT_' + arch + '.' + pkg_format,
@@ -140,16 +140,16 @@ local Pipeline(branch, platform, event, arch='amd64', server='10.6-enterprise')
volumes: [pipeline._volumes.docker],
commands: [
'docker run --memory 3g --env OS=' + result + ' --env PACKAGES_URL=' + packages_url + ' --env DEBIAN_FRONTEND=noninteractive --name ' + smoke_docker_name + ' --ulimit core=-1 --privileged --detach ' + img + ' ' + init + ' --unit=basic.target',
'wget https://raw.githubusercontent.com/mariadb-corporation/mariadb-columnstore-engine/develop/setup-repo.sh',
'wget https://raw.githubusercontent.com/mariadb-corporation/mariadb-columnstore-engine/develop/setup-repo.sh -O setup-repo.sh',
'docker cp setup-repo.sh ' + smoke_docker_name + ':/',
execInnerDocker('bash /setup-repo.sh', smoke_docker_name),
execInnerDocker('sysctl -w kernel.core_pattern="/core/%E_' + result + '_core_dump.%p"', smoke_docker_name),
execInnerDocker(installRpmDeb(pkg_format, 'foundationdb*', 'foundationdb*'), smoke_docker_name),
execInnerDocker(installRpmDeb(pkg_format, 'jq', 'jq'), smoke_docker_name),
execInnerDocker('service foundationdb status', smoke_docker_name),
execInnerDocker("fdbcli --exec 'status json' | jq .client", smoke_docker_name),
execInnerDocker("fdbcli --exec 'writemode on; set foo bar; get foo", smoke_docker_name)
],
execInnerDocker("fdbcli --exec 'writemode on; set foo bar; get foo'", smoke_docker_name)
execInnerDocker('service foundationdb status', smoke_docker_name),
ll ],
},
]
,