73d22a488f
This PS restores image build for ubuntu_bionic and adds appropriate gates to keep it tested by appropriate functional and integrational tests. Change-Id: I695fb42efff29aeda737f2b9c1eaeb84b95aa57c
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
# Copyright 2019, AT&T Intellectual Property
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
- hosts: primary
|
|
|
|
|
|
|
|
roles:
|
|
- bindep
|
|
- ensure-docker
|
|
- ensure-python
|
|
- ensure-pip
|
|
|
|
tasks:
|
|
- name: Execute the make target for Helm chart linting
|
|
make:
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
target: helm_lint
|
|
register: result
|
|
- name: Execute the make target to package Helm charts.
|
|
make:
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
target: charts
|
|
params:
|
|
HTK_COMMIT: "{{ HTK_COMMIT | default('') }}"
|
|
register: result
|
|
failed_when: result.failed
|