945acc1251
As the `stable/ussuri` branch is potentially being removed from all OpenStack repositories -- as seen in `openstack/heat` [1] -- we should consider using a different `PROJECT_REF` for all LOCI-based container images in stx-openstack to avoid possible build breaks in the future. This change proposes the use of the following commit SHAs: Repository stable/ussuri's HEAD (as of May 9th) * openstack/aodh 4366d6eae1aad4e15aeca4bc7e8b5e757c7601e8 * openstack/ironic 859e51c8b4b8344827b5bba1f9a0b737ffbc1ebc * openstack/barbican cc076f24e55c24a6fc8e57ca606130090fb6369b * openstack/ceilometer bcada72c3aaeeb2a86de3368b1787a9253c9d55b * openstack/cinder 79b012fbc8b6bc9dcce2c8c52a6fa63976a0309f * openstack/glance 6f03ccd47772e02f810de8fa3158afddc4a9c158 * openstack/heat 5466ede853bde7d636943cba017ed8265dcfd260 * openstack/horizon e6f3952b878d6b04fde9742987e0f37a1cfad3e5 * openstack/keystone 1ab860a08e527ca9e0c82a49fbf004d415fec991 * openstack/neutron fe2445d99c430bb080ac45a19e4958b1ae7c9857 * openstack/nova 3fe8880d3759cbd7b19d75dcf235dfd5c511be13 * openstack/placement 5a865abc2545544870ad972f70cd54ebd14c19a8 Note: Gnocchi is in [2] and currently points to a specific semver. [1] https://opendev.org/openstack/heat [2] https://github.com/gnocchixyz/gnocchi Test Plan: PASS - Build stx-debian base image PASS - Build wheels tarball PASS - Build all the stx-openstack images affected by this change Cherry-pick notes: ------------------ Originally, this update was made through two commits (on `master`): 1)7243a51
- stx-heat: Use commit hash in PROJECT_REF: This commit changed the `PROJECT_REF` only for `stx-heat`, which, at the time, was the image responsible for breaking the `stx-openstack` build. 2)67c2741
- stx-openstack: Use commit hash in PROJECT_REF: This commit did the same thing as 1) but for all other `stx-openstack` images, for prevention purposes. Since the two are strongly related, this cherry-pick combines them into a single change that effectively updates all the `stx-openstack` images at once. Partial-Bug: 2019015 Change-Id: Ibf589444237664dd9e4ab8314ca1c8ad44f80ec7 Signed-off-by: Luan Nunes Utimura <LuanNunes.Utimura@windriver.com> (cherry picked from commit67c274141a
) (cherry picked from commit7243a5140f
)
20 lines
966 B
Plaintext
20 lines
966 B
Plaintext
BUILDER=loci
|
|
LABEL=stx-horizon
|
|
PROJECT=horizon
|
|
PROJECT_REPO=https://opendev.org/openstack/horizon.git
|
|
PROJECT_REF=e6f3952b878d6b04fde9742987e0f37a1cfad3e5
|
|
PROJECT_UID=42425
|
|
PROJECT_GID=42425
|
|
PIP_PACKAGES="pycryptodomex python-ceilometerclient \
|
|
coverage pyudev ldap"
|
|
DIST_REPOS="OS"
|
|
PROFILES="fluent horizon apache"
|
|
CUSTOMIZATION="\
|
|
ln -s /etc/apache2/mods-available/wsgi.load /etc/apache2/mods-enabled/wsgi.load && \
|
|
ln -s /etc/apache2/mods-available/wsgi.conf /etc/apache2/mods-enabled/wsgi.conf && \
|
|
ln -s /bin/true /usr/bin/a2enmod && \
|
|
sed -i -e 's/raise ImproperlyConfigured..mysqlclient 1.3.13 or newer is required.*/pass/' /var/lib/openstack/lib/python3.9/site-packages/django/db/backends/mysql/base.py && \
|
|
sed -i -e '/query.decode.errors=.replace../s/decode/encode/' /var/lib/openstack/lib/python3.9/site-packages/django/db/backends/mysql/operations.py && \
|
|
sed -i 's/Listen 80/# Listen 80/' /etc/apache2/ports.conf
|
|
"
|