Skip to content

Instantly share code, notes, and snippets.

@mward29
Created November 5, 2016 15:16
Show Gist options
  • Save mward29/6ec7e62c4e9a1f20f1e9227f082cfc1e to your computer and use it in GitHub Desktop.
Save mward29/6ec7e62c4e9a1f20f1e9227f082cfc1e to your computer and use it in GitHub Desktop.
# see https://mycloud.atlassian.net/wiki/display/BITE/Jenkins
project: docs-dev
components:
- name: docs-app
os: linux
dependencies:
- type: debian-package
package: php5
repository: ppa:ondrej/php
- type: debian-package
package: libapache2-mod-php5
- type: debian-package
package: python2.7
- type: debian-package
package: python-pip
- type: pip-package
package: PyGithub
- type: pip-package
package: pyyaml
- type: debian-package
package: couscous
location: https://s3.amazonaws.com/bitesize-sandbox-files/couscous.deb_1.0_amd64.deb
repository:
git: git@github.com:pearsontechnology/kubecon_docs.git
branch: master
env:
- name: GIT_USERNAME
value: some_user
- name: GIT_PASSWORD
value: some_password
build:
- shell: cat /dev/null > couscous.yml
- shell: python docsgen.py
- shell: couscous generate
- shell: mkdir -p var/www/html
- shell: cp run.sh var/
- shell: cp -a .couscous/generated/* var/www/html
- shell: fpm -s dir -n docswebsite --iteration $(date "+%Y%m%d%H%M%S") -t deb var
artifacts:
- location: "*.deb"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment