initial ssh config, add encrypted rsa keys
This commit is contained in:
parent
4f8b11d56f
commit
b9cd96b269
46
.travis.yml
46
.travis.yml
|
@ -2,15 +2,24 @@ language: cpp
|
|||
sudo: required
|
||||
dist: trusty
|
||||
notifications:
|
||||
irc: "chat.freenode.net#zoneminder-dev"
|
||||
irc: chat.freenode.net#zoneminder-dev
|
||||
branches:
|
||||
except:
|
||||
- modern
|
||||
cache: ccache
|
||||
addons:
|
||||
sauce_connect:
|
||||
username: "zoneminder"
|
||||
access_key: "046ec7c1-c598-4e7e-949a-f86e725d1722"
|
||||
ssh_known_hosts: zmrepo.zoneminder.com
|
||||
apt:
|
||||
sources:
|
||||
- sourceline: ppa:iconnor/zoneminder
|
||||
- key_url: http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4D0BF748776FFB04
|
||||
packages:
|
||||
- gdebi
|
||||
- yum-utils
|
||||
- patch
|
||||
- git
|
||||
- curl
|
||||
- sshfs
|
||||
env:
|
||||
matrix:
|
||||
- OS=el DIST=6
|
||||
|
@ -24,28 +33,23 @@ compiler:
|
|||
services:
|
||||
- mysql
|
||||
- docker
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
# We need this ppa for libsys-meminfo-perl
|
||||
- sourceline: 'ppa:iconnor/zoneminder'
|
||||
- key_url: 'http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4D0BF748776FFB04'
|
||||
packages:
|
||||
- gdebi
|
||||
- yum-utils
|
||||
- patch
|
||||
- git
|
||||
- curl
|
||||
script:
|
||||
- utils/packpack/startpackpack.sh
|
||||
- utils/packpack/installzm.sh
|
||||
|
||||
before_deploy:
|
||||
- openssl aes-256-cbc -K $encrypted_92a2ad18ba0b_key -iv $encrypted_92a2ad18ba0b_iv
|
||||
-in deploy_rsa.enc -out /tmp/deploy_rsa -d
|
||||
- eval "$(ssh-agent -s)"
|
||||
- chmod 600 /tmp/deploy_rsa
|
||||
- ssh-add /tmp/deploy_rsa
|
||||
|
||||
deploy:
|
||||
# Deploy packages to PackageCloud
|
||||
provider: packagecloud
|
||||
username: ${PACKAGECLOUD_USER}
|
||||
repository: ${PACKAGECLOUD_REPO}
|
||||
token: ${PACKAGECLOUD_TOKEN}
|
||||
dist: ${OS}/${DIST}
|
||||
username: "${PACKAGECLOUD_USER}"
|
||||
repository: "${PACKAGECLOUD_REPO}"
|
||||
token: "${PACKAGECLOUD_TOKEN}"
|
||||
dist: "${OS}/${DIST}"
|
||||
package_glob: build/*.{deb,rpm}
|
||||
skip_cleanup: true
|
||||
on:
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue