Browse Source

Update API key

master
David Muckle 7 months ago
parent
commit
ad6e827927
2 changed files with 12 additions and 12 deletions
  1. 11
    11
      .deploy.sh
  2. 1
    1
      .travis.yml

+ 11
- 11
.deploy.sh View File

@@ -1,16 +1,16 @@
#!/bin/bash
if [ "$TRAVIS_BRANCH" == "master" ]; then
source ~/virtualenv/python2.7/bin/activate
pip install copr-cli simplejson jinja2
openssl aes-256-cbc -K $encrypted_403c23673bf1_key -iv $encrypted_403c23673bf1_iv -in .copr.enc -out .copr -d
copr-cli --config .copr build --nowait ${COPR_REPOSITORY} *.src.rpm
sudo apt-get install alien
sudo alien *[^src].rpm
gem install package_cloud
package_cloud yank dvdmuckle/minsh/ubuntu/trusty *.deb
package_cloud push dvdmuckle/minsh/ubuntu/trusty *.deb
package_cloud yank dvdmuckle/minsh/ubuntu/xenial *.deb
package_cloud push dvdmuckle/minsh/ubuntu/xenial *.deb
source ~/virtualenv/python2.7/bin/activate
pip install copr-cli simplejson jinja2
openssl aes-256-cbc -K $encrypted_403c23673bf1_key -iv $encrypted_403c23673bf1_iv -in copr.enc -out .copr -d
copr-cli --config .copr build --nowait ${COPR_REPOSITORY} *.src.rpm
sudo apt-get install alien
sudo alien *[^src].rpm
gem install package_cloud
package_cloud yank dvdmuckle/minsh/ubuntu/trusty *.deb
package_cloud push dvdmuckle/minsh/ubuntu/trusty *.deb
package_cloud yank dvdmuckle/minsh/ubuntu/xenial *.deb
package_cloud push dvdmuckle/minsh/ubuntu/xenial *.deb
else
echo "Not on master branch, not deploying"
fi

+ 1
- 1
.travis.yml View File

@@ -6,7 +6,7 @@ env:
- COPR_REPOSITORY=dvdmuckle/minsh
- OS_ARCH=x86_64
matrix:
- OS_TYPE=fedora OS_DIST=fedora OS_VERSION=26
- OS_TYPE=fedora OS_DIST=fedora OS_VERSION=29
services:
- docker
install: true

Loading…
Cancel
Save