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:
|
- job-template:
|
||||||
name: 'gate-{name}-tox-doc-publish-{envlist}'
|
name: 'gate-{name}-tox-doc-publish-{envlist}'
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
- link-logs
|
- link-logs
|
||||||
- net-info
|
- net-info
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: /usr/local/jenkins/slave_scripts/propose_requirements_update.sh
|
- shell: /usr/local/jenkins/slave_scripts/propose_update.sh requirements
|
||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
- console-log
|
- console-log
|
||||||
|
@ -12,8 +12,18 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
INITIAL_COMMIT_MSG="Updated from global requirements"
|
OWN_PROJECT=$1
|
||||||
TOPIC="openstack/requirements"
|
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"
|
USERNAME="proposal-bot"
|
||||||
BRANCH=$ZUUL_REF
|
BRANCH=$ZUUL_REF
|
||||||
ALL_SUCCESS=0
|
ALL_SUCCESS=0
|
||||||
@ -80,7 +90,11 @@ EOF
|
|||||||
continue
|
continue
|
||||||
fi
|
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
|
pushd $PROJECT_DIR
|
||||||
if ! git diff --exit-code HEAD ; then
|
if ! git diff --exit-code HEAD ; then
|
@ -2570,6 +2570,7 @@ projects:
|
|||||||
- name: openstack-doc-translation
|
- name: openstack-doc-translation
|
||||||
post:
|
post:
|
||||||
- openstack-manuals-tox-doc-publishdocs
|
- openstack-manuals-tox-doc-publishdocs
|
||||||
|
- propose-openstack-manuals-updates
|
||||||
|
|
||||||
- name: openstack/operations-guide
|
- name: openstack/operations-guide
|
||||||
template:
|
template:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user