Commit Graph

30 Commits

Author SHA1 Message Date
Feilong Wang
243eb6aa73 Release k8s images v1.15.2, v1.14.5, v1.13.9 and v1.12.10
Story: 2005124
Task: 36111

Change-Id: Ib719dc4ce8b00eb7ebbef663c99c4d2117590c2f
2019-08-07 13:53:08 +12:00
Feilong Wang
c6bf1da085 Set train-dev as the default tag for heat-container-agent
Based on the policy of heat-container-agent tag, now it's updated
as train-dev and as long as we release Train, it will be updated
with train-stable.

Change-Id: Iec43df292dbd6a7e7ee33a0d4b8670b653a7ebbd
2019-07-26 10:01:27 +12:00
Spyros Trigazis
fe0f0efa72 Add build-arg for --allow-privileged
https://github.com/kubernetes/kubernetes/pull/77820
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.15.md#node

story: 2005124

Change-Id: I2935d34ace08800c805028f1673bc515f2f577e6
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2019-06-21 11:47:50 +02:00
Spyros Trigazis
85bd42474b Build kubernetes v1.15.0
story: 2005124
task: 30581

Change-Id: I38157a8af7e38b007344942f54608eb413a4dfd9
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2019-06-19 20:44:57 +02:00
Spyros Trigazis
e99b0e8d6e Build kubernetes images
v1.11.10
v1.12.9
v1.13.7
v1.14.3
v1.15.0-rc.1

story: 2005124
task: 30581

Change-Id: I16cb54bb1d8e6e47b997d0314d00dbc9b7853aa0
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2019-06-12 09:43:52 +02:00
Zuul
981bf12a5a Merge "Disable broken image building" 2019-05-01 13:30:01 +00:00
Feilong Wang
5a74b45453 Release k8s v1.12.8
Task: 30675
Story: 2005124

Change-Id: I97ca231d70308862ed8b84d9364a6028c43e3382
2019-05-01 12:42:40 +12:00
Andreas Jaeger
42c75c4d3d Disable broken image building
The periodic jobs for building images are all failing, add some
low-hanging fruits for fixing:

1) Remove usage of own Fedora image build tools, they were removed as
   part of change Ie6a8496c202ff0bf330dd0f434cff8777e5ef112.
2) Add openstack/tripleo-image-elements and
   openstack/heat-templates as required-repo for the build
   jobs, they are requirements.

Still, these are still failing, let's disable the periodic jobs.
They have been broken since ages without fixing. There's no
record of a successful run under Zuul v3.
Last images at http://tarballs.openstack.org/magnum/images/ are from
2017.

Change-Id: I01122fa029b4124d912e80ea43bca07b8f2ebe5c
2019-04-30 15:26:02 +02:00
Andreas Jaeger
ef0678ec98 Fix container-build job
Fix container-build variable due to move from git.openstack.org to
opendev.org.

Also, rename the job following the naming guidelines [1]. We have a
shared namespace and job names need to start with the repo name.

[1] https://docs.openstack.org/infra/manual/drivers.html#consistent-naming-for-jobs-with-zuul-v3

Change-Id: Ieed605c8e6d020b224cacf377b5a6178669ecf1a
2019-04-30 15:25:55 +02:00
Zuul
cfc2bbec45 Merge "Build kubernetes v1.15.0-alpha.1" 2019-04-21 11:26:23 +00:00
OpenDev Sysadmins
79e7931e6e OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:44:16 +00:00
Spyros Trigazis
e98b8e52dc Build kubernetes v1.15.0-alpha.1
story: 2005124
task: 30581

Change-Id: I2e5afd0d9a35c8bb800c6aad9911d7c20df4cd78
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2019-04-18 12:48:14 +02:00
Spyros Trigazis
0ba46679bd Build kubernetes v1.14.1
story: 2005124
task: 30491

Change-Id: Id9e9a1867305e1bcd51a5606a21cbb3fa0e0fd73
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2019-04-12 15:30:52 +02:00
Feilong Wang
5b3489057d Publish k8s v1.14.0 image
Task: 30220
Story: 2005124

Change-Id: If1bc3e46a11b62cd5aa7bc5904f4262ee2eb2e24
2019-03-28 16:35:20 +13:00
Feilong Wang
70f1dbd9c7 Kubernetes images release
Releases:

v1.11.9
v1.12.7
v1.13.5
v1.14.0

Change-Id: I07539727744ad4dc7b6f665ef14cdbe1b6c00611
2019-03-28 10:03:02 +13:00
Ian Wienand
ae6933ffce Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ie288c147a3cbdd19abd257bf14972c316db6d67c
2019-03-24 20:34:05 +00:00
Feilong Wang
83c8b13bf0 Release k8s v1.11.8, v1.12.6 and v1.13.4
Release new k8s version because of CVE-2019-1002100[1]

[1] https://discuss.kubernetes.io/t/kubernetes-security-announcement-v1-11-8-1-12-6-1-13-4-released-to-address-medium-severity-cve-2019-1002100/5147

Task: 29789
Story: 2005124

Change-Id: I6435a10b05932ea71e825e944d53859eba374e91
2019-03-03 20:55:47 +00:00
Spyros Trigazis
0b5f4260d9 k8s_fedora: Deploy tiller
Add enable_tiller  label to install tiller in k8s_fedora_atomic
clusters. Defaults to false.

Add tiller_tag label to select the version of tiller. If the
tag is not set the tag that matches the helm client version in
the heat-agent will be picked.  The tiller image can be stored
in a private registry and the cluster can pull it using the
container_infra_prefix label.

Install tiller securely using helper container.

TODO:

*add instructions on how RBAC is designed
https://docs.helm.sh/using_helm/#example-deploy-tiller-in-a-namespace-restricted-to-deploying-resources-in-another-namespace
* add docs on how to install addon in the cluster using this tiller
* how users can get the creds to talk to tiller

NOTE:
The main goal of this tiller is internal usage!
Users can still deploy other tillers in other namespaces.

story: 2003902
task: 26780

Change-Id: I99d3a78085ba10030200f12bbfe58a72964e2326
Signed-off-by: dioguerra <dy090.guerra@gmail.com>
2019-02-11 11:18:08 +01:00
Feilong Wang
0a5fd471c3 Support multi k8s image versions
Change-Id: Icae30a7d6c5f779e75587f398d06dc149378e827
2019-01-30 12:59:24 +13:00
Spyros Trigazis
9f3719674b Use python3 for functional tests
* Run by default with python3.
* Add python2 functinal-api job.

Change-Id: Ic5c3c4ef57284767665d3c5dc92c59671218ebe1
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2019-01-18 12:12:16 +00:00
Zuul
0bf9ccadcb Merge "containers: clean-up build code" 2019-01-08 21:32:21 +00:00
Mohammed Naser
b6ad606bd2 containers: clean-up build code
The containers code use a code path for installing things which
can all be done using existing CI tooling, let's use that rather
than build our stuff from scratch.

Change-Id: I1bcf5dfaac62666f48f7cce70d53244814b0b7db
2018-12-18 19:47:56 -05:00
Spyros Trigazis
b577aa42c3 k8s_build: Build kubernetes v1.11.6 containers
* swicth from testing repo to openstackmagnum

Change-Id: Ib337be87c2f62ab911a56c24bbe3a03b402d812d
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2018-12-18 12:26:36 +01:00
Spyros Trigazis
d391dbdc3d Fix use of magnum_repository in container-publish
Change-Id: Iaa8f4ed2163f6dac364b1b8e9ada469afad38e63
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2018-12-16 00:21:49 +01:00
Spyros Trigazis
60c996d2b4 Changes in container builder
* do not log the login command
* change dockerhub creds
* fix reference of tag in the push images task
* add retries
* remove repository parameter
* pull fedora from docker.io
* name docker_image tasks for each kubernetes and magnum images
* drop async logs

Change-Id: Iead202bdf9d7d42d0b7e21bea73a298678be714b
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2018-12-15 22:28:49 +01:00
Spyros Trigazis
20d965c864 Build images in the ci
Use docker.io/openstackmagnumtest initially.

Change-Id: Idfb5ba636df2928e2e3e5248fdcaabd63160a4a4
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2018-12-14 16:56:40 +01:00
Paul Belanger
3d1ee579cb
Stop using slave_scripts/install-distro-packages.sh
Migrate the legacy job to start using our bindep role from zuul-jobs.
This will allow openstack-infra to delete
slave_scripts/install-distro-packages.sh in the future.

Change-Id: Ie3437d26fd6dfa884c86e18d69c1b1398d821dbe
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-20 14:56:18 -04:00
Andreas Jaeger
0e4ec17cc3 Remove broken job magnum-non-functional-tox-migration
This job cannot work, it calls 'tox -e migration' but there's no
migration environment.

Remove it, it's not needed and used.

Note that this is an alternative to change
https://review.openstack.org/537785 .

Change-Id: I38034695958b65c6d8abfa67ab51dfd719cb8ef6
2018-01-30 14:26:09 +01:00
Chandan Kumar
53fa3accea Remove intree magnum tempest plugin
* It removes magnum tempest plugin reference in favour of using
  newly magnum-tempest-plugin.
* We removed tempest tests resides under functional.api.v1.test-*
  files as they are tempest tests and keeping the rest as they are
  used by functional tests.

Depends-On: Ibdddd26da9cfb0d08c2977660320b2c052d7261b
Change-Id: Ida2fa1ef5880ebead787e3b27ac7ebf5aa498f62
2017-12-14 15:48:47 +05:30
0b49f38069 Migrate to Zuul v3
Change-Id: I0d5d6a9038c9a150a74df955bccb3f9ed263b736
2017-10-10 14:29:04 +00:00