8000 GitHub - skel84/inception
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

skel84/inception

 
 

Repository files navigation

Inception example

This is an example of a system for automatically creating pipelines that was created in order to create a video of it working, rather than as an example of good code for such a system. It isn't intended to be used for anything real, or to be a particularly good example. It has been deliberately kept short and simple.

Install requirements

Run the GoCD server and agent

  • docker-compose up -d

See GoCD server running

View http://localhost:8153

  • on a mac you'll need to do something special like docker-machine ip default to find the appropriate ip address to use instead of "localhost".

Set up inception pipeline

  • docker-compose run configure bash

Inside container just started, run:

./create_inception_pipeline.py

Note that this will run a script curled from my GitHub account. Don't run it until you have read the code and understood what it is doing.

Trigger inception

either:

or:

from within the container you just used for ./create_inception_pipeline.py:

  • curl -X POST http://go-server:8153/go/api/pipelines/inception/schedule

or:

wait up to an hour (you could reduce the poll time by changing the value passed in to set_timer in create_inception_pipeline.py.

Create new repos

Do something that changes pipeline

  • if you are me, edit one of the "command.txt" files in one of the repos in https://github.com/teamoptimization
  • alternatively, clone this repo and edit inception.py (as in Create new repos), then edit one of the "command.txt" files in one of the relevant repos

FAQ

The server says it can't resolve bitbucket.com - follow these instructions.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.6%
  • Shell 9.4%
0