Commit Graph

15 Commits

Author SHA1 Message Date
Sergiy Markin 6b317dda05 Airflow stable 2.8.2
This PS bumps up Airflow version to the latest
2.8.2 and also bumps up openstack dependences to
Antelope 2023.1

Change-Id: I61b5b39079f9c3360f5dfaafb1f961b629795c1c
2024-02-26 20:59:52 +00:00
Sergiy Markin f99abfa433 Airflow stable 2.6.2
This PS updates python modules and code to match Airflow 2.6.2:

- bionic py36 gates  were removed
- python code corrected to match new modules versions
- selection of python modules versions was perfrmed based on
  airflow-2.6.2 constraints
- postgresql image updated to 14.8

Change-Id: Ibdcc75e600166c20b842508aa5539587cca466f0
2023-08-29 00:50:54 +00:00
Sergiy Markin d00eaf0303 Drydock focal related upgrades
This PS implements the following changes:
- switches freeze approach to requirements-direct.txt and
  requirements-frozen.txt files
- adjusts code tabulation style according to  yapf recommendations
- replaces deprecated usage of responce.body attribute with
  responce.text
- fixes integration tests in controlled by Makefile + tox
- uplifts Helm to v3.9.4

Change-Id: I751db72eb8f670825382f11a36657112faeb169a
2023-04-26 22:32:49 +00:00
Sergiy Markin 415a8b52c5 [focal] Python modules sync with Airship project
- uplifted some python modules
- fixed tox4 requirements
- added focal build node as a default one
- added bindep.txt and bindep role to playbooks and docker image build process
- changes Makefile to reflect GoLang and dependency management changes
- upgraded Helm to v3 for chart build process
- uplifted postgresql version to 14.6
- fixed deprecated falcon.API - replaced with falcon.APP
- fixed upstream docker image publishing process

Change-Id: I307d72bb7680f6f5c71e42ad30666cf786420460
2023-04-08 08:20:22 +00:00
Zuul c7583638e1 Merge "Accelerate YAML operations with LibYAML" 2020-09-28 16:58:34 +00:00
Phil Sphicas caa7f22b50 Accelerate YAML operations with LibYAML
Patch PyYAML (via the pylibyaml library) to automatically enable the
LibYAML parser and emitter, which are faster than the Python versions.

https://pypi.org/project/pylibyaml/

Change-Id: Iaddc0f30ed99b1f9a999f5365e9e8bf43349b82f
2020-09-25 08:07:49 +00:00
Rick Bartra 96db568d4b Update pip package versions in preparation of pip 20.3
When pip is upgraded to 20.3, the pip dependency resolver is much more
strict and will no longer install a combination of packages that is mutually
inconsistent[0].

These changes account for the fact that Shipyard imports Armada, Drydock,
Promenade, and Deckhand. Having said that, with pip 20.3, the pip
packages amongst those projects cannot conflict. A follow-up change may
be needed if more conflicts are found.

[0] https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-2-2020

Change-Id: I89c6dc728824f00f964c794142766012c407c4ed
2020-09-23 17:17:28 -04:00
Alexander Hughes 80c82d8957 Uplift pyyaml and requests
Automatic security alerts were created for pyyaml==3.12 and
requests==2.19.1 suggesting these packages be upgraded to 2.20.0 and
5.1 respectively.

Vulnerabilities addressed:
CVE-2018-18074 on requests package
CVE-2017-18342 on PyYAML package

Change-Id: Iff5bc11d60c2724fef0bb8b2552e17573c79dc9f
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
2020-03-04 23:11:31 +00:00
Ahmad Mahmoudi d0acfe77cc (fix) Address uwsgi segmentation fault issue
With Ubuntu bionic base image for drydock docker image, uwsig crashes
with segmentation fault when it tries to load/import the psycopg2 package.
The reason for this is that uwsgi and psycopg2 packages are built with
incopatible ssl libraries.

Upgrading uwsgi and psycopg2 to address this issue for bionic based
images.

Change-Id: I3d0bfb96c19849f5c2925366f8712bf47985df67
2020-02-26 15:09:22 +00:00
Hemanth Nakkina da0c7e831e Add Redfish as OOB driver
This patch implements Refish as new OOB driver for Drydock.
All the existing Drydock Orchestrator actions are implemented.

Change-Id: I31d653fb41189a18c34cfafb0f490ca4f4d661b5
2018-12-08 21:19:30 +05:30
Scott Hussey 5348cd4ae9 Roll pyghmi back to 1.0.18
The attempted rollback to 1.0.44 still showed instability
in controlling baremetal. This rolls all the way back to the version
used prior to the upgrade.

Change-Id: If8cb8580043575eb68510ca00a2cb19e881ae76e
2018-09-25 10:32:51 -05:00
Scott Hussey 6697c0f23f Revert pyghmi to insecure version
- Pyghmi 1.0.44 uses pycrypto 2.6.1 which has an open CVE
  against it.
- Updating Pyghmi to 1.1.0+ to absorb the change to cryptography
  breaks functionality in all testing against baremetal IPMI
  interfaces.
- This reversion has minimal risk because the only usage of pycrypto
  in Drydock is via the Pyghmi library to initiate connections to
  server IPMI interfaces. Arbitrary user input is not used for any
  pycrypto arguments.
- This is a temporary solution, longterm Drydock will move away from
  Pyghmi - either to a different IPMI library or to no IPMI support
  and instead using Redfish.

Change-Id: Ie5cd021528f61a3a2c04b156bf60b94b8f42dd5c
2018-09-21 11:59:12 -05:00
Scott Hussey 049c17b1c9 Back-off pyghmi upgrade
- Updating pyghmi to 1.2.x to fix a vulnerability in dependency
  pycrypto caused the baremetal gates to fail. Backing off to 1.1.0
  does fix the pycrypto issue, but hopefully reverts the functionality
  failure

Change-Id: Ie4927fc974b059c643ba32530ed5f3287726480b
2018-09-17 11:03:27 -05:00
Mark Burnett fe78b9ab53 Security update: Update pyghmi to avoid pycrypto
The version of pyghmi being used depends on a vulnerable pycrypto
version.  Updating to the latest, which depends on cryptography.

This also updates the `freeze` tox job to recreate to ensure proper
updating of the lockfile.

Change-Id: I4a7d82dc8bfad1609a5d5b4e663cf74266b7f6f0
2018-09-11 20:37:08 -05:00
Scott Hussey 0f39a55942 Refactor build to include Go
Adding the baclient code to Drydock requires a refactor
of the build automation to support multiple languages
and multiple artifacts included in a single Docker image

NOTE: the go source here is a placeholder 'hello world' sample

Change-Id: I1b4883f018b33b3d4fcd7cbcb6cba660fcdc93de
2018-09-04 13:13:21 -05:00