Skip to content

qubell-bazaar/component-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

component-skeleton

Qubell Bazaar quickstart helper.

Quickstart

  1. Register in Travis and install travis tool

     gem install travis
     travis login
    
  2. Initialize your repo with skeleton

     python skeleton.py --new --dir ./my-existing-repo
    
  3. Setup your Qubell account, Qubell Cloud Account and S3 publishing settings for build and GitHub token. Note, bash-special sybmols such as braces, parentheses, backslashes, and pipe symbols should be escaped.

     travis encrypt --add env.global QUBELL_TENANT="https://express.qubell.com" QUBELL_ORGANIZATION="My Pre-Created Travis Organization"
     travis encrypt --add env.global QUBELL_USER="your+account@example.com" QUBELL_PASS="password"
    
     travis encrypt --add env.global PROVIDER_TYPE="aws-ec2" PROVIDER_REGION="us-east-1"
     travis encrypt --add env.global PROVIDER_IDENTITY="0123456789ABCDEFGHIJ" PROVIDER_CREDENTIAL="0123456789abcdefghijklmnopqrstuvwxyzABCD"
    
     travis encrypt --add env.global ARTIFACTS_S3_BUCKET="my-project-bucket" ARTIFACTS_AWS_REGION="us-east-1"
     travis encrypt --add env.global ARTIFACTS_AWS_ACCESS_KEY_ID="0123456789ABCDEFGHIJ"
     travis encrypt --add env.global ARTIFACTS_AWS_SECRET_ACCESS_KEY="0123456789abcdefghijklmnopqrstuvwxyzABCD"
    
     travis encrypt --add env.global GH_TOKEN="1234567890abcdefghijklmopqrstuvwxyz98765"
     travis encrypt --add env.global GIT_NAME='CI Travis' GIT_EMAIL='support@travis-ci.org'
    
  4. By default, manifest should be named as ${REPO_NAME}.yml and use cookbooks from ${S3_BACKET_URL}/${REPO_NAME}-cookbooks-stable-${REVISION}.tar.gz. To use your own custom layout, edit build.sh appropriately.

  5. Enable your repo on Travis Profile page

  6. Commit and push your changes

     git commit --all --message 'Initial travis integration'
     git push origin
    

About

Basic skeleton for components

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7