Commit Graph

8 Commits

Author SHA1 Message Date
Ghanshyam Mann cbf9d36df6 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: Ib5a8155d76652044701ae05e5dbcc7078f41d863
2024-02-24 11:41:18 -08:00
Alex Schultz 9f3298c75e Fix git lookup
In CentOS8, git-core is the package instead of just git.

Depends-On: https://review.opendev.org/c/openstack/tripleo-common/+/786053
Change-Id: I5746a7230f307e59d93401372033ae45a65ba191
2021-04-13 16:01:14 +00:00
Emilien Macchi 66a92a458e Python3 support for dev_install
Change-Id: Ib893946407c2fd79e498b0fae2f3862e75e1348f
2019-10-29 14:42:38 +00:00
Emilien Macchi b25fe2590c Allow devs to modify images with Python directories
This will allow dev to update their container images from a local Python
directory, example in /home/joe/git/openstack/heat.

The new parameter python_dir is a list of directories.

To use it, your playbook must be like:

    - hosts: localhost
      connection: local
      tasks:
      - name: dev install heat-api
        import_role:
          name: tripleo-modify-image
        vars:
          tasks_from: dev_install.yml
          source_image: docker.io/tripleomaster/centos-binary-heat-api:current-tripleo
          modified_append_tag: -devel
          python_dir:
            - /home/joe/git/openstack/heat

Change-Id: I182c3fa58dc9af870e0da9f51ae1e22aa90d03e5
2019-06-21 01:31:01 +00:00
Emilien Macchi 9f112a5693 dev_install: fetch git/gerrit from opendev
To avoid warning about the redirection, let's use the new URL.

Change-Id: I053ce25b7531fbec8bbca6dfb087acf13afcf511
2019-06-14 13:44:32 -04:00
Chandan Kumar 410408ef1b Ported tripleo-modify-image to py3
It makes yum and pip installs work with py3 packages. The package manager
dnf/yum and pip binary are determined at run time from the OS.

Use dnf-plugins-core for dnf with respect to
yum-plugin-priorities.

Use pipefail with set -ex to fix linter errors.

Change-Id: I997509204e30abb8b21ef936ea44440fbaa5a0e4
Closes-Bug: #1813546
2019-02-18 18:22:40 +05:30
Chandan Kumar b541c5ef99 Run all linters via pre-commit
Executes all linters via pre-commit, which is much faster, guarantees
their version locking and allows upgrading them with a single command.

Before this change the only linter running via pre-commit was
ansible-lint.

Now we also run bashate, flake8 and yamllint via pre-commit.

For developer convenience we still keep the old tox environments
which allow running a single linter.

Added long_description_content_type to fix twine check failure

Change-Id: I037eae61921b2a84aa99838804f70e96ee8d8b13
2019-02-15 18:22:10 +05:30
Dan Prince 618d3ab83c Add dev mode install playbook for source installs
The following playbook will produce a modified image with Python source
code installed via pip. To minimize dependencies within the container
we generate the sdist locally and then copy it into the resulting
container image as an sdist tarball to run pip install locally.

Useful for local ad-hoc testing of upstream patches without
having to build and RPM in those cases.

Change-Id: I93c0e86b2e421b0bcb777d536fcb0d30e0ee3b68
2018-11-05 09:33:43 -05:00