Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: Ia4e1faabf35b0c5f46fdc431a52c88754f0abc5f
- due to inconsistencies in RDO versus UCA packaging, Tempest performs more
consistently from upstream git
- update cirros references to 0.4.0
Change-Id: I374497db1b602683f1f9c62489f523b18c50266c
Implements: blueprint modern-chef
- implemented foodcritic and cookstyle corrections
- switched Tempest installation back to packages since it is now fresh enough for use
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- removed calls to GitHub for Tempest
- moved apt package_overrides to common cookbook
Implements blueprint modern-chef
Change-Id: Ia315e51d9ef3fd4677b65074cd7f18a47669208d
Depends-On: I5c5371eed12b282a527576822b270cce8b0e76a7
This patch removes the openstack_user resource with :grant_domain
action. A user is always created within a specific domain; such a
membership cannot be tacked on later. This resource gave the user the
role intended for their project for the domain (i.e., for the Default
domain instead of for the service project).
We add the domain_name attribute that creates the tempest users in the
desired domain. Note that this change needs a sufficiently recent
openstackclient cookbook -- otherwise the domain_name attribute is
ignored (which does not matter as long as the tempest users are to be
created in the Default domain).
Change-Id: I345826bc3dae80d25b8f8826c63c5914cf1c2db5
This patch removes the role_name when using openstack_user's :create
action (it gets ignored by the target method).
Note that the spec test would still pass if only the line in
identity_registration.rb (but not the test) were changed, because the
code that actually does grant the role to the resource is executed right
after user creation and before any tests check the resource for the
existence of the role_name attribute. In other words: if the argument
were required in a call but only supplied in another call, the spec
tests would not catch it. Something to watch out for.
Change-Id: I92b47cd0156e4146a40ca7be89c102a625b5bdf6
This changeset adds two recipes, create_network and run_tempest.
They implement parts of openstack-chef-repo's Rakefile for use in
kitchen testing.
Change-Id: I98706b1fc2c65a2359ca9b117a9491c0569514bd
- Switched default linter to cookstyle
- Renamed rake tasks to better conform with Chef conventions
Change-Id: If9ef1641600ca2d4bea1e3b538304dd2f1d3651f
- Style and lint fixes for newer chefdk
- Removed ancient Gemfile
- Rewrote metadata.rb for readability
Change-Id: I7c2950270f88cc9d54de593460009c6741913796
python-dev is not the correct package for RHEL systems and is instead
python-devel. It looks as thought this package is also installed in other places
for Ubuntu/Debian systems so this seems like logical to remove the duplicate
package resource.
Change-Id: Ifb6c439171ed6a65ba67cc6fe8076d2fa42da32d
- Untangle venv dir and git repo
- Install tempest into venv properly
- Install wrapper script to run tempest from venv
- Use latest stable cirros image
Change-Id: If64fd079a8955d417daa76d431959f0335280467
Since the 'scheme' for the identity endpoint is defined as a
node attribute, we can use this value when constructing the auth
URI in the tempest.conf
Closes-Bug: #1650364
Change-Id: Ieaadef347661547cb549870e42e2a0d92c722b8e
- Now use cookbook-openstackclient to create endpoints role service and
user
- added domain creation and access granting
- edited values to work with identity_v3
- rewrote specs to work again
- edited image_upload to work with domains
Change-Id: I88ea66da9e8c189208d7e69ecc38dcf502d518db
Depends-On: I0f8955f05de9b33711c54b9a198f45018cceb8e1
Depends-On: I2d404a424bd79a6e9b282304e21591fa33a48981
Depends-On: I2f339055883354c6a8a77daa7967ff279c4d18d9
Depends-On: I84f850f32f25a318c3ed3c7337a0dfa6f641a5fe
- increments Ubuntu release to mock for Xenial tests. This is a cosmetic
change that only affects unit tests.
Change-Id: I0e69bd2fb8469fca2bc246f6c042d0bf6268112b
Implements: blueprint newton-xenial
Create and use m1.nano flavor.
Disable volume snapshots.
Use local-net created in repo integration test runs.
Remove python virtualenv package, it contains old setuptools for centos
Change-Id: I42216a174930b17a4771e78c639da54e170a288c
* adapted enpoint calls for identity endpoints
* added installation of package curl since its used to upload/guard the upload
of the needed images
Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Depends-On: I3262b2e6f792f37c32a446e6567790b82bdd4613
Depends-On: Ifa5a7f4e1df47a3961976e64f654224864c3dcb4
Depends-On: I9ac9eeb29ab27f31394830e4b6f999d5870cc0e4
Depends-On: Idadc97bd7380d6c4f9f6f33d9c6b1215a5f24772
Implements: blueprint cookbook-refactoring
Change-Id: Ifd11f86c576d7dbb709bdd302d41e39e900e1b74
Add missing gate integration task, but use the one from
Common cookbook to make future updates easy.
Change-Id: I3682934a800af32b6966d21b5b942799aae700bc
Fix the template default. Maybe another patch can look at why
we even need these defaults in the template forcing us to stay in
sync.
Change-Id: Id704566bc91291252d9dd35d41afed136dabe901
Closes-Bug: #1479092
Cleaned up all the minor rubocop issues, the ones left relate to
complex logic and what I think is a bug in rubocop for nested
vs compact modules/class definitions.
Change-Id: I94577ea628c4f6ee81f3f9dadb24309ca7c856a3
For automation, there's usually no need to clone the entire
revision history.
Change-Id: I766fc0ef100376578daac985cb7a85a9a07dd6ed
Closes-Bug: #1455240
bootstrap script installs testing dependencies on trusty and relies on
common bootstrap.sh in stackforge/cookbook-openstack-common
- fixed mixup in dependency for knife task in Rakefile
- deprecated Gemfile
- updated TESTING.md
blueprint: bootstrap-infra-test-nodes
Change-Id: Ia6e457570fc585874dbf56751c2f8388eb637bbc