Browse Source

CI: Remove OpenStack-Helm-Infra CI job

Currently, the airship-shipyard-ubuntu job deploys K8s using outdated
playbooks. The job fails due to a change [0] that introduced an AppArmor
requirement to Calico. This change removes the failing job, as its
success does not depend on changes in Shipyard.

In the future, jobs requiring K8s should be deployed using the new
Minikube gate scripts from the OpenStack-Helm infra repository. They
will be added in future changes once they are required. Additionally, a
future change will introduce a Helm linting gate for charts hosted in
the Shipyard repository.

[0] https://review.openstack.org/614805
[1] https://git.openstack.org/cgit/openstack/openstack-helm-infra/tree/tools/deployment/common/005-deploy-k8s.sh

Change-Id: I72aaff9050eab844ef0856794b059de14e2a4a28
Drew Walters 3 months ago
parent
commit
ebf4ee4785

+ 0
- 31
.zuul.yaml View File

@@ -21,19 +21,11 @@
21 21
       jobs:
22 22
         - openstack-tox-pep8
23 23
         - airship-shipyard-linter
24
-        - airship-shipyard-ubuntu:
25
-            voting: false
26 24
         - airship-shipyard-image
27 25
     gate:
28 26
       jobs:
29 27
         - openstack-tox-pep8
30 28
         - airship-shipyard-linter
31
-        # NOTE(portdirect): enable when voting enabled.
32
-        # - airship-shipyard-ubuntu:
33
-        #     irrelevant-files:
34
-        #       - ^.*\.rst$
35
-        #       - ^doc/.*$
36
-        #       - ^releasenotes/.*$
37 29
         - airship-shipyard-image
38 30
     post:
39 31
       jobs:
@@ -52,29 +44,6 @@
52 44
     run: tools/gate/playbooks/zuul-linter.yaml
53 45
     nodeset: airship-shipyard-single-node
54 46
 
55
-- job:
56
-    name: airship-shipyard-base
57
-    roles:
58
-      - zuul: openstack/openstack-helm-infra
59
-    vars:
60
-      zuul_osh_infra_relative_path: ../openstack-helm-infra/
61
-    timeout: 7200
62
-    pre-run:
63
-      - tools/gate/playbooks/osh-infra-upgrade-host.yaml
64
-    post-run: tools/gate/playbooks/osh-infra-collect-logs.yaml
65
-    required-projects:
66
-      - openstack/openstack-helm-infra
67
-    nodeset: airship-shipyard-single-node
68
-    irrelevant-files:
69
-      - ^.*\.rst$
70
-      - ^doc/.*$
71
-      - ^releasenotes/.*$
72
-
73
-- job:
74
-    name: airship-shipyard-ubuntu
75
-    parent: airship-shipyard-base
76
-    run: tools/gate/playbooks/airship-shipyard-check.yaml
77
-
78 47
 - job:
79 48
     name: airship-shipyard-image-base
80 49
     description: |

+ 0
- 28
tools/gate/playbooks/osh-infra-collect-logs.yaml View File

@@ -1,28 +0,0 @@
1
-# Copyright 2017 The Openstack-Helm Authors.
2
-#
3
-# Licensed under the Apache License, Version 2.0 (the "License");
4
-# you may not use this file except in compliance with the License.
5
-# You may obtain a copy of the License at
6
-#
7
-#     http://www.apache.org/licenses/LICENSE-2.0
8
-#
9
-# Unless required by applicable law or agreed to in writing, software
10
-# distributed under the License is distributed on an "AS IS" BASIS,
11
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
-# See the License for the specific language governing permissions and
13
-# limitations under the License.
14
-
15
-- hosts: all
16
-  vars:
17
-    work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
18
-    logs_dir: "/tmp/logs"
19
-  roles:
20
-    - gather-host-logs
21
-    - helm-release-status
22
-    - describe-kubernetes-objects
23
-    - gather-pod-logs
24
-  tags:
25
-    - gather-host-logs
26
-    - helm-release-status
27
-    - describe-kubernetes-objects
28
-    - gather-pod-logs

+ 0
- 41
tools/gate/playbooks/osh-infra-upgrade-host.yaml View File

@@ -1,41 +0,0 @@
1
-# Copyright 2017 The Openstack-Helm Authors.
2
-#
3
-# Licensed under the Apache License, Version 2.0 (the "License");
4
-# you may not use this file except in compliance with the License.
5
-# You may obtain a copy of the License at
6
-#
7
-#     http://www.apache.org/licenses/LICENSE-2.0
8
-#
9
-# Unless required by applicable law or agreed to in writing, software
10
-# distributed under the License is distributed on an "AS IS" BASIS,
11
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
-# See the License for the specific language governing permissions and
13
-# limitations under the License.
14
-
15
-- hosts: all
16
-  vars_files:
17
-    - vars.yaml
18
-  vars:
19
-    work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
20
-  gather_facts: False
21
-  become: yes
22
-  roles:
23
-    - deploy-python
24
-  tags:
25
-    - deploy-python
26
-
27
-- hosts: all
28
-  vars_files:
29
-    - vars.yaml
30
-  vars:
31
-    work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
32
-  gather_facts: True
33
-  become: yes
34
-  roles:
35
-    - upgrade-host
36
-    - start-zuul-console
37
-    - disable-local-nameserver
38
-  tags:
39
-    - upgrade-host
40
-    - start-zuul-console
41
-    - disable-local-nameserver

+ 0
- 32
tools/gate/scripts/000-environment-setup.sh View File

@@ -1,32 +0,0 @@
1
-#!/bin/bash
2
-
3
-#    Licensed under the Apache License, Version 2.0 (the "License"); you may
4
-#    not use this file except in compliance with the License. You may obtain
5
-#    a copy of the License at
6
-#
7
-#         http://www.apache.org/licenses/LICENSE-2.0
8
-#
9
-#    Unless required by applicable law or agreed to in writing, software
10
-#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11
-#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12
-#    License for the specific language governing permissions and limitations
13
-#    under the License.
14
-
15
-set -xe
16
-
17
-sudo apt-get update
18
-sudo apt-get install --no-install-recommends -y \
19
-        ca-certificates \
20
-        git \
21
-        make \
22
-        jq \
23
-        nmap \
24
-        curl \
25
-        uuid-runtime
26
-
27
-CURRENT_DIR="$(pwd)"
28
-: ${OSH_INFRA_PATH:="../openstack-helm-infra"}
29
-cd ${OSH_INFRA_PATH}
30
-make dev-deploy setup-host
31
-make dev-deploy k8s
32
-cd ${CURRENT_DIR}

+ 0
- 19
tools/gate/scripts/010-build-charts.sh View File

@@ -1,19 +0,0 @@
1
-#!/bin/bash
2
-
3
-# Copyright 2017 The Openstack-Helm Authors.
4
-#
5
-#    Licensed under the Apache License, Version 2.0 (the "License"); you may
6
-#    not use this file except in compliance with the License. You may obtain
7
-#    a copy of the License at
8
-#
9
-#         http://www.apache.org/licenses/LICENSE-2.0
10
-#
11
-#    Unless required by applicable law or agreed to in writing, software
12
-#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13
-#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14
-#    License for the specific language governing permissions and limitations
15
-#    under the License.
16
-
17
-set -xe
18
-
19
-make charts

Loading…
Cancel
Save