Merge "Sync files from openstack-manuals with other repos"
This commit is contained in:
commit
51c6c3025a
@ -1,3 +1,17 @@
|
||||
- job:
|
||||
name: propose-openstack-manuals-updates
|
||||
node: proposal
|
||||
|
||||
builders:
|
||||
- revoke-sudo
|
||||
- link-logs
|
||||
- net-info
|
||||
- gerrit-git-prep
|
||||
- shell: /usr/local/jenkins/slave_scripts/propose_update.sh openstack-manuals
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: 'gate-{name}-tox-doc-publish-{envlist}'
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
- link-logs
|
||||
- net-info
|
||||
- gerrit-git-prep
|
||||
- shell: /usr/local/jenkins/slave_scripts/propose_requirements_update.sh
|
||||
- shell: /usr/local/jenkins/slave_scripts/propose_update.sh requirements
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
|
@ -12,8 +12,18 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
INITIAL_COMMIT_MSG="Updated from global requirements"
|
||||
TOPIC="openstack/requirements"
|
||||
OWN_PROJECT=$1
|
||||
if [ -z "$OWN_PROJECT" ] ; then
|
||||
echo "usage: $0 project"
|
||||
exit 1
|
||||
fi
|
||||
if [ "$OWN_PROJECT" == "requirements" ] ; then
|
||||
INITIAL_COMMIT_MSG="Updated from global requirements"
|
||||
TOPIC="openstack/requirements"
|
||||
else
|
||||
INITIAL_COMMIT_MSG="Updated from openstack-manuals"
|
||||
TOPIC="openstack/openstack-manuals"
|
||||
fi
|
||||
USERNAME="proposal-bot"
|
||||
BRANCH=$ZUUL_REF
|
||||
ALL_SUCCESS=0
|
||||
@ -80,7 +90,11 @@ EOF
|
||||
continue
|
||||
fi
|
||||
|
||||
python update.py $PROJECT_DIR
|
||||
if [ "$OWN_PROJECT" == "requirements" ] ; then
|
||||
python update.py $PROJECT_DIR
|
||||
else
|
||||
bash -xe tools/sync-projects.sh $PROJECT_DIR
|
||||
fi
|
||||
|
||||
pushd $PROJECT_DIR
|
||||
if ! git diff --exit-code HEAD ; then
|
@ -2570,6 +2570,7 @@ projects:
|
||||
- name: openstack-doc-translation
|
||||
post:
|
||||
- openstack-manuals-tox-doc-publishdocs
|
||||
- propose-openstack-manuals-updates
|
||||
|
||||
- name: openstack/operations-guide
|
||||
template:
|
||||
|
Loading…
x
Reference in New Issue
Block a user