Commit Graph

555 Commits

Author SHA1 Message Date
Takashi Kajinami 109bb65c3a Drop reference to dib-utils
The dib-utils repository was retired when TripleO was retired. We
decided to vendor the dib-run-parts script in os-refresh-config so
we no longer need the separate tiny package for the dib-run-parts
script.

Depends-on: https://review.opendev.org/c/openstack/os-refresh-config/+/910574
Change-Id: Id35efa4b387bd0fa21c1d73a4fe59f88c197f500
2024-02-29 17:08:10 +09:00
niuke 88f35e543d setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Ide8a235ab2ce27d16776f238b670800fde51be0b
2023-08-02 10:00:09 +08:00
Takashi Kajinami 75fa04a7cd doc: Comment out language option
... because explicit language=None causes the below warning since
Sphinx 5.0.0.

Invalid configuration value found: 'language = None'. Update your
configuration to a valid language code. Falling back to 'en' (English).

Change-Id: Ieca6a2cb9724346ed4ee40a20335a02d737a3cd4
2022-06-06 15:34:22 +00:00
Zuul 7d761bff3d Merge "[ussuri][goal] Update contributor documentation" 2021-08-05 15:57:31 +00:00
Ghanshyam Mann e4c433dacb [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Adding noop jobs also to merge these *.rst only changes.

Story: #2007236
Task: #38524
Change-Id: Id40407adab666a9b7591612fe0ae237aa07c9175
2021-07-22 17:39:08 -05:00
Pavlo Shchelokovskyy 7917e1877c Fix zuul config for heat-templates-check
YAML indentation is wrong, instead of their appropriate sections
options are set to the DEFAULT section of config like the following

  [DEFAULT]
  heat_api = {'workers': 2}

not sure if oslo.config handles that properly so better fix this.

Change-Id: Ie9ce52769504816734e72037aa08cb26c5276332
2021-06-07 12:08:20 +03:00
HeroicHitesh 71a0f7a1a7 Remove testr
* Remove .testr.conf
* Remove .tox(as there is no tox.ini) and .testrepository
  from .gitignore

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: Ic0620ecaa1ca021bdfe3a521bb0805c3276732f5
2021-05-19 11:55:16 +05:30
Zuul 64f020b602 Merge "Fix software config on rdo" 2020-11-16 06:46:30 +00:00
Zuul 59545fb3c5 Merge "add template for servers using Octavia" 2020-11-16 06:32:59 +00:00
Zuul 1480df28d1 Merge "optimize size and time using --no-cache-dir" 2020-11-16 06:15:42 +00:00
Andrei Nistor 63444ea47a Fix software config on rdo
The os-refresh-config scripts directory is currently set to
/opt/stack/os-config-refresh, but the latest os-refresh-config expects it to be
/usr/libexec/os-refresh-config

Change-Id: Ic3f61ea88fd431e7d9893c6930c778f6fbf21147
2020-11-16 05:48:26 +00:00
ricolin c5733ee955 Move heat-templates-check job to zuul v3
Change-Id: Ie858c406b6a7d973f9632aa98360b7322758fc3a
2020-10-30 12:39:02 +08:00
Pratik Raj dd8d284c36
optimize size and time using --no-cache-dir
Using --no-cache-dir flag in pip install ,make sure dowloaded packages
by pip don't cached on system . This is a best practise which make sure
to fetch ftom repo instead of using local cached one . Further , in case
of Docker Containers , by restricing caching , we can reduce image size.
In term of stats , it depends upon the number of python packages
multiplied by their respective size . e.g for heavy packages with a lot
of dependencies it reduce a lot by don't caching pip packages.

Further , more detail information can be found at

https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6

Change-Id: I99570e8da62205498bdba6064160d2592a86ad3e
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
2020-10-03 11:49:04 +05:30
Zuul 8a20477005 Merge "Add sample templates for Blazar" 2020-02-21 07:28:52 +00:00
ricolin 0440e8a9e4 Drop use of git.openstack.org
Our cgit instance will be going away and opendev.org is the new
preferred URL for browsing our git repos. Redirects will exist for the
foreseeable future, but it's more efficient to just go directly to the
new locations.

Change-Id: I52a34bded5f4343469cbca647707304ca05c62ec
2019-12-23 12:19:27 +08:00
yangyong 7ed394f9f5 add template for servers using Octavia
add examples for servers using Octavia loadbalancer,pool,listener,and healthMonitor

Change-Id: I10052158456f4b8b4ad365799aa9bd99bca8cba0
2019-08-29 11:46:44 +08:00
Hongbin Lu e3b5a525b5 Add example for running Zun container
Change-Id: Ic08fa9c2918243296bd72bf05ca43dfade4b24f9
2019-06-08 22:41:10 +00:00
OpenDev Sysadmins 9aacd9876c OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:47:57 +00:00
Ian Wienand 948e8ccfd3 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I28b9b536b3f22d6398c7e5be6bd205da73c07bd5
2019-03-24 20:33:47 +00:00
kaz_shinohara f8cf393737 Add sample templates for Blazar
Since Rocky, Heat supports Blazar which is a reservation service in
OpenStack. This patch provides sample templates regarding Blazar Host
and Lease resources accordingly.

Change-Id: I169a96c63eee59ec9b0d098f86709e6d02d1209f
Depends-On: I1392919540a6bdd67ce7078e3a1206ecdb9854e1
2019-03-08 07:08:32 +00:00
Zuul 840692d3d4 Merge "Add an example of OS::Mistral::ExternalResource" 2019-01-23 04:55:25 +00:00
Zuul aa4ffd1c77 Merge "Update the bugs link to storyboard" 2019-01-03 22:45:47 +00:00
Zuul 5270cc11c9 Merge "Remove docs, deprecated hooks, tests" 2019-01-03 08:35:43 +00:00
ricolin 53800d1057 Remove docs, deprecated hooks, tests
Remove all deprecated hooks and tests.
Also since all test and hooks are removed,
we can remove the declare of python language in classifier.
Since we didn't actually provide any document,
we should remove docs too.

Hooks are maintained as Agents under heat-agents repo now.
Hooks in heat-templates are deprecated for a while. Hence, remove
hooks in heat-templates.

Depends-On: https://review.openstack.org/#/c/584774/
Change-Id: Ia886f71eaf99d75db0f9a6a7dfbe8664995c26e7
2019-01-03 20:18:06 +13:00
Zuul 9bb6bd7252 Merge "Fix the incorrect cirros default password" 2019-01-03 05:14:18 +00:00
ZhijunWei 107020c98d Update the bugs link to storyboard
Change-Id: Ia56a41f346929d5abdf5296f5eef4571878d02b1
2019-01-03 10:07:26 +08:00
Rabi Mishra 2b4eb5d9e3 Use octavia resources for autoscaling example
lbaasv2 is probably not actively maintained.

Change-Id: Id11a47b5439f3bca05b536f15bec3e5fa92c9e56
2018-11-22 19:31:28 +05:30
Thomas Herve e78f9df974 Add an example of OS::Mistral::ExternalResource
I couldn't find a simple example of that resource, so here's a real
simplified one creating a workflow in the same template.

Change-Id: I9de98df8a629227ba83e50382ccba660621fcbd5
2018-11-21 11:16:38 +01:00
Zuul 0e0151c63e Merge "Remove setting of DEVSTACK_GATE_EXERCISES" 2018-09-08 00:33:31 +00:00
zhulingjie d9ccc442c4 Migrate the link of bug report button to storyboard
Change-Id: I85439200113a719f2e1c7caea29ea8de57cb1a8a
2018-08-30 07:32:11 -04:00
Dirk Mueller ff6d942b19 Remove setting of DEVSTACK_GATE_EXERCISES
This defaults to 0 anyway, and is being removed as the devstack
excercises are being removed. see https://review.openstack.org/#/c/581377/

Change-Id: I80b172b85fa29ae71cf3e14d63d654a5fea56c0c
2018-07-17 10:43:08 +02:00
Zuul 6b5a7cd2b5 Merge "Deprecate hooks in heat-templates" 2018-05-10 13:01:59 +00:00
zhang.lei b2df3b3da2 Fix the incorrect cirros default password
Following by https://docs.openstack.org/image-guide/obtain-images.html#cirros-test

Change-Id: I43f8ab98ba18fb27209c6a80458053e0eea89216
2018-05-09 09:35:47 +00:00
Zuul 28ab0afaa5 Merge "Update and replace http with https for doc links in heat-templates" 2018-03-27 15:51:04 +00:00
ricolin 20fb0efa11 Deprecate hooks in heat-templates
We already create repository `heat-agents` for hooks and will keep
maintain hooks there, so we should deprecate all hooks in
heat-templates and plan to remove it in futuer.

Change-Id: Ie2d89d5bab7db2bc6a2e171dc455098811519440
2018-02-07 16:50:34 +08:00
James E. Blair 05eb95f320 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Ic1627186b152abbbd2b5c92bfa021af631397d38
2018-02-05 15:39:12 -08:00
shangxiaobj f44b2d591d Update and replace http with https for doc links in heat-templates
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: Id87e91d1f95bcb94c31125c467abab17242cb36f
2018-01-30 12:16:43 -05:00
Zuul 81ed23639e Merge "Migrate templates job to Zuul v3" 2018-01-15 05:53:05 +00:00
Zuul eb93bfeb78 Merge "Add example for using external resources" 2017-12-06 20:28:55 +00:00
Zuul 14386a61a2 Merge "Add create magnum cluster resources example" 2017-12-01 07:15:56 +00:00
ricolin 7925832f58 Migrate templates job to Zuul v3
Migrate templates job to zuul v3.
Migrating guideline:
https://docs.openstack.org/infra/manual/zuulv3.html

Needed-By: I096b406389f610b503649ee8a4b5067d3f2dec5e
Change-Id: I5bfa473e265fc1dea79adb98dfc06d7c7058f84c
2017-11-24 06:33:25 +00:00
Roberto Polli 2823fcafdc Replace LBaaS with LBaaSv2.
Since Mitaka, OS::Neutron::LBaaS::LoadBalancer replaces
  OS::Neutron::LoadBalancer. The patch replaces both
  heat_template_version and OS::Neutron::LoadBalancer.

Closes-Bug: #1722853
Change-Id: I284c72b67bdaaadde35a97feb807171046e3a93f
2017-10-12 08:26:26 +00:00
ricolin 5ca15a79f8 Add example for using external resources
Add template for show cases that how we can use external resources.
external resources in stack does not required to be modified or depends
on the stack.
blueprint external-resources

Depends-On: I8b33c957a7185a0f52356f412b13609ba1a7b469
Change-Id: Ia56318508caf43a7da28bd479becdc602477cad5
2017-09-08 07:33:22 +00:00
Jenkins 1d2d3cb75f Merge "Add example for using condition" 2017-09-06 04:50:57 +00:00
Jenkins 1f731ed863 Merge "[Trivialfix]Fix typos" 2017-08-23 07:45:52 +00:00
Jenkins 671de9b537 Merge "Make cirros-example v3 compatible" 2017-08-23 07:45:21 +00:00
huangtianhua 76b83b68f6 Add example for using condition
Add template for show cases that how we can use
condition for resource, property and output.

Change-Id: I34ba7db9827ad16a23f60f615fa1ae0dbdc38aa8
Blueprint: support-conditions-function
2017-08-04 11:21:54 +08:00
rabi a7243bc089 Use correct policy references in autoscaling.yaml
It seems I4a617daf063fb1faf01c71762d6509cb00eed0b6 has added some
wrong resource references. It seems it was not detected at that
time with the dsvm job and some recent heat code changes have made
it detect the issue.

Change-Id: I1ac6371929fd2dbbe16c8faa6617cad1e4367fdf
Closes-Bug: #1707874
2017-08-01 15:45:44 +05:30
rabi a276f088ce Make cirros-example v3 compatible
This example seems broken. Though it will work if you
change the auth_url to point to /v2.0 rather than /v3, it's
better to make it work with v3 (the default now for all
keystone deployments).

Change-Id: I411a0f50ae50ee5b7c2564a7764ee9a01b00afea
2017-08-01 14:42:43 +05:30
shangxiaobj 0e149fd2e2 [Trivialfix]Fix typos
Fix typos in heat-templates.

Change-Id: I2be63f3f6cbe25149636abd385d8f6be39b5940a
2017-07-26 02:19:03 -07:00