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
|
||||
- install-distro-packages
|
||||
- revoke-sudo
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
VENV="deploy-guide"
|
||||
GUIDEDIR="deploy-guide"
|
||||
!include-raw-escape: include/run-deploy-guide.sh
|
||||
- shell:
|
||||
!include-raw-escape:
|
||||
- include/deploy-guide-pre.sh
|
||||
- include/run-deploy-guide.sh
|
||||
|
||||
publishers:
|
||||
- scp:
|
||||
@ -153,11 +152,10 @@
|
||||
- zuul-git-prep-upper-constraints
|
||||
- install-distro-packages
|
||||
- revoke-sudo
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
VENV="deploy-guide"
|
||||
GUIDEDIR="deploy-guide"
|
||||
!include-raw-escape: include/run-deploy-guide.sh
|
||||
- shell:
|
||||
!include-raw-escape:
|
||||
- include/deploy-guide-pre.sh
|
||||
- include/run-deploy-guide.sh
|
||||
- add-docs-root-marker:
|
||||
docsrootdir: deploy-guide/build/html/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user