This page (revision-4) was last changed on 23-Apr-2022 17:06 by Harry Metske

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
4 23-Apr-2022 17:06 5 KB Harry Metske to previous
3 23-Apr-2022 17:05 4 KB Harry Metske to previous | to last
2 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
1 23-Apr-2022 17:05 1 KB Harry Metske to last

Page References

Incoming links Outgoing links
Concourse...nobody

Version management

Difference between version and

At line 140 added 52 lines
!!! Create pipeline
Save the following in hello.yml:
%%prettify
{{{
jobs:
- name: hello-world
plan:
- task: say-hello
config:
platform: linux
image_resource:
type: docker-image
source: {repository: ubuntu}
run:
path: echo
args: ["Hello, world!"]
}}}
%%
And create the pipeline with {{pipelines fly --target=lite set-pipeline --pipeline=hello-world --config=hello.yml}} :
%%prettify
{{{
➜ pipelines fly --target=lite set-pipeline --pipeline=hello-world --config=hello.yml
jobs:
job hello-world has been added:
name: hello-world
plan:
- task: say-hello
config:
platform: linux
image_resource:
type: docker-image
source:
repository: ubuntu
run:
path: echo
args:
- Hello, world!
dir: ""
apply configuration? [yN]: y
pipeline created!
you can view your pipeline here: http://172.17.0.3:8080/teams/main/pipelines/hello-world
the pipeline is currently paused. to unpause, either:
- run the unpause-pipeline command
- click play next to the pipeline in the web ui
}}}
%%