Skip to content

Commit d41a4d7

Browse files
authored
Merge pull request #905 from jputrino/master
Fixes #904 for master
2 parents 3ff59cd + f3867a7 commit d41a4d7

7 files changed

Lines changed: 60 additions & 39 deletions

File tree

.travis.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,21 @@ deploy:
6464
python: 2.7
6565
skip_cleanup: true
6666
# deploy docs to s3
67-
# if this is not a tagged release, the docs will deploy to /products/openstack/lbaasv2-driver/$TRAVIS_BRANCH/
67+
# docs on master only deploy to /products/openstack/lbaasv2-driver/master/
6868
- provider: script
6969
skip_cleanup: true
7070
on:
7171
branch: master
7272
repo: F5Networks/f5-openstack-lbaasv2-driver
7373
condition: $TRAVIS_TAG = ""
7474
script:
75-
- ./docs/scripts/deploy-docs.sh publish-product-docs-to-prod openstack/lbaasv2-driver newton
76-
# if this is a tagged release, the docs go to /products/openstack/lbaasv2-driver/$TRAVIS_BRANCH/vX.Y
77-
- provider: script
78-
skip_cleanup: true
79-
on:
80-
tags: true
81-
repo: F5Networks/f5-openstack-lbaasv2-driver
82-
script:
83-
- ./docs/scripts/deploy-docs.sh publish-product-docs-to-prod openstack/lbaasv2-driver/$TRAVIS_BRANCH $RELEASE_TAG
75+
- ./docs/scripts/deploy-docs.sh publish-product-docs-to-prod openstack/lbaasv2-driver master
76+
# For tagged releases, the docs publish at /products/openstack/lbaasv2-driver/<branch-name>/vX.Y
77+
# This section is commented out on the master branch because we don't need to publish tagged releases to /master
78+
#- provider: script
79+
# skip_cleanup: true
80+
# on:
81+
# tags: true
82+
# repo: F5Networks/f5-openstack-lbaasv2-driver
83+
# script:
84+
# - ./docs/scripts/deploy-docs.sh publish-product-docs-to-prod openstack/lbaasv2-driver/master $RELEASE_TAG

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
help:
66
@echo " docker-preview to build live preview of docs using sphinx-autobuild in a docker container"
77
@echo " docker-test to build and test docs in a docker container"
8+
@echo " docker-html one-time HTML build in a docker container"
89

910
# Build live preview docs in a docker container
1011
.PHONY: docker-preview
@@ -17,4 +18,11 @@ docker-preview:
1718
.PHONY: docker-test
1819
docker-test:
1920
make -C docs clean
20-
./docs/scripts/docker-docs.sh ./docs/scripts/test-docs.sh
21+
./docs/scripts/docker-docs.sh ./docs/scripts/test-docs.sh
22+
23+
24+
# build HTML docs in a docker container
25+
.PHONY: docker-html
26+
docker-html:
27+
make -C docs clean
28+
./docs/scripts/docker-docs.sh make -C docs/ html

docs/README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ F5 Driver for OpenStack LBaaSv2
1616
:titlesonly:
1717
:hidden:
1818

19+
RELEASE-NOTES
1920
environment-generator
2021

21-
version |release|
22+
version |version|
2223
-----------------
2324

24-
|release-notes|
25+
:ref:`Release Notes`
2526

2627
The |driver-long| is a Neutron LBaaSv2 service provider driver (``f5lbaasdriver``) that runs within the `OpenStack Neutron`_ controller.
2728
The |driver-short| is an alternative to the default Neutron LBaaS service provider driver.

docs/RELEASE-NOTES.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.. index:: Release Notes
2+
3+
.. _Release Notes:
4+
5+
Release Notes
6+
=============
7+
8+
v10.2.0 (Newton)
9+
----------------
10+
11+
Added Functionality
12+
```````````````````
13+
* Enhanced F5 Agent resiliency.
14+
- F5 Agents manage BIG-IPs dynamically, resulting in improved tolerance for BIG-IP device failures.
15+
- F5 Agents will continue to run during BIG-IP device downtime and discover when BIG-IP devices come back online.
16+
17+
Bug Fixes
18+
`````````
19+
* See the `changelog <https://github.com/F5Networks/f5-openstack-lbaasv2-driver/compare/v10.1.0...v10.2.0>`_ for the full list of changes in this release.
20+
21+
Limitations
22+
```````````
23+
* None noted.

docs/conf.py

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -66,31 +66,23 @@
6666

6767
# General information about the project.
6868
project = u'F5 Driver for OpenStack LBaaSv2'
69-
copyright = u'2017 F5 Networks Inc.'
69+
copyright = u'2018 F5 Networks Inc.'
7070
author = u'F5 Networks'
7171

7272
# The version info for the project you're documenting, acts as replacement for
7373
# |version| and |release|, also used in various other places throughout the
7474
# built documents.
7575
#
76-
# The short X.Y version.
77-
version = VERSION
76+
7877
# The full version, including alpha/beta/rc tags.
78+
version = VERSION
7979
release = VERSION
8080

8181
# OpenStack release
8282
openstack_release = "Newton"
8383

84-
rst_prolog = '''
85-
.. raw:: html
86-
87-
<script type="text/javascript">
88-
var home = "clouddocs.f5.com";
89-
var rtd = "f5-openstack-lbaasv2-driver.readthedocs.io";
90-
91-
if (window.location.hostname === rtd) {window.location.assign("http://" + home + "/products/openstack/lbaasv2-driver/newton");}
92-
</script>
93-
'''
84+
#rst_prolog = '''
85+
#'''
9486

9587
# The language for content autogenerated by Sphinx. Refer to documentation
9688
# for a list of supported languages.
@@ -367,9 +359,6 @@
367359
.. |rpm-download| raw:: html
368360
369361
<a class="btn btn-info" href="https://github.com/F5Networks/f5-openstack-lbaasv2-driver/releases/download/v%(version)s/f5-openstack-lbaasv2-driver-%(version)s-1.el7.noarch.rpm">RPM package</a>
370-
.. |release-notes| raw:: html
371-
372-
<a class="btn btn-success" href="%(base_url)s/products/openstack/lbaasv2-driver/v%(version)s/">Release Notes</a>
373362
.. |agent-long| replace:: F5 Agent for OpenStack Neutron
374363
.. |agent| replace:: :code:`f5-openstack-agent`
375364
.. |driver| replace:: :code:`f5-openstack-lbaasv2-driver`
@@ -379,23 +368,23 @@
379368
<a target="_blank" href="%(base_url)s/products/openstack/agent/%(openstack_release)s">F5 Agent for OpenStack Neutron</a>
380369
.. |driver-short| replace:: F5 driver
381370
.. _OpenStack Neutron: https://docs.openstack.org/neutron/%(openstack_release_l)s/
382-
.. _F5 Agent for OpenStack Neutron: %(base_url)s/products/openstack/%(version)s/agent/
371+
.. _F5 Agent for OpenStack Neutron: %(base_url)s/products/openstack/agent/%(openstack_release_l)s
383372
.. _user documentation: %(base_url)s/cloud/openstack/latest/lbaas
384373
.. _Neutron LBaaS API: https://wiki.openstack.org/wiki/Neutron/LBaaS/API_2.0
385-
.. _available F5 agent: %(base_url)s/products/openstack/%(version)s/agent/
374+
.. _available F5 agent: %(base_url)s/products/openstack/agent/%(openstack_release_l)s
386375
.. _F5 Service Provider Package: %(base_url)s/cloud/openstack/latest/lbaas-prep
387376
.. _Download the latest debian package: |f5_lbaasv2_driver_deb_url|
388377
.. _Download the latest rpm package: |f5_lbaasv2_driver_rpm_url|
389378
.. _Partners: %(base_url)s/cloud/openstack/latest/support/partners.html
390-
.. _Configure and start the F5 Agent: %(base_url)s/products/openstack/%(version)s/agent/index.html#configure-the-agent-long
391-
.. _Capacity-based Scale out: %(base_url)s/cloud/openstack/v1/lbaas/lbaas-differentiated-service-environments.html
392-
.. _Differentiated Service Environments: %(base_url)s/cloud/openstack/v1/lbaas/lbaas-capacity-based-scaleout.html
379+
.. _Configure and start the F5 Agent: %(base_url)s/products/openstack/agent/%(openstack_release_l)s/#configure-the-f5-agent
380+
.. _Capacity-based Scale out: %(base_url)s/cloud/openstack/v1/lbaas/capacity-based-scaleout.html
381+
.. _Differentiated Service Environments: %(base_url)s/cloud/openstack/v1/lbaas/differentiated-service-environments.html
393382
''' % {
394383
'openstack_release': openstack_release,
395384
'openstack_release_l': openstack_release.lower(),
396385
'f5_lbaasv2_driver_shim_url': f5_lbaasv2_driver_shim_url,
397386
'version': version,
398-
'base_url': 'http://clouddocs.f5.com'
387+
'base_url': 'http://clouddocs.f5.com'
399388
}
400389

401390
# Links to external sites (i.e., outside of clouddocs)

docs/scripts/test-docs.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ echo "Building docs with Sphinx"
99
make -C docs html
1010

1111
echo "Checking grammar and style"
12-
write-good `find ./docs -not \( -path ./docs/drafts -prune \) -name '*.rst'` --passive --so --no-illusion --thereIs --cliches || true
12+
write-good `find ./docs -not \( -path ./docs/drafts -prune \) -name '*.rst'` --passive --so --no-illusion --thereIs --cliches
1313

1414
echo "Checking links"
15-
make -C docs linkcheck | grep "broken" || true
16-
15+
make -C docs linkcheck

f5lbaasdriver/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "10.1.0"
1+
__version__ = "10.2.0"

0 commit comments

Comments
 (0)