Fix deploy-guide job
We cannot mix code and includes, this needs to be separated. Use two include commands and split out the initial content to another file. Change-Id: I04584e301078cc851ae258525dc1c4b662ed6c28
This commit is contained in:
parent
a6b87d74d1
commit
39a04df9b0
3
jenkins/jobs/include/deploy-guide-pre.sh
Executable file
3
jenkins/jobs/include/deploy-guide-pre.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash -xe
|
||||||
|
VENV="deploy-guide"
|
||||||
|
GUIDEDIR="deploy-guide"
|
@ -102,11 +102,10 @@
|
|||||||
- zuul-git-prep-upper-constraints
|
- zuul-git-prep-upper-constraints
|
||||||
- install-distro-packages
|
- install-distro-packages
|
||||||
- revoke-sudo
|
- revoke-sudo
|
||||||
- shell: |
|
- shell:
|
||||||
#!/bin/bash -xe
|
!include-raw-escape:
|
||||||
VENV="deploy-guide"
|
- include/deploy-guide-pre.sh
|
||||||
GUIDEDIR="deploy-guide"
|
- include/run-deploy-guide.sh
|
||||||
!include-raw-escape: include/run-deploy-guide.sh
|
|
||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
- scp:
|
- scp:
|
||||||
@ -153,11 +152,10 @@
|
|||||||
- zuul-git-prep-upper-constraints
|
- zuul-git-prep-upper-constraints
|
||||||
- install-distro-packages
|
- install-distro-packages
|
||||||
- revoke-sudo
|
- revoke-sudo
|
||||||
- shell: |
|
- shell:
|
||||||
#!/bin/bash -xe
|
!include-raw-escape:
|
||||||
VENV="deploy-guide"
|
- include/deploy-guide-pre.sh
|
||||||
GUIDEDIR="deploy-guide"
|
- include/run-deploy-guide.sh
|
||||||
!include-raw-escape: include/run-deploy-guide.sh
|
|
||||||
- add-docs-root-marker:
|
- add-docs-root-marker:
|
||||||
docsrootdir: deploy-guide/build/html/
|
docsrootdir: deploy-guide/build/html/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user