Sha256: 6d525826cea09f3f33ddd7530b0daa75dedc08dd8516d1421ea66e29aed9b837

Contents?: true

Size: 1.9 KB

Versions: 5

Compression:

Stored size: 1.9 KB

Contents

box: mizzy/serverspec-base@0.0.5
build:
  steps:
    - script:
        name: Make $HOME/.ssh directory
        code: mkdir -p $HOME/.ssh
    - create-file:
        name: Put SSH public key
        filename: $HOME/.ssh/id_rsa.pub
        overwrite: true
        hide-from-log: true
        content: $DIGITALOCEAN_SSH_KEY_PUBLIC
    - create-file:
        name: Put SSH private key
        filename: $HOME/.ssh/id_rsa
        overwrite: true
        hide-from-log: true
        content: $DIGITALOCEAN_SSH_KEY_PRIVATE
    - script:
        name: Run chmod 0400 $HOME/.ssh/id_rsa
        code: chmod 0400 $HOME/.ssh/id_rsa
    - script:
        name: Run setup.sh
        code: $WORKING_DIR/setup.sh
    - script:
        name: Run vagrant up centos65
        code: vagrant up centos65 --provider=digital_ocean
        cwd: $WORKING_DIR
    - script:
        name: Run itamae
        code: bundle exec itamae ssh --host centos65 --vagrant recipe.rb
        cwd: $WORKING_DIR
    - script:
        name: Run vagrant reload centos65
        code: vagrant reload centos65
        cwd: $WORKING_DIR
    - script:
        name: Run rake spec:centos65
        code: DIGITALOCEAN=true rake spec:centos65
        cwd: $WORKING_DIR
    - script:
        name: Run vagrant up ubuntu1404
        code: vagrant up ubuntu1404 --provider=digital_ocean
        cwd: $WORKING_DIR
    - script:
        name: Run itamae
        code: bundle exec itamae ssh --host ubuntu1404 --vagrant recipe.rb
        cwd: $WORKING_DIR
    - script:
        name: Run vagrant reload ubuntu1404
        code: vagrant reload ubuntu1404
        cwd: $WORKING_DIR
    - script:
        name: Run rake spec:ubuntu1404
        code: DIGITALOCEAN=true rake spec:ubuntu1404
        cwd: $WORKING_DIR

  after-steps:
    - script:
        name: Run vagrant destroy
        code: vagrant destroy --force
        cwd: $WORKING_DIR
    - 1syo/idobata-notify@0.1.1:
        token: $IDOBATA_TOKEN

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
specinfra-1.27.5 wercker.yml
specinfra-1.27.4 wercker.yml
specinfra-1.27.3 wercker.yml
specinfra-1.27.2 wercker.yml
specinfra-1.27.1 wercker.yml