2020-05-20 16:26:28 +00:00
|
|
|
pinned_go: &pinned_go go=1.12.9-1
|
2019-11-04 20:28:48 +00:00
|
|
|
build_dir: &build_dir /cfsetup_build
|
2019-03-29 23:05:11 +00:00
|
|
|
default-flavor: stretch
|
2018-10-19 19:01:08 +00:00
|
|
|
stretch: &stretch
|
2018-07-24 19:55:18 +00:00
|
|
|
build:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- build-essential
|
|
|
|
post-cache:
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=amd64
|
2018-07-25 21:05:46 +00:00
|
|
|
- make cloudflared
|
|
|
|
build-deb:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- build-essential
|
|
|
|
- fakeroot
|
|
|
|
- rubygem-fpm
|
|
|
|
post-cache:
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=amd64
|
|
|
|
- make cloudflared-deb
|
2020-06-26 18:47:11 +00:00
|
|
|
publish-deb:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- build-essential
|
|
|
|
- fakeroot
|
|
|
|
- rubygem-fpm
|
|
|
|
post-cache:
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=amd64
|
|
|
|
- make publish-deb
|
2018-07-26 20:45:18 +00:00
|
|
|
release-linux-amd64:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- build-essential
|
|
|
|
post-cache:
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=amd64
|
|
|
|
- make release
|
2020-06-23 21:23:40 +00:00
|
|
|
github-release-linux-amd64:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- build-essential
|
|
|
|
- python3-setuptools
|
|
|
|
- python3-pip
|
|
|
|
post-cache:
|
|
|
|
- pip3 install pygithub
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=amd64
|
|
|
|
- make github-release
|
2018-07-26 20:45:18 +00:00
|
|
|
release-linux-armv6:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- crossbuild-essential-armhf
|
|
|
|
- gcc-arm-linux-gnueabihf
|
|
|
|
post-cache:
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=arm
|
|
|
|
- export CC=arm-linux-gnueabihf-gcc
|
|
|
|
- make release
|
2020-06-23 21:23:40 +00:00
|
|
|
github-release-linux-armv6:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- crossbuild-essential-armhf
|
|
|
|
- gcc-arm-linux-gnueabihf
|
|
|
|
- python3-setuptools
|
|
|
|
- python3-pip
|
|
|
|
post-cache:
|
|
|
|
- pip3 install pygithub
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=arm
|
|
|
|
- export CC=arm-linux-gnueabihf-gcc
|
|
|
|
- make github-release
|
2018-07-26 20:45:18 +00:00
|
|
|
release-linux-386:
|
2019-03-29 23:05:11 +00:00
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- gcc-multilib
|
|
|
|
post-cache:
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=386
|
|
|
|
- make release
|
2020-06-23 21:23:40 +00:00
|
|
|
github-release-linux-386:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- gcc-multilib
|
|
|
|
- python3-setuptools
|
|
|
|
- python3-pip
|
|
|
|
post-cache:
|
|
|
|
- pip3 install pygithub
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=386
|
|
|
|
- make github-release
|
2018-07-26 20:45:18 +00:00
|
|
|
release-windows-amd64:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- gcc-mingw-w64
|
|
|
|
post-cache:
|
|
|
|
- export GOOS=windows
|
|
|
|
- export GOARCH=amd64
|
|
|
|
- export CC=x86_64-w64-mingw32-gcc
|
|
|
|
- make release
|
2020-06-23 21:23:40 +00:00
|
|
|
github-release-windows-amd64:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- gcc-mingw-w64
|
|
|
|
- python3-setuptools
|
|
|
|
- python3-pip
|
|
|
|
post-cache:
|
|
|
|
- pip3 install pygithub
|
|
|
|
- export GOOS=windows
|
|
|
|
- export GOARCH=amd64
|
|
|
|
- export CC=x86_64-w64-mingw32-gcc
|
|
|
|
- make github-release
|
2018-07-26 20:45:18 +00:00
|
|
|
release-windows-386:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- gcc-mingw-w64
|
|
|
|
post-cache:
|
|
|
|
- export GOOS=windows
|
|
|
|
- export GOARCH=386
|
|
|
|
- export CC=i686-w64-mingw32-gcc-win32
|
|
|
|
- make release
|
2020-06-23 21:23:40 +00:00
|
|
|
github-release-windows-386:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- gcc-mingw-w64
|
|
|
|
- python3-setuptools
|
|
|
|
- python3-pip
|
|
|
|
post-cache:
|
|
|
|
- pip3 install pygithub
|
|
|
|
- export GOOS=windows
|
|
|
|
- export GOARCH=386
|
|
|
|
- export CC=i686-w64-mingw32-gcc-win32
|
|
|
|
- make github-release
|
2018-07-25 21:05:46 +00:00
|
|
|
test:
|
|
|
|
build_dir: *build_dir
|
|
|
|
builddeps:
|
|
|
|
- *pinned_go
|
|
|
|
- build-essential
|
|
|
|
post-cache:
|
|
|
|
- export GOOS=linux
|
|
|
|
- export GOARCH=amd64
|
2019-11-04 20:28:48 +00:00
|
|
|
# cd to a non-module directory: https://github.com/golang/go/issues/24250
|
|
|
|
- (cd / && go get github.com/BurntSushi/go-sumtype)
|
|
|
|
- export PATH="$HOME/go/bin:$PATH"
|
2018-07-25 21:05:46 +00:00
|
|
|
- make test
|
2020-03-30 19:36:32 +00:00
|
|
|
update-homebrew:
|
|
|
|
builddeps:
|
2020-06-16 00:08:10 +00:00
|
|
|
- openssh-client
|
2020-03-30 19:36:32 +00:00
|
|
|
- s3cmd
|
|
|
|
post-cache:
|
|
|
|
- .teamcity/update-homebrew.sh
|
2018-10-19 19:01:08 +00:00
|
|
|
|
2019-02-15 20:57:02 +00:00
|
|
|
jessie: *stretch
|
2019-11-12 18:50:41 +00:00
|
|
|
|
2020-05-20 16:26:28 +00:00
|
|
|
buster: *stretch
|
|
|
|
|
2019-11-12 18:50:41 +00:00
|
|
|
# cfsetup compose
|
|
|
|
default-stack: test_dbconnect
|
|
|
|
test_dbconnect:
|
|
|
|
compose:
|
|
|
|
up-args:
|
|
|
|
- --renew-anon-volumes
|
|
|
|
- --abort-on-container-exit
|
|
|
|
- --exit-code-from=cloudflared
|
|
|
|
files:
|
|
|
|
- dbconnect_tests/dbconnect.yaml
|