ocw

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2026 License: MIT

README

Open Container Workflow (ocw)

Container-native workflows for local development & CI/CD.

Example

// server.js
require('http').createServer((_, res) => {
  res.end(`Hello world!`);
}).listen(8888);
# hello.yaml
name: Hello World
sequence:
  - id: server
    image: node:25-alpine
    cmd: node server.js

    # Make it a hot-reloading dev server
    background: true
    watch: true
    expose: 8888

Run the workflow with ocw hello.yaml and play around with server.js to see hot-reloading in action ✨

Install

Via Homebrew:

brew tap uncloud-cc/tap
brew install ocw

Via Go:

go install github.com/uncloud-cc/ocw/cmd/ocw

Check if it worked by running ocw --help

Getting started

Feedback

Join the community to ask questions, get help and share feedback.

License

MIT License - see LICENSE file.

Directories

Path Synopsis
cmd
ocw command
schema-gen command
schema-gen generates a JSON Schema from the OCW Go structs.
schema-gen generates a JSON Schema from the OCW Go structs.
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL