build: test debian and rpm packages
parent
b78ca124e0
commit
fd16c18917
|
@ -118,15 +118,15 @@ jobs:
|
|||
name: Build packages
|
||||
command: |
|
||||
set -x
|
||||
|
||||
WORKING_DIR=$(pwd)
|
||||
OUTDIR=${WORKING_DIR}/packages
|
||||
mkdir -p ${OUTDIR}/race
|
||||
|
||||
# Plutonium debs and rpms
|
||||
# InfluxDB debs and rpms
|
||||
# linux
|
||||
"${WORKING_DIR}/releng/packages/build.bash" \
|
||||
-s "/tmp/workspace/tarball/plutonium-src-${CIRCLE_SHA1}.tar.gz" \
|
||||
-b "/tmp/workspace/bins/plutonium_bin_linux_amd64-${CIRCLE_SHA1}.tar.gz" \
|
||||
-s "/tmp/workspace/tarball/influxdb-src-${CIRCLE_SHA1}.tar.gz" \
|
||||
-b "/tmp/workspace/bins/influxdb_bin_linux_amd64-${CIRCLE_SHA1}.tar.gz" \
|
||||
-O linux -A amd64 \
|
||||
-o "$OUTDIR"
|
||||
|
||||
|
@ -154,12 +154,10 @@ jobs:
|
|||
# The glob pattern with -prune causes find to only return files rooted in packages,
|
||||
# thereby avoiding files whose names would match, but are in subdirectories, i.e. packages/static.
|
||||
"${WORKING_DIR}/releng/packages/spec/clean_install/run.bash" -D \
|
||||
-d "$(find "/tmp/workspace/packages"/* -prune -name 'influxdb-data*amd64.deb')" \
|
||||
-m "$(find "/tmp/workspace/packages"/* -prune -name 'influxdb-meta*amd64.deb')"
|
||||
-p "$(find "/tmp/workspace/packages"/* -prune -name 'influxdb*amd64.deb')"
|
||||
|
||||
"${WORKING_DIR}/releng/packages/spec/clean_install/run.bash" -R \
|
||||
-d "$(find "/tmp/workspace/packages"/* -prune -name 'influxdb-data*x86_64.rpm')" \
|
||||
-m "$(find "/tmp/workspace/packages"/* -prune -name 'influxdb-meta*x86_64.rpm')"
|
||||
-p "$(find "/tmp/workspace/packages"/* -prune -name 'influxdb*x86_64.rpm')"
|
||||
|
||||
static_code_checks:
|
||||
docker:
|
||||
|
@ -279,6 +277,12 @@ workflows:
|
|||
on_push:
|
||||
jobs:
|
||||
- build_binaries
|
||||
- build_packages:
|
||||
requires:
|
||||
- build_binaries
|
||||
- test_pkgs_64bit:
|
||||
requires:
|
||||
- build_packages
|
||||
- static_code_checks
|
||||
- fluxtest
|
||||
- unit_test
|
||||
|
|
Loading…
Reference in New Issue