Skip to content
Snippets Groups Projects
Commit bf357746 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

added xform on x86 for arm binaries, and testing of said arm binaries on x86-64 boxes

parent 172c7862
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,6 @@ stages:
- build
- gather_bins
- protect_bins
- test_bins
- test
- deploy
......@@ -88,6 +87,10 @@ do-build-arm64:
tags:
- arm64
#
# gather artifacts and ship them tox 86 boxes
#
.gather-bins: &do_gather
stage: gather_bins
script:
......@@ -95,7 +98,7 @@ do-build-arm64:
artifacts:
expire_in: 1 day
paths:
- test_binaries/
- artifacts/
gather-bins-arm32:
<<: *do_gather
......@@ -107,6 +110,55 @@ gather-bins-arm64:
tags:
- arm64
#
# gather artifacts and ship them tox 86 boxes
#
.protect-arm-bins: &prot_bins
stage: protect_bins
script:
- ./cicd_testing/do-prot-bins.sh
artifacts:
expire_in: 1 day
paths:
- artifacts/
protect-arm-ubuntu18:
<<: *prot_bins
tags:
- ubuntu18
protect-bins-ubuntu16:
<<: *prot_bins
tags:
- ubuntu16
protect-bins-centos76:
<<: *prot_bins
tags:
- centos76
#
# gather artifacts and ship them tox 86 boxes
#
test_arm_bins: &test_arm_bins
stage: test
script:
- ./cicd_testing/do-test-bins.sh
artifacts:
expire_in: 1 day
paths:
- artifacts/
gather-bins-arm32:
<<: *prot_bins
tags:
- arm32
gather-bins-arm64:
<<: *prot_bins
tags:
- arm64
#
# test_quick for EH handling
#
......
......@@ -3,8 +3,8 @@
set -x
set -e
mkdir -p test_binaries/
mkdir -p artifacts/test_binaries/
cp $(which ls) test_binaries/ls.$(uname -m)
cp $(which bzip2) test_binaries/ls.$(uname -m)
cp $(which ls) artifacts/test_binaries/ls.$(uname -m)
cp $(which bzip2) artifacts/test_binaries/ls.$(uname -m)
ls
#!/bin/bash
set -e
set -x
mkdir -p artifacts/protected_binaries
main()
{
for i in $(ls artifacts/test_binaries/); do
$PSZ $i artifacts/protected_binaries/$(basename $i.$(hostname))
done
}
main "$@"
#!/bin/bash
set -e
set -x
main()
{
for i in $(ls artifacts/protected_binaries/); do
$i --help
done
}
main "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment