Skip to content

Instantly share code, notes, and snippets.

@ViktorOgnev
Last active October 20, 2017 13:51
Show Gist options
  • Save ViktorOgnev/fbaf33edcdb015272119 to your computer and use it in GitHub Desktop.
Save ViktorOgnev/fbaf33edcdb015272119 to your computer and use it in GitHub Desktop.
StriderCD configuration. Builds all packages for stable and win-only for latest
version=`python setup.py --version`
export EMBED_FAM_AGENT=yes
hosts="windows"
pkg_types="msi"
fab clone_fam
if [[ version -eq "3.10" ]]; then
fab -H root@centos-5,root@centos-5-32 -P build_rpm_deps --colorize-errors --ssh-config-path=/root/.ssh/config --user=root
hosts="$hosts,root@ubuntu-1004,root@ubuntu-1004-32,root@centos-5,root@centos-5-32"
pkg_types="$pkg_types_deb_rpm"
fi
fab -H $hosts -P build_binary --colorize-errors --ssh-config-path=/root/.ssh/config --user=root
fab -H ubuntu-1204 build_nsis --colorize-errors --ssh-config-path=/root/.ssh/config --user=root
fab publish_binary:pkg_types=$pkg_types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment