rosco

A bakery for deployable images

  • 所有者: spinnaker/rosco
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Rosco

Build Status

A bakery for use by Spinnaker to produce machine images.

It presently supports producing Alibaba Cloud images, Google Compute Engine images, Huawei Cloud images, AWS amis and Azure images. It relies on packer and can be easily extended to support additional platforms.

It exposes a REST api which can be experimented with via the Swagger UI: http://localhost:8087/swagger-ui.html

Developing rosco

Need to run rosco locally for development? Here's what you need to setup and run:

Environment Setup

git clone git@github.com:spinnaker/rosco.git
git clone git@github.com:spinnaker/spinnaker.git

Docker Setup (runs redis locally)

docker-machine create --virtualbox-disk-size 8192 --virtualbox-memory 8192 -d virtualbox spinnaker
eval $(docker-machine env spinnaker)
cd spinnaker/experimental/docker-compose
docker-compose up -d redis

Verify redis

docker run -it --link redis:redis --rm redis redis-cli -h redis -p 6379
(printf "PING\r\n";), nc -v localhost 6379

IDE setup

Generate Intellij gradle project files

./gradlew idea

Apply groovy code formatting scheme

  1. Preferences -> Editor -> Code Style -> Manage ... -> Import -> select codestyle.xml from the project directory.
  2. Apply the 'spinnaker' scheme.

Running App

./gradlew

Debugging

To start the JVM in debug mode, set the Java system property DEBUG=true:

./gradlew -DDEBUG=true

The JVM will then listen for a debugger to be attached on port 8187. The JVM will not wait for the debugger
to be attached before starting Rosco; the relevant JVM arguments can be seen and modified as needed in build.gradle.

Verifying

curl -v localhost:8087/bakeOptions

Swagger

http://localhost:8087/swagger-ui.html

Docker teardown

docker-compose stop
docker-machine rm spinnaker

主要指标

概览
名称与所有者spinnaker/rosco
主编程语言Groovy
编程语言Groovy (语言数: 6)
平台
许可证Apache License 2.0
所有者活动
创建于2015-01-05 20:52:23
推送于2025-04-09 04:58:31
最后一次提交2025-04-08 14:21:48
发布数236
最新版本名称v1.26.0 (发布于 )
第一版名称v0.9.0 (发布于 )
用户参与
星数91
关注者数65
派生数645
提交数1.1k
已启用问题?
问题数0
打开的问题数0
拉请求数1037
打开的拉请求数4
关闭的拉请求数99
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?