diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-08-29 16:29:28 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-08-29 16:29:28 +0300 |
commit | 55ab1c78a6fe42c6e0857fa82cab248dcd2f0172 (patch) | |
tree | b289564157c9adcb3e2e669ff97a2f5216d8352d /arch | |
parent | ddc0d58ba826b1d81470af451746a6d4273c8c5f (diff) | |
download | ick2-55ab1c78a6fe42c6e0857fa82cab248dcd2f0172.tar.gz |
Change: no variables for pipelines for ALPHA-1
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ick2-arch.mdwn | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/arch/ick2-arch.mdwn b/arch/ick2-arch.mdwn index 844d76b..1f62d5c 100644 --- a/arch/ick2-arch.mdwn +++ b/arch/ick2-arch.mdwn @@ -70,22 +70,23 @@ This might be expressed as an Ick2 configuration like this: workspace: - git: ssh://git@git.example.com/website.git pipelines: - getsource: - - shell: git clone "$ICK_GIT_URL".git src - ikiwiki: - - shell: mkdir html - - shell: ikiwiki src html - publish: - - shell: rsync -a --delete html/. www-user@www.example.com/srv/http/. + - name: getsource + steps: + - shell: git clone ssh://git@git.example.com/website.git src + - name: ikiwiki + steps: + - shell: mkdir html + - shell: ikiwiki src html + - name: publish + steps: + - shell: rsync -a --delete html/. www-user@www.example.com/srv/http/. Note that pipelines are defined in the configuration. Eventually, Ick2 may come with pre-defined libraries of pipelines that can easily be reused, but it will always be possible for users to define their own. -Pipeline steps will be able to use variables (including environment -variables) so that the code can be reused for many projects. The -mechanism for defining variables and which variables are availble -will be defined as the ALPHA-1 implementation progresses. +Pipeline steps will not be able to use variables, in ALPHA-1. That's +probably going to be added later. Ick2 ALPHA-1 |