Commit Graph

10 Commits

Author SHA1 Message Date
Ghanshyam Mann e21fc28dfa Update git submodules
* Update dib-utils from branch 'master'
  to afc328f0842d6e0bc9f1b826c73539e78143d014
  - Retire Tripleo: remove repo content
    
    TripleO project is retiring
    - https://review.opendev.org/c/openstack/governance/+/905145
    
    this commit remove the content of this project repo
    
    Change-Id: Id4d49b7bd8745828366a4ba21ff9c9ffbebbe130
    
  - 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.
    
  - fix tox python3 overrides
    
    We want to default to running all tox environments under python 3, so
    set the basepython value in each environment.
    
    We do not want to specify a minor version number, because we do not
    want to have to update the file every time we upgrade python.
    
    We do not want to set the override once in testenv, because that
    breaks the more specific versions used in default environments like
    py35 and py36.
    
    Change-Id: I1efdf4f86f5a9bd02fa99b0c1fb430cf621bb7e3
    Signed-off-by: Doug Hellmann <doug@doughellmann.com>
    
  - import zuul job settings from project-config
    
    This is a mechanically generated patch to complete step 1 of moving
    the zuul job settings out of project-config and into each project
    repository.
    
    Because there will be a separate patch on each branch, the branch
    specifiers for branch-specific jobs have been removed.
    
    Because this patch is generated by a script, there may be some
    cosmetic changes to the layout of the YAML file(s) as the contents are
    normalized.
    
    See the python3-first goal document for details:
    https://governance.openstack.org/tc/goals/stein/python3-first.html
    
    Change-Id: Id99b631d05c93d300a4fe2a4af9eea84fa7a903b
    Story: #2002586
    Task: #24341
2024-02-25 07:56:58 +00:00
Sagi Shnaidman 19fc678af8 Update git submodules
* Update dib-utils from branch 'master'
  - Remove RH1 check OVB jobs from configuration
    
    Remove OVB check RH1 jobs from configuration for this repo
    Related-Bug: #1744763
    
    Change-Id: I992b7fd4494b89f08f52d7b85632a77680f9b035
2018-01-23 15:52:31 +00:00
Emilien Macchi b175d989ea Update git submodules
* Update dib-utils from branch 'master'
  - zuul: add tripleo ovb ha job
    
    We're migrating to zuul v3 layout, so let's run the new job.
    
    Depends-On: Iaa85a8326e746604966a9c1bb4cc85f44e92299b
    Change-Id: I65a52db87df1928c683052fabe65a0fee52905c4
2017-11-21 00:50:13 +00:00
Andreas Jaeger 7e6cdb79d1 Update git submodules
* Update dib-utils from branch 'master'
  - Use functional tox environment
    
    Create new functional tox environment so that we can use it instead of
    func environment to allow creation of cross-project
    openstack-tox-functional job.
    
    Depends-On: Ibebf9d0eeccabaefa2777a43592a72d19d064b6b
    Needed-By: Ifa4c20cff72820a0016bef8dcdd36647ae7359d3
    Change-Id: Ied08d83177b9d52b6eb8e4987f444230ac4ebfdb
2017-11-07 05:11:54 +00:00
Flavio Percoco 54e2d37df6 Updated openstack/openstack
Project: openstack/dib-utils  694d2988cb62e1fc2d10631b9dea6ecba6c53991

Show team and repo badges on README

This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/1639ffc79be0cebf7ba162468f6c9ee5

Change-Id: I38d14e650166fbb4e5d8d4bcf8c9f331e7255937
2017-03-06 18:55:48 +00:00
Ian Wienand 06b7c1018f Updated openstack/openstack
Project: openstack/dib-utils  51661c33a5ea4cfa68d39450cc1b96c3db36b037

Show tracing around sourcing environment.d files

Sourcing of environment files is a bit different than running scripts,
because they are imported into the current environment.  That means
that if they are fiddling with "set -x" you can get odd things in the
output -- for example, if one environment file enables tracing then
all proceeding sourcing will have it on, but all the files sourced
before will not have output.  This is super confusing.

It's also very helpful to see how things are being expanded as they
set environment variables.

Thus I think the best idea is for environment files to leave tracing
alone and dib-run-parts can a) give a useful output about what file it
is sourcing and b) enable tracing around the import, then restore it
to the previous state afterwards.

Change-Id: I29f7df1514aeb988222d1094e8269eddb485c2a0
2016-11-01 01:45:00 +00:00
Jenkins 61f99820c1 Updated openstack/openstack
Project: openstack/dib-utils  67fc8321777882839f761949d82105ccae7a5d57

Source environment files in a subshell

By sourcing the environment files directly into the running process,
dib-run-parts can pollute its own environment.  For example, if an
environment script enables tracing (set -x) then that enables tracing
for dib-run-parts; particularly annoying as it then spews a bunch of
stuff relating to the profiling.

Move to sourcing the environment files in a subshell with the scripts
to be executed to keep things separate.

Change-Id: I1e39822f218dc0322e2490a770f3dc867a55802c
2016-06-03 01:39:50 +00:00
Andreas Florath 25f8922af8 Updated openstack/openstack
Project: openstack/dib-utils  88497121784d4eecf4a7d1baaeef45780e4d760c

Use 'output' function instead of 'echo' for statistics log

In bash the only sensible way of returning a string from functions
or scripts is via stdout.
dib-run-parts not only 'returned' the output of the called scripts but
also some statistics / performance output.
Other parts of the script already used an 'output' function so
the statistics output was adapted to also use this kind of function.

In addition three simple test cases are implemented to check
the basic functions of the script.

As a result the log-output of the dib-run-parts is somewhat cleaner.
It also makes debugging of the called scripts easier.
This change is the precondition for simplification of functions like
diskimage-builder's eval_run_d.

Change-Id: Ie2f0332359a72ca7ab03f94b7573e073df714a97
Signed-off-by: Andreas Florath <andreas@florath.net>
2016-06-02 05:26:13 +00:00
Ondřej Nový 91f449e419 Updated openstack/openstack
Project: openstack/dib-utils  ec92ab49814466d044af6a64bee3cdfc3067bede

Deprecated tox -downloadcache option removed

Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: Ib33336d8aac1c8d27958afe1a60b973b06360513
2015-12-16 01:43:02 +00:00
Martin André cb819ca227 Updated openstack/openstack
Project: openstack/dib-utils  ddd80eac8de8e78330c1007c40f5fc067f0229ba

Depend on awk rather than python

This allows to run dib-run-parts on systems where python is not
installed, such as Debian docker image. Generally, awk is more likely to
be available than python.

Change-Id: I26d7ad55a56ca4785a779f576e2da50a69400563
2015-02-26 06:37:10 +00:00