As log storage takes care of compression is better to avoid performing
any gzip activity on *text* files that we want to access with the
browser.
Change-Id: I7dcd1cf569fea5e536926f7188af953c3301af0f
Use the new registry provided by Infra which is Docker Registry v2 and
not v1 anymore. I'll probably be more stable for us when doing HTTP calls
against the registry.
Change-Id: I8294d734984fee721c3d856c40fc4795288bd060
Related-Bug: #1819632
Follows the same configuration that was used on
tripleo-quickstart-extras and documented use on tripleo-docs.
Change-Id: Iba8a2db92137f9f6ad28f498627eb1b87039d99f
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
Don't construct CENTOS_MIRROR env var because we have it in the
file mirror_info.sh which is provided from nodepool.
Remove EPEL_MIRROR because it's not used anywhere.
Change-Id: I40fe8f6b2be1864b27bbe369e7da988fa7f1a0bb
puppet-ceph has stable/jewel branch where we want to test the latest
version of TripleO where puppet-ceph is actually used.
Since we switched to ceph-ansible during Pike, we're testing
TripleO with Ocata version which is probably fine.
Change-Id: I54e191d70ba24ab7d0d6f82460c709d6cd22e099
Several love fixes needed here:
- We forgot to override STABLE_RELEASE so
the upgrade was failing because it was
deploying repos from Pike instead of Ocata.
- Allow only to check that Ironic API is running
on Newton or Ocata.
In master we can check that ipmi driver is
available.
- On old relases like Newton or Ocata we will
use the old heat calls on get host info.
Change-Id: I558e86f5cec139cef165b0908bb3861434c7c8bc
Depends-On: Ie79dfff667437305ff4109da5a9c42ae358b1a3e
These are various improvements to tripleo-ci (squashed into a single
commit to save CI resources) that enable running the tripleo-ci entry
point script which is now toci_gate_test-oooq.sh locally in a standalone
environment of vm's not spawned by nodepool.
This is useful to developers trying to reproduce CI locally for
development and testing.
The changes are:
- Default $REMAINING_TIME in common_vars.bash
- Don't hardcode the jenkins user everywhere
- Improved initial package handling:
Before blindly yum installing the packages needed by these scripts in a
few spots, check if the packages are already installed with just the rpm
command. This can end up saving a decent amount of time when iterating
on running these scripts locally. Also installs wget.
- Reinstall python-requests
When locally running toci_gate_test.sh, python-requests needs to be
reinstalled since toci_gate_test.sh removes the python module as it
was pip installed on the infra provided image. Also updates the
logic to handle the python-requests -> python2-requests transition.
Change-Id: I48cd1e5f53b86455992b83248d57f5338c29a7ca
STABLE_RELEASE variable is mutated in upgrade jobs to point to
the release used for initial deployment. However, we need to keep
the release of the review to be used in delorean build phase, as
currently it can lead to use the wrong release when building the
package.
Change-Id: I3dc9ae79700773315e2577239839d35af7b85987
Because these are binary, it doesn't make sense to copy these to
logs.o.o.
Change-Id: I85ef6cef0d3977a1e31e1bc59e667b996830711c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
These variables are expected to be defined by tripleo-ci scripts. They
are usually defined by the infra generated environment when tripleo-ci
jobs are executed. However, for running tripleo-ci scripts locally, we
need to default them to some sane values.
Change-Id: Ib6b769822522d4328447523e68ff238132b0f561
An use case for TripleO CI can be to test changes on an
specific feature branch. In that case, the packages need to be
consumed for that specific branch, instead of master.
This change enables the detection of a feature branch in the
current change, and enables the related repositories (they will
default to master if the feature branch for a repo does not exist)
Also update ELEMENTS_PATH properly to consune latest
features from diskimage-builder
Change-Id: I701c01dd18023c0c05aede9d06b6b1380b6f2386
Needed-By: I0ca6a4ae3a2684d473b44e5f332ee4225ee30f8c
Now that instack-undercloud has branched for newton, we should be testing
upgrades from mitaka to newton for patches proposed against the newton branch
of instack-undercloud.
For patches proposed against the master branch, we should be testing upgrades
from newton to master.
Closes-Bug: #1624448
Change-Id: I73f172a9427c3ac4cdd85c31b64db90be09cb76a
tripleo logs are also include git repos from /etc folder, as a quick
fix we can exclude them from the TARCMD. A better solution is to
invert this logic and only include the specific files developers need.
Change-Id: I7d17624d27e6eb0ae6af991ed84905b6f33156ff
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Being able to set a different $TRIPLEO_ROOT other than /opt/stack/new
makes the toci scripts more useful when running locally. There are also
lots of places where /opt/stack/new was used directly, when we
could/should be using $TRIPLEO_ROOT.
Change-Id: Iac212866fc343f3f3f930fad57b3a52236513d34
This commit refactors out some reusable pieces of tripleo-ci into
common_functions.sh and common_vars.bash. This is in preparation for
adding ovb and multinode support.
Change-Id: I2154e07d0433ffbd5d91884c9b1c00adf3ac534d