Commit Graph

11 Commits

Author SHA1 Message Date
Romulo Leite f8b6b8faa0 Port stx-mariadb base image to stx-debian
This change enables building the stx-mariadb Docker image within
the Debian build framework. It is now based on stx-debian and
following the new convention for StarlingX images.

Test Plan:
PASS - Build stx-mariadb debian image
PASS - Manually upload mariadb built image to a Standard system,
       use helm-override to change the garbd container image and
       reapply stx-openstack.
PASS - Check if the garbd pod starts successfully
PASS - Ensure that galera-arbitrator-3 is installed

Story: 2010072
Task: 46975

Signed-off-by: Romulo Leite <romulo.leite@windriver.com>
Change-Id: I1d5dbaa5b58dd2cb68e2dfcbe85d2943184f00ff
2022-12-15 15:20:20 -03:00
Al Bailey df777c46ba Fix the stx-mariadb docker build errors
When building the docker image, the apt-get update fails
due to:
   /etc/apt/sources.list.d/mariadb.list
which contains a repo that no longer exists
  http://ftp.osuosl.org/pub/mariadb/repo/10.2/ubuntu

To get the docker build to work, that repo needs to
be removed prior to running the 'update'

Closes-Bug: 1986828
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Ibbb449755717a5dec28deebeb753dc8e993eacb9
2022-08-18 13:39:29 +00:00
Dongqi Chen af359d4938 Add auto-versioning to starlingx/integ packages
This update makes use of the PKG_GITREVCOUNT variable
to auto-version the packages in this repo.

Story: 2007750
Task: 39951
Change-Id: I854419c922b9db4edbbf6f1e987a982ec2ec7b59
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
2020-06-24 09:48:28 +08:00
Don Penney 1b78769ed5 Remove pike/master files
This update removes pike and master wheel and/or image files,
as these have been replaced with stable/dev.

Change-Id: I02dfdd799c62f0b4028606b04ad6f125865769d9
Story: 2005248
Task: 30321
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-04-03 22:30:59 -04:00
Don Penney b6d2f1d9ae Create the stable/dev wheel and image build files
This update supports the migration to stable/dev build streams by
setting up the stable/dev wheels.inc and image build files.

Change-Id: I2330be8a910245d434a9e0a116fa4db65f7212e8
Story: 2005248
Task: 30100
Depends-On: Ib5dc9a7c1d8c37368d073e28d83eeb883766ee3f
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-03-20 14:09:34 -04:00
Chris Friesen 8b811b39a8 build mariadb docker image with galera arbitrator added
In order to support running the galera arbitrator we need to add
it to the openstack-helm mariadb docker image.  This means building
our own docker image for now.

I've talked with "jayahn" on the openstack-helm IRC channel, and they
said they had no objection to adding galera-arbitrator to their mariadb
image, so we should upstream it as soon as possible.  Once it's
upstreamed we can remove this.

Change-Id: I6ab2607abcd8e0d130ef80fbd1979c62a20a6ff4
Story: 2004712
Task:  29053
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
2019-01-23 17:11:45 -06:00
Martin Chen dba551a518 Fix linters error and enable linters zuul gate
Fix below linters errors
E010 The "do" should be on same line as for
E010 The "do" should be on same line as while
E011 Then keyword is not on same line as if or elif keyword
E020 Function declaration not in format ^function name {$

Ignore:
E041 Arithmetic expansion using $[ is deprecated for $((
E042 local declaration hides errors
E043 Arithmetic compound has inconsistent return semantics
E044 Use [[ for non-POSIX comparisions

Story: 2003366
Task: 24423

Change-Id: I8b6b72e702d3e89d1813772d6bf16819e28e818c
Signed-off-by: Martin Chen <haochuan.z.chen@intel.com>
2018-09-07 01:50:28 +08:00
Sun Austin 847cf1e92f Fix linters issue E002 and E003 and linters check (none-voting)
E002 Tab indents
E003 Indent not multiple of 4

Story: 2003366
Task: 24424

Change-Id: Ie063ccfe346489f08c4752adaa344f5919db0378
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-08-31 04:08:52 +00:00
Scott Little 7c1d49e356 Relocate python-psycopg2 to stx-integ/database/python-psycopg2
Move content from stx-gplv3 into stx-integ

Packages will be relocated to

stx-integ:
    base/
        anaconda
        crontabs
        dnsmasq
        rsync

    database/
        python-psycopg2

    filesystem/
        parted

    grub/
        grub2

    security/
        python-keyring

Change-Id: Ib5664fc4b8820590d77e32909674461209ceb699
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-01 15:38:27 -04:00
Erich Cordoba 08369746d3 Add bison build requirement for mariadb
MariaDB downloaded from upstream requires bison to build, this
caused a failure in the building. Adding the proper line in
the spec file solves the issue

Story: 2003041
Task: 23075

Change-Id: I4d404ae02b9e3166fb49bed318058860a4e1519f
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-01 15:31:55 -04:00
Scott Little 32e03b2cdd Relocate mariadb to stx-integ/database/mariadb
Move content from stx-gplv2 into stx-integ

Packages will be relocated to

stx-integ:
    base/
        bash
        cgcs-users
        cluster-resource-agents
        dpkg
        haproxy
        libfdt
        netpbm
        rpm

    database/
        mariadb

    filesystem/
        iscsi-initiator-utils

    filesystem/drbd/
        drbd-tools

    kernel/kernel-modules/
        drbd
        integrity
        intel-e1000e
        intel-i40e
        intel-i40evf
        intel-ixgbe
        intel-ixgbevf
        qat17
        tpmdd

    ldap/
        ldapscripts

    networking/
        iptables
        net-tools

Change-Id: Ibc2ad09bef7a7f40e337513a1694a22f38d7f4e9
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-01 15:31:55 -04:00