Commit Graph

20 Commits

Author SHA1 Message Date
Ghanshyam Mann 72ea117f61 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: Ic549bdcc76a5e12a0104143fbe79fd0db2c866b0
2024-02-24 11:44:35 -08:00
yatinkarel 3c3c3dd7f2 Exclude kernel from dnf update
DNF update including kernel during image customization makes
overcloud images unbootable.

[1] Skipped kernel update during repo setup but kernel
get's updated during setting up packages from gating repo.
This patch excludes kernel update here too to avoid this issue.

[1] https://review.opendev.org/c/openstack/tripleo-quickstart/+/856603

Related-Bug: #1987632
Change-Id: Ief8021702cfca3a3767299464f14a0ef6128eae0
2022-09-16 11:03:37 +05:30
Chandan Kumar (raukadah) 5d3f1c2c9a Use Python3 based http.server command
Current we are looking for python2 based http server and
it fails to kill the running process which leads to port
already in use error.

Since Python3 is used everywhere so let's use that one.

Closes-Bug: #1956297

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I878c6adfa110fa28b9c83a7669d28af7ac0cd49f
2022-01-04 13:30:54 +05:30
Steve Baker 41f07fbe1c Do not hard-code overcloud-full image name
The var overcloud_image defaults to overcloud-full, and will until the
switchover to the whole-disk overcloud.

Change-Id: I64c0d9f97b34e9145be70af7c489bb5b706baf8a
Blueprint: whole-disk-default
2021-09-10 13:52:21 +12:00
Sofer Athlan-Guyot 180cb801ce Fix ansible network corruption while fetching repo.
On private cloud with 3ctl and 1comp I had a lot of false positive
while trying to push the gating repo targz to the overcloud.

The retry prevents this from happening.

Change-Id: Ie0d2dcbe660ad00a10a5400db7898a016ef22a1d
2020-10-27 12:07:07 +01:00
Sagi Shnaidman 8c105f5581 New CI job: add settings for containers registries
Support pulling containers from provider job registry.

Change-Id: Ib85f3a61f20c60865362eea4d14e5ae6ab0ae46f
2020-09-01 07:57:40 +00:00
Sorin Sbarnea 8b2e5653e4 lint: fixed ansible-lint 301 rule
Change-Id: I8ce7e11cd6027b53f1112c5880a5891c778db9d4
2020-01-05 19:37:09 +00:00
Sorin Sbarnea 16649df878 lint: bumping to latest versions
- run `pre-commit autoupdate` and fixed new issues
- adopted newer pre-commit config for ansible-lint 4.2.0+
- fixed some reported broken rules
- temporary disabled few rules, just to contain the size of of review,
  planning to drop/fix them in follow-ups.

Change-Id: I807ba4e919527be56c85ec72d0f4c7148f04e994
2020-01-05 19:36:36 +00:00
Sorin Sbarnea 1c6b947bf2 ansible-lint: removed skip of 206
- Fixes 206 errors and removed the skip.
- Also replaces revision with latest tag (pushed today)

Bug: https://bugs.launchpad.net/tripleo/+bug/1848512
Change-Id: I69d75ba9de8ab0e91eb45fd4f9febfdb28cdcb3a
2019-10-25 17:15:40 +01:00
Zuul c556bcade9 Merge "Adopt yamllint strict linting" 2018-12-04 22:28:05 +00:00
Alex Schultz 05b5b272f3 Add ability to disable yum update with gating repo
Previously when the gating repo was enabled, we would blindly yum update
with the repo. This probably shouldn't be the case as we should just be
installing or updating the new packages after the repo has been
installed. However to maintain backwards compatibility, a new variable
called ib_gating_repo_update has been created with the default of True.
To disable the yum update after isntalling built repo, set this to
false.

Change-Id: I5172134738b5b3d5146e45f1e0a7720b6e1d5a2c
Closes-Bug: #1796639
2018-12-01 14:11:29 +00:00
Sorin Sbarnea 72141b7fab Adopt yamllint strict linting
Upgrades yamllint to latest version and adots use of its strict
checking.

Fix all known problems reported by yamllint so we don't have to do
that while touching these files.

Change-Id: I4bdc520d9e2aff086c4b463718bc1e053261a4f5
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-11-26 12:37:21 +00:00
Sorin Sbarnea cc82349363 Adapt code to newer code style (linters)
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.

Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.

Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
2018-11-16 12:42:51 +00:00
Quique Llorente 5b7e12b826 Use correct package manager at DLRN
Looks like we where using yum at fedora28 job at build-test-packages, we
need to generalize code at build-test-package so it works with fedora
too.

Also install-build-repo was trying to use yum.

Change-Id: I8cea39a9923e23c5f0fceb895a1efe4cb8ec395d
Story: https://tree.taiga.io/project/tripleo-ci-board/task/319?kanban-status=1447275
2018-11-10 12:09:17 +00:00
Sagi Shnaidman 1792332d0c Use web repo with installed packages for image build
When building images we need to supply repo with built packages
to DIB so it will use when installing packages on the image.
Because DIB is in a chrooted environment we have to use repo in
network. This patch runs a webserver on the directory of the
repository to make it accessible over HTTP on port 8766.

Change-Id: I7b21d3ff1ec7cecab322e599cb929259f5a7256e
2017-04-05 14:15:05 +03:00
Sagi Shnaidman f791f5b3cd Add pipefail to each command that piped with timestamp
When pipe is added to command, it should still exit with its
result code, so save it by setting pipeline option before each
command.

Close-Bug: #1676156
Change-Id: Ibbe49b4a15a5b7825447a563fe35af85fd48b3ff
2017-03-26 19:49:32 +03:00
Jenkins c9453db00e Merge "Add timestamps to quickstart logs" 2017-03-25 05:47:08 +00:00
Attila Darazs 6a5db4f9c2 Add timestamps to quickstart logs
Prepend a timestamp with awk to our deployment and test commands. This
allows html linking from the log servers and also better correlation
with the system logs.

We are not using the "ts" command from the moreutils package to avoid
extra dependencies. The drawback is the lack of sub-second timinig.

It is possible to disable the timestamping by setting the
timestamper_cmd to an empty string.

Also add a README file for the extras-common role.

Closes-Bug: #1673046
Change-Id: I8a2a1e4fde2ba805d3361e2e7a2337e873133ef0
2017-03-20 14:52:03 +01:00
John Trowbridge 510477c941 Do not disable other repos when updating gate packages
If we have a dependency that is not installed at the point we run
this, and it is in another repo, we will fail to find it and fail
the script.

DLRN already has a mechanism to guarantee a later built package has
a higher version than earlier packages, and we have priority set to
1 for this repo as well. As such we should get the packages we want
without disabling the other repos.

Change-Id: Id74954a8bab049f39af9f73bfcd8137b0d6f8139
2017-03-15 15:11:17 -04:00
Sagi Shnaidman d7757ec171 Ansible role for built packages install
Take the repository comressed file, which was built by
build-test-packages role and install packages from it on live
host or inject them into the image with modify-image role.

Change-Id: I0305cfb917500a5890d74cadf9299d6538262282
2017-02-22 10:18:03 +02:00