airshipctl/roles/airshipctl-build-images/tasks/main.yaml
Drew Walters 5aebf87fc2 [#33] Add image build gate
This change adds a voting job that builds the airshipctl docker image on
each patch set. The same job will be updated in a later commit to
publish the image to the quay.io/airshipit/airshipctl repository.

Related #33

Change-Id: I202da62c77ec277312518fead09f0f3ef32ccde8
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-02-14 10:17:15 -06:00

22 lines
782 B
YAML

# 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.
- name: Buid airshipctl Image
make:
chdir: "{{ zuul.project.src_dir }}"
target: images
- name: Verify Image Exists
shell: docker image inspect "$(make print-docker-image-tag)"
args:
chdir: "{{ zuul.project.src_dir }}"