https://github.com/marc0der/grails-cloud-bees
A CloudBees API plugin for Grails
https://github.com/marc0der/grails-cloud-bees
Last synced: 7 months ago
JSON representation
A CloudBees API plugin for Grails
- Host: GitHub
- URL: https://github.com/marc0der/grails-cloud-bees
- Owner: marc0der
- License: gpl-2.0
- Created: 2011-05-05T15:35:12.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-12-03T12:52:04.000Z (almost 13 years ago)
- Last Synced: 2025-03-26T18:43:49.095Z (8 months ago)
- Language: Groovy
- Homepage:
- Size: 265 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CloudBees Plugin
## Description
CloudBees provides Platform as a Service for Java that offers a complete end-to-end environment, from development to production. As a Java (and hence, Groovy & Grails) developer, you can more easily create quality software by putting your code into the DEV@cloud build system, and from there instantly publishing your application to the cloud using RUN@cloud for Java.
This operation requires interaction with the CloudBees API through their SDK. This plugin exposes the CloudBees SDK API through a series of command line scripts. The CloudBees SDK does not need to be installed on your box for this to work. Simply install the plugin and start invoking commands on the cloud.
## Installation
grails install-plugin cloud-bees
## Application Configuration
Insert the following lines in your `grails-app/conf/Config.groovy` file:
cloudbees.api.url='https://api.cloudbees.com/api'
cloudbees.api.key='CLOUD_BEES_API_KEY'
cloudbees.api.secret='CLOUD_BEES_API_SECRET'
Provide the API key and secret as required.
## Commands
All commands are issued prefixed by the grails command, or in the interactive shell. e.g
grails bees-app-list
The following commands are provided:
bees-app-checksums
bees-app-delete
bees-app-deploy
bees-app-info
bees-app-list
bees-app-restart
bees-app-start
bees-app-stop
bees-app-tail LOGNAME
bees-db-create
bees-db-delete
bees-db-info
bees-db-list
All commands have comprehensive help, which can be viewed as follows:
$ grails help bees-app-info
…
Environment set to development
grails bees-app-info -- Returns the basic information about an application.
Usage (optionals in square brackets):
grails bees-app-info appId : the application id (in the form user/appname)
## Source Code
Source code can be found on GitHub at: https://github.com/marcoVermeulen/grails-cloud-bees