-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
40 lines (34 loc) · 2.27 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
sudo: required
git:
depth: false
services:
- docker
env:
global:
# DOCKER_PASSWORD
- secure: "phB2cigjMKR2SJ2VicRHkUdIIhIdLOmYEOaEA2dpcU2qbQob/5pIh0D9rJmcidRRLVXQ/Sk8M0EQ2LZpz93cFdPEf63Lz+lE5InN8Amyg5DmSsv0rycw0rjiAIJMVCmZxeejWbhxq1ndRI2LXzYGFiqDAOHHFhfB+dstYNlD1E6B/ZQ+E558ncoTmsHtX5W9H30xeTycOg0cDNwnJPpYN0vSRFBftQSck8SvgJO2xAk2DeEcg45nnRMenZsID+nC4loPszuTbFMJxEZUd50Kn38tWs4b0cWilIFE9uJPsQHHz2aI3YUY8tbAs/bccou6HUZc6QKgCB5PWS41Eu2MTJowNPKX2spGpUU9Dc0Qk32SmrlziOBZ/g9AEGQXpmpiA0TXf8pCT7sVrMc9oP321346GNrQbWWh0zD+MAcd+9+7fdbK8HzpLok9yEsmjR0FTYMcDKLP/Xe1KiBUTz65ItgkMNK4xPmKUIZfUgcvzQIvFViIMV2Igoznmppa/wldc9F7nraOdkS6F5e3rAFJp6BrYdXvoyTD6FPo7fDp1cST8B/ElC/oW0lpKO8ZJMJYvUm4+Ee/HOsDPpP5O78Wv54FblBDg9ryIlR5gPGF/OdIng3SgurPGq8r7iivK8/BiYrP/lcIJhOuYEayQbVOCpdnqSncFWnfxU/TH/urDRA="
- DOCKER_USERNAME: untangleengineering
SSH_KEY: /tmp/travis-buildbot.rsa
PACKAGE_SERVER_IP: 52.2.228.218
PKGTOOLS_COMMIT: origin/${TRAVIS_BRANCH}
UPLOAD: scp
jobs:
- REPOSITORY: bullseye
ARCHITECTURE: amd64
- REPOSITORY: bullseye
ARCHITECTURE: arm64
before_install:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker pull untangleinc/ngfw:${REPOSITORY}-build-multiarch
- openssl aes-256-cbc -K $encrypted_760a309a5163_key -iv $encrypted_760a309a5163_iv -in .travis/buildbot.rsa.enc -out ${SSH_KEY} -d
- chmod 600 ${SSH_KEY}
script:
- docker-compose -f docker-compose.build.yml run pkgtools
- docker-compose -f docker-compose.build.yml run build
notifications:
email: false
slack:
rooms:
secure: r9fH3mBG95DE3kiaKs+O/1HzCt7bn0FgWrkzmS2jlsszSsp3E49KTfH/3O/BEXVqxY+JN6C+6YfJyH5OcdGu7dks+/AxRVCj6sK6vT5XgTZIBr1HXSkgmoqiZKk93pLKYZCJJ7vcslUXIlVPWmJc1lef+Ou4lR5Tx7p160YBm9I9NO+AuSZQByVGCU27+Vioac2AWytZPmP19TAGx1ymP/RnOSppfpon3bEvx1KiJXsftTrgR6B89PKygd04BLrWlqEDUwt/D+jxraXKhOtI9I7CNp8OIicAgvJMsIk31NsIhTRJgBH/+DAnCIUdo1v4x7uAvngisJJGuqMNP6L3IyOJTmZDh05bM6EhL02e7lND7RVYOedfN7Ru8mZs7TpoLePjeDCN/2zgyEIwRvDlMeDFwufm+q2xxa/uHUCUw/oSxTPlycvUGoL+kk8m1lCUW+Gltwux01nuP+MeUSOTPBNBMCay3qVFHQhgSEoo0tE2m7jBcbtFP6qskyXShsww0v9XGqtGp04ENS1GIpajEQqdo9HcJUQqw3bKwfIuWUlVoaCYXREEPB5cS7B1RlYhpqbNle7MZC9vBywXzZM4q7CrolhZ46MKiXmpAmnYRsgAlG+OUDv2bDCMumHlsYTqio87M6s1XMITHStRZWBhMFvk6TL9yuLDrGXgbDTFtUs=
on_success: change
on_failure: always