This repository was archived by the owner on Apr 15, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
43 lines (38 loc) · 1.7 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language: minimal
dist: focal
env:
- BASE=ubuntu-armhf TARGET=consul
- BASE=ubuntu-armhf TARGET=nomad
- BASE=ubuntu-armhf TARGET=nomad-client
- BASE=ubuntu-armhf TARGET=vault
- BASE=ubuntu-armhf TARGET=hashi-stack
- BASE=ubuntu-armhf TARGET=hashi-stack-extra
- BASE=ubuntu-arm64 TARGET=consul
- BASE=ubuntu-arm64 TARGET=nomad
- BASE=ubuntu-arm64 TARGET=nomad-client
- BASE=ubuntu-arm64 TARGET=vault
- BASE=ubuntu-arm64 TARGET=hashi-stack
- BASE=ubuntu-arm64 TARGET=hashi-stack-extra
before_install:
- sudo unlink /usr/local/bin/packer
- ci/provision.sh
script:
# Output something every 10 minutes or Travis kills the job
- while sleep 9m; do echo "=====[ $SECONDS seconds still running ]====="; done &
- sudo ./build.sh $BASE $TARGET
# Killing background sleep loop
- kill %1
- ls -lh dist
before_deploy:
- cd dist && sudo ../ci/hashgen.sh && cd ..
deploy:
provider: releases
api_key:
secure: eQjdLmRkVDA51X21KeJX+19OkmTvSf0hq8WSHpbN+qG1pphDpy+1NZEGCxYMEIgVxXgHNI0giDx2XyvLzD710RZOAS5n8YmbYbfWcnwsH+RR8N5nKLG5PcSHww7Vp1QrcH6AzgPrbPdqnqWT1XAC4pDUsWfgscBE8zbAX3l+59dXhuvBEQ3ok9FI/Yy6BAqW9ZzrGlCiYs1MgXuqpoOIlH/rpBYvwDkI/MKdPBEjB/VhLCANJBbXcp4mUa2QOvJYRU8nCXW3VNZkU7+pHNPXmGrZ5jHiS9uIeTZpIG5TUmYdikNGAs2JbIkOAmBfGJs5JhqNPVUC8eC15f6bIT4Vc6O5ordL9v1n5Kz8qqwhponfStfeZoZOC/CYD8lJdmE1PLPsSTGUYVOs2WRJ9cct9bqmsX6qoyFNQ9HGolDLREAuo0jnwdBhnREjh3EFeU8VMZCms2JqOZrNrk4TuBLvNRkuOwPUQpRp6gQdMr8sJjSkuV/aj3gAWaGHnKJAQkF10jOs1/ISoDdhoY9lTokZ+GXu6c0n5NRh28hjGdo0rPv4vyWwT6TctfhCh/jCpfAstpsvWOlqmOK0prf0VmpsVhFTQncYjupFqKDLDd2BvWUz7EZ8dHuSqozv1a9x9RIhYiCTVfQc72mVz9JnZQQXgagL+NCT45DQQq6DiniRabM=
file_glob: true
file:
- dist/*.xz
- dist/*.xz.sha256
skip_cleanup: true
on:
tags: true