Skip to content

Commit d1f6813

Browse files
authored
Merge pull request #80 from stackhpc/reno
Generate release notes
2 parents 9ea43f7 + cbf451d commit d1f6813

File tree

13 files changed

+323
-1
lines changed

13 files changed

+323
-1
lines changed

.github/workflows/pull-request.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Pull request
3+
'on':
4+
pull_request:
5+
jobs:
6+
tox:
7+
runs-on: ubuntu-20.04
8+
strategy:
9+
matrix:
10+
include:
11+
- environment: pep8
12+
python-version: 3.8
13+
- environment: releasenotes
14+
python-version: 3.8
15+
name: Tox ${{ matrix.environment }} with Python ${{ matrix.python-version }}
16+
steps:
17+
- name: Github Checkout 🛎u
18+
uses: actions/checkout@v3
19+
with:
20+
fetch-depth: 0
21+
- name: Setup Python ${{ matrix.python-version }} 🐍
22+
uses: actions/setup-python@v3
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Install Tox 📦
26+
run: pip install tox
27+
- name: Run Tox ${{ matrix.environment }} 🧪
28+
run: tox -e ${{ matrix.environment }}

.yamllint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ rules:
99
level: error
1010
comments:
1111
require-starting-space: false
12+
line-length: disable
1213
truthy: disable

etc/kayobe/ansible/requirements.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
collections:
23
- name: stackhpc.pulp
34
version: 0.3.0
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
---
22
aio_ips:
33
builder: 192.168.33.3
4-

releasenotes/config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
# This needs to be updated to the latest release.
3+
default_branch: stackhpc/wallaby
4+
release_tag_re: stackhpc/\d+\.\d+\.\d+\.\d
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
features:
3+
- |
4+
Adds support for package repository snapshots via `Pulp
5+
<https://pulpproject.org/>`_. A local Pulp server is deployed on the seed,
6+
which syncs package repositories and container images from the StackHPC
7+
`Ark <https://ark.stackhpc.com>`_ Pulp server. Control plane servers pull
8+
packages and container images from the local Pulp server.
9+
- |
10+
The EPEL package repository is disabled by default. It may be enabled by
11+
setting ``dnf_enable_epel`` to ``true``.
12+
- |
13+
Uses StackHPC source code repositories for kolla, kolla-ansible, and bifrost.
14+
- |
15+
Supports Kolla CentOS Stream 8 source container images.
16+
- |
17+
Adds custom playbooks for compute host maintenance:
18+
19+
* ``nova-compute-drain.yml``
20+
* ``nova-compute-disable.yml``
21+
* ``nova-compute-enable.yml``
22+
* ``reboot.yml``
23+
other:
24+
- Adds a ``ci-aio`` environment for CI testing.
25+
- Adds a ``ci-builder`` environment for building Kolla container images in CI.

releasenotes/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
reno>=3.4.0 # Apache-2.0
2+
sphinx>=2.0.0,!=2.1.0 # BSD
3+
sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
4+
sphinx-material

releasenotes/source/_static/.placeholder

Whitespace-only changes.

releasenotes/source/_templates/.placeholder

Whitespace-only changes.

releasenotes/source/conf.py

Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
1+
# -*- coding: utf-8 -*-
2+
# Licensed under the Apache License, Version 2.0 (the "License");
3+
# you may not use this file except in compliance with the License.
4+
# You may obtain a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11+
# implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
16+
import os
17+
import sys
18+
19+
sys.path.insert(0, os.path.abspath('../..'))
20+
21+
22+
# -- General configuration ------------------------------------------------
23+
24+
# If your documentation needs a minimal Sphinx version, state it here.
25+
# needs_sphinx = '1.0'
26+
27+
# Add any Sphinx extension module names here, as strings. They can be
28+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
29+
# ones.
30+
extensions = [
31+
'reno.sphinxext',
32+
]
33+
34+
# Add any paths that contain templates here, relative to this directory.
35+
templates_path = ['_templates']
36+
37+
# The suffix of source filenames.
38+
source_suffix = '.rst'
39+
40+
# The encoding of source files.
41+
# source_encoding = 'utf-8-sig'
42+
43+
# The master toctree document.
44+
master_doc = 'index'
45+
46+
# General information about the project.
47+
project = 'StackHPC Kayobe Configuration Release Notes'
48+
copyright = '2022 StackHPC Ltd'
49+
50+
# Release notes do not need a version number in the title, they
51+
# cover multiple releases.
52+
# The short X.Y version.
53+
version = ''
54+
# The full version, including alpha/beta/rc tags.
55+
release = ''
56+
57+
# The language for content autogenerated by Sphinx. Refer to documentation
58+
# for a list of supported languages.
59+
# language = None
60+
61+
# There are two options for replacing |today|: either, you set today to some
62+
# non-false value, then it is used:
63+
# today = ''
64+
# Else, today_fmt is used as the format for a strftime call.
65+
# today_fmt = '%B %d, %Y'
66+
67+
# List of patterns, relative to source directory, that match files and
68+
# directories to ignore when looking for source files.
69+
exclude_patterns = []
70+
71+
# The reST default role (used for this markup: `text`) to use for all
72+
# documents.
73+
# default_role = None
74+
75+
# If true, '()' will be appended to :func: etc. cross-reference text.
76+
# add_function_parentheses = True
77+
78+
# If true, the current module name will be prepended to all description
79+
# unit titles (such as .. function::).
80+
# add_module_names = True
81+
82+
# If true, sectionauthor and moduleauthor directives will be shown in the
83+
# output. They are ignored by default.
84+
# show_authors = False
85+
86+
# The name of the Pygments (syntax highlighting) style to use.
87+
pygments_style = 'native'
88+
89+
# A list of ignored prefixes for module index sorting.
90+
# modindex_common_prefix = []
91+
92+
# If true, keep warnings as "system message" paragraphs in the built documents.
93+
# keep_warnings = False
94+
95+
96+
# -- Options for HTML output ----------------------------------------------
97+
98+
# The theme to use for HTML and HTML Help pages. See the documentation for
99+
# a list of builtin themes.
100+
html_theme = 'sphinx_material'
101+
102+
# Theme options are theme-specific and customize the look and feel of a theme
103+
# further. For a list of options available for each theme, see the
104+
# documentation.
105+
# html_theme_options = {}
106+
107+
# Add any paths that contain custom themes here, relative to this directory.
108+
# html_theme_path = []
109+
110+
# The name for this set of Sphinx documents. If None, it defaults to
111+
# "<project> v<release> documentation".
112+
# html_title = None
113+
114+
# A shorter title for the navigation bar. Default is the same as html_title.
115+
# html_short_title = None
116+
117+
# The name of an image file (relative to this directory) to place at the top
118+
# of the sidebar.
119+
# html_logo = None
120+
121+
# The name of an image file (within the static path) to use as favicon of the
122+
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
123+
# pixels large.
124+
# html_favicon = None
125+
126+
# Add any paths that contain custom static files (such as style sheets) here,
127+
# relative to this directory. They are copied after the builtin static files,
128+
# so a file named "default.css" will overwrite the builtin "default.css".
129+
html_static_path = ['_static']
130+
131+
# Add any extra paths that contain custom files (such as robots.txt or
132+
# .htaccess) here, relative to this directory. These files are copied
133+
# directly to the root of the documentation.
134+
# html_extra_path = []
135+
136+
# If true, SmartyPants will be used to convert quotes and dashes to
137+
# typographically correct entities.
138+
# html_use_smartypants = True
139+
140+
# Custom sidebar templates, maps document names to template names.
141+
# html_sidebars = {}
142+
143+
# Additional templates that should be rendered to pages, maps page names to
144+
# template names.
145+
# html_additional_pages = {}
146+
147+
# If false, no module index is generated.
148+
# html_domain_indices = True
149+
150+
# If false, no index is generated.
151+
# html_use_index = True
152+
153+
# If true, the index is split into individual pages for each letter.
154+
# html_split_index = False
155+
156+
# If true, links to the reST sources are added to the pages.
157+
# html_show_sourcelink = True
158+
159+
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
160+
# html_show_sphinx = True
161+
162+
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
163+
# html_show_copyright = True
164+
165+
# If true, an OpenSearch description file will be output, and all pages will
166+
# contain a <link> tag referring to it. The value of this option must be the
167+
# base URL from which the finished HTML is served.
168+
# html_use_opensearch = ''
169+
170+
# This is the file name suffix for HTML files (e.g. ".xhtml").
171+
# html_file_suffix = None
172+
173+
# Output file base name for HTML help builder.
174+
htmlhelp_basename = 'StackHPCKayobeConfigReleaseNotesdoc'
175+
176+
177+
# -- Options for LaTeX output ---------------------------------------------
178+
179+
# Grouping the document tree into LaTeX files. List of tuples
180+
# (source start file, target name, title,
181+
# author, documentclass [howto, manual, or own class]).
182+
# latex_documents = []
183+
184+
# The name of an image file (relative to this directory) to place at the top of
185+
# the title page.
186+
# latex_logo = None
187+
188+
# For "manual" documents, if this is true, then toplevel headings are parts,
189+
# not chapters.
190+
# latex_use_parts = False
191+
192+
# If true, show page references after internal links.
193+
# latex_show_pagerefs = False
194+
195+
# If true, show URL addresses after external links.
196+
# latex_show_urls = False
197+
198+
# Documents to append as an appendix to all manuals.
199+
# latex_appendices = []
200+
201+
# If false, no module index is generated.
202+
# latex_domain_indices = True
203+
204+
205+
# -- Options for Texinfo output -------------------------------------------
206+
207+
# Grouping the document tree into Texinfo files. List of tuples
208+
# (source start file, target name, title, author,
209+
# dir menu entry, description, category)
210+
# texinfo_documents = []
211+
212+
# Documents to append as an appendix to all manuals.
213+
# texinfo_appendices = []
214+
215+
# If false, no module index is generated.
216+
# texinfo_domain_indices = True
217+
218+
# How to display URL addresses: 'footnote', 'no', or 'inline'.
219+
# texinfo_show_urls = 'footnote'
220+
221+
# If true, do not generate a @detailmenu in the "Top" node's menu.
222+
# texinfo_no_detailmenu = False
223+
224+
# -- Options for Internationalization output ------------------------------
225+
locale_dirs = ['locale/']

0 commit comments

Comments
 (0)