33 Commits

Author SHA1 Message Date
Jackie Huang
8f0ed27738 chartmuseum: update to 0.13.0
The download url for 0.12.0 on s3.amazonaws.com is gone,
so update to 0.13.0 and use the url from github.

Closes-bug: 2019771

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ie562c04a4e5a85db8d283a267c5fde53ae8bd27f
2023-05-15 18:37:31 -07:00
Jackie Huang
bbd22cb92c kubernetes: update the checksum for kubernetes-contrib
The checksums of the tarball from github has changed, so
update to the new ones.

Closes-bug: 1945140

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I44acf422cd65c53a0ebe0b86e6a3def2529fef4e
2021-09-29 00:15:04 -07:00
Zuul
6c4e71e523 Merge "armada: add new recipe" 2021-08-24 16:38:43 +00:00
Zuul
3dacb96bab Merge "armada-helm-toolkit: add new recipe" 2021-08-24 16:38:22 +00:00
Zuul
1b55a757f5 Merge "chartmuseum: add new recipe" 2021-08-24 16:35:30 +00:00
Zuul
45493a236d Merge "containerd-opencontainers: uprev to 1.3.3 for stx 5.0" 2021-08-23 20:30:52 +00:00
Zuul
69ccc3536d Merge "cri-tools: add the recipe for stx 5.0" 2021-08-23 20:30:24 +00:00
Zuul
9d0399762c Merge "kubernetes: uprev to 1.18.1 for stx 5.0" 2021-08-23 20:30:06 +00:00
Zuul
6bb57dd011 Merge "helm: uprev to 3.2.2 for stx 5.0" 2021-08-23 20:29:35 +00:00
Jackie Huang
14e979e087 ceph: update for stx 5.0
* inherit stx-metadata to help install updated
  files from stx 'integ' repo.

* remove the local copy of stx files.

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I41e37d1b0808ad86e2610394691ead37c8875326
2021-07-23 15:29:35 +08:00
Jackie Huang
96ed04852d docker-distribution: uprev to 2.7.1 for stx 5.0
* version 2.7.1 is required by registry-token-server
  in stx 5.0

* combine the bbappend and bb file

* add INSANE_SKIP to skip two QA issues

* update the stx-preferred-vers.inc

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ie56f3781c7045347dad5b6418c28288159ac6c13
2021-07-23 15:29:35 +08:00
Jackie Huang
d9e8fd3c96 containerd-opencontainers: uprev to 1.3.3 for stx 5.0
* add bbappend to uprev to 1.3.3

* inherit stx-metadata to help apply patches and install
  updated files from stx 'integ' and 'config-files' repo.

* override the do_compile since the one in meta-virtualization
  doesn't work for the new version.

* append do_install to install extra binaries and config files

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ie52b798f844c88e7d79ef84293fc140c9784a0fb
2021-07-22 10:51:20 +08:00
Jackie Huang
505a48d573 cri-tools: add the recipe for stx 5.0
* cri-tools is required by containerd for stx 5.0
  (in centos, it's not a seperate package, it's included
   in containerd package)

* the original recipe is copied from master branch
  of meta-virtualization

* inherit stx-metadata to install config files from
  stx 'integ' repo.

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I64720f4e09e20cf7fd4ab44e80777d3955d2fc58
2021-07-22 10:51:20 +08:00
Jackie Huang
da6f4e40c5 kubernetes: uprev to 1.18.1 for stx 5.0
* uprev to 1.18.1

* inherit stx-metadata to help apply patches and
  install updated files from stx 'integ' repo.

* remove the local copy of stx files.

* fetch the updated kubernetes-contrib files from
  github tarball and remove the local copy.

* update the do_install according to updated
  spec file.

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I303e649f4a9a63ef8049ada1c8ce18fb23493d5e
2021-07-22 10:50:17 +08:00
Jackie Huang
a347c0d434 helm: uprev to 3.2.2 for stx 5.0
* uprev to 3.2.1

* inherit stx-metadata to help install updated
  files from stx 'integ' repo.

* remove the local copy of stx files.

* remove useless commented lines.

* update the do_install according to updated
  spec file.

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ief8355fd617252f4c2eea8b48ae5cfba98321d1d
2021-07-22 10:50:17 +08:00
Jackie Huang
c50318aaa7 armada: add new recipe
armada is required by the ansible boostrap,
so add the new recipe and add it into the image.

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I4b30993a4144f80edf92d8d7be3df6dd97ec3794
2021-07-21 17:20:13 +08:00
Jackie Huang
b5cdff0918 armada-helm-toolkit: add new recipe
armada-helm-toolkit is required by armada.

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I12425404e637ffb84e01b2ba4fa57855cfee9e35
2021-07-21 17:20:13 +08:00
Jackie Huang
ad6d65fe90 chartmuseum: add new recipe
chartmuseum is required to build helm chart packages.

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I7d6b9fa4cecbb5b909b004f10a9142659b191a13
2021-07-21 17:20:13 +08:00
Jackie Huang
ed2ee77c9c openvswitch: update for stx 5.0
* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I54bf9408f67df151570acffd78f6f82694af5252
2021-06-24 17:07:05 +08:00
Jackie Huang
c4c6a58e2f docker-ce: update for stx 5.0
* inherit stx-metadata to help install updated files
  from stx 'config-files' repo

* remove do_copy_config_files since it's not
  needed after using stx-metadata

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I1e6505ac4a142e976f3d66137801012cb393bc08
2021-06-24 17:07:04 +08:00
Jackie Huang
a60eb42a1d ceph: use the sources from upstream git repos
There are about 30 patches made in upstream stx-ceph
not added in our recipe, and the ceph-mgr-restful issue
was already fixed by one of these patches:
https://github.com/starlingx-staging/stx-ceph/pull/29

So in order to avoid other issues that has been fixed in upstream
stx-ceph, do the following to align with stx 3.0:

 - Change to use the sources from stx-ceph git repos.
 - Use the sources for third party libs required by ceph from ceph git
   repos.
 - Remove the patch 0005-Add-hooks-for-orderly-shutdown-on-controller.patch
   since it's already included in the source of stx-ceph.
 - Fix the hard coded path of libdir in init scripts.

Closes-bug: 1905376

Change-Id: I18e72d79fc06c3a9b0bceceba7da10c6d220958f
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-11-24 17:17:59 +08:00
Jackie Huang
1eb2bd622a ceph: fix the path for service in ceph-disk
The hardcoded path /usr/sbin/service in ceph-disk is
incorrect for yocto.

Story: 2008204
Task: 40988

Change-Id: I374a90886ad679595054ab3b75c3438002f52024
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-10-28 21:36:19 +08:00
Babak Sarashki
fb9f2dfa09 stx-config-files: split stx configs into bbappends
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 10:38:48 -07:00
Jackie Huang
1bdadaaafb ceph: remove ceph user and disable systemd services
In stx 3.0, ceph runs with root user and is not meant to
be managed by systemd, so remove ceph user group, and
disable systemd services by default.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-17 13:49:29 -07:00
Jackie Huang
46d78550bd ceph: add version 13.2.2 and align with stx 3.0
ceph-disk is used by stx puppet manifest but it's replaced by
ceph-volume in ceph 14.1+, and there might be other incompatible
issues, so add version 13.2.2 to align with stx 3.0, the version
14.1 is kept so it may be used by future stx release.

This includes the following changes:
- Add recipe and patches for version 13.2.2
- Set preferred version to 13.2.2
- Rename ceph_%.bbappend to ceph_14.1.0.bbappend
- Update the conf file and scripts from stx 2.0 to stx 3.0
- Remove the useless files in stx-integ

fix #483
fix #497

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-17 08:55:01 -07:00
Babak Sarashki
63b6601bdd meta-stx: update LICENSE and copyright info
- Change License from Apache2 to MIT.
- Remove Copyright from individual recipes
- Move License to README.md
- Add meta-stx Copyright to README.md

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-08 13:00:26 -07:00
Saul Wold
9d800588a8 registry-token-server, docker-distribution, kubernetes: Restructure
Import from stak-common and move to meta-stx-cloud, remove kubernetes
as it's older than what we already had. The registry-token-server
files are duplicates of what you already had also.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2020-05-19 10:06:02 -07:00
Saul Wold
7cd3c8397f etcd: Import and restructure
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2020-05-19 10:04:38 -07:00
Saul Wold
9ac144d3d6 openvswitch: Move to meta-stx-virt
This recipe is related to Virtulization

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2020-05-17 16:00:29 -07:00
Saul Wold
7ff76ff3b1 ceph: Move to meta-stx-virt
Ceph is part of virtualization, so move it here.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2020-05-17 16:00:29 -07:00
Saul Wold
96a1ac39e3 etcd: move to meta-stx-integ
The integration layer is the place to put StarlingX changes

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2020-05-17 16:00:29 -07:00
Saul Wold
22a11d5adc Move the Virtualization related recipes to meta-stx-virt
These recipes are either bbappend to meta-virtualization or
new recipes related to virtualization and/or docker

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2020-05-17 16:00:29 -07:00
Saul Wold
17d32dbffb meta-stx-virt: create layer and add layer.conf file
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2020-05-17 16:00:29 -07:00