mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 23:55:47 -06:00
* CI: ee msi build * shellcheck * Fake it so that we get a ee msi build on pull request runs * fix error in prep job * save msi for testing * get enterprise zip * Fixes to version and hash detection. * Removes ci test code
29 lines
880 B
Bash
Executable File
29 lines
880 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Build will be found in ./dist and ./dist-enterprise
|
|
# integrated circleci will have all of the code in /master
|
|
# and the builds will be found in $HOME
|
|
mkdir -p /tmp/dist
|
|
if [ -d '/home/xclient/repo/dist/' ]; then
|
|
ls -al /home/xclient/repo/dist/
|
|
cp /home/xclient/repo/dist/*.zip /tmp/dist/
|
|
echo "Contents of /tmp/dist"
|
|
ls -al /tmp/dist
|
|
fi
|
|
# nssm download has been unreliable, use a cached copy of it
|
|
echo "Caching NSSM"
|
|
mkdir -p /tmp/cache
|
|
cp /master/cache/nssm-2.24.zip /tmp/cache
|
|
# a build can be specified, which will be pulled down
|
|
#python3 generator/build.py --build 5.4.3
|
|
echo "LIGHT config"
|
|
ls -al /home/xclient/wix/light.exe.config
|
|
cat /home/xclient/wix/light.exe.config
|
|
cp /master/light.exe.config /home/xclient/wix/light.exe.config
|
|
cat /home/xclient/wix/light.exe.config
|
|
cd /master || exit 1
|
|
echo "Building MSI"
|
|
python3 generator/build.py "$@"
|
|
#
|
|
#
|