12 Commits

Author SHA1 Message Date
Phil Sphicas
f165082caf Pass extra build args to Docker image builds
This change updates the generic container image build Makefile to allow
the passing of extra build args to the container build Dockerfiles. For
example, to build the calicoctl-utility container with an alternative
version of calicoctl:

make build EXTRA_BUILD_ARGS='--build-arg CALICOCTL_VERSION=v3.8.1' ...

Change-Id: I2af072d72fd60389a9080ce18cdc38860bcb30b3
2019-10-28 12:56:28 -07:00
Roman Gorshunov
591f61462f Fix ceph-utility image name and distro tags
- Fix incorrect ceph-utility image name and tag
- Fix distributive-specific tags not being applied
- Adjust files pattern for job to run

Change-Id: Id17eaf8758b45491eb1181dd7137f79bb7e33d4e
2019-10-09 07:16:36 +00:00
Roman Gorshunov
f14ab949d6 Fix publishing job, rename build Makefile target
airship/maas and airship/armada use 'build' Makefile target name to
build images. Thus changeing target name here also to simple 'build',
instead of 'build-image'. Breaking change.

Publishing job has had a mistype in Makefile target. Fixing it.

Change-Id: I5b2f0afc66309756df0bc7d82dfc139bb6821d47
2019-10-08 17:32:54 +00:00
Roman Gorshunov
1a60c80c0f Adjust code to project conventions
Following Airship Code and Project conventions [0], adding
standard Makefile targets.

Second iteration (from previous patch e41bd62).

[0] https://airship-docs.readthedocs.io/en/latest/code-conventions.html#code-and-project-conventions

Change-Id: I9d13bb314e8618a11a957fee43fb24e02320a03d
2019-10-07 18:35:23 +02:00
Roman Gorshunov
e41bd62063 Adjust repository for code and project conventions
Following Airship Code and Project conventions [0], adding
standard Makefile targets and moving charts and Dockerfiles
into correct directories.

[0] https://airship-docs.readthedocs.io/en/latest/code-conventions.html#code-and-project-conventions

Change-Id: Ia38fd662be663b83a1b8adef1eca1492ed1fde34
2019-10-04 15:27:44 +02:00
Sreejith Punnapuzha
3c9e925cd4 ignore folder jmphost as there is no helm chart.
This ps adds the folder jmphost to exclude list as there is no
helm chart in this folder which causes make to fail

Change-Id: I7071352ba75d3416f48b9a38d46e6bb24bb0c8dc
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
2019-10-01 15:14:23 -05:00
Sreejith Punnapuzha
ac02689568 Revert the make file for helm make.
This PS reverts the makefile for making helm chart. Also docker
build makefile is moved to Dockerfiles folder.

Change-Id: I866cd23a4c5b4407ab33ffd220a9ba886c5b9f63
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
2019-10-01 14:35:07 -05:00
Roman Gorshunov
b139137d58 Rename mysqlclient-utility container
Rename mysqlclient-utility container to porthole-mysqlclient-utility.

Change-Id: I899b4bdd5edfb7454c73b92fc9a7bb76e08ebd36
2019-09-26 15:40:26 +00:00
Roman Gorshunov
33ce528756 Image builds and publishing, CI gates
This patch set removes porthole-images-build and porthole-images-upload
zuul jobs, as they seem to be not used. Parent job upload-docker-image
currently does not support quay.io registry.

Add Zuul jobs to build and upload to quay.io mysqlclient-utility container
image, basing on other Airship project jobs.

Change Dockerfile of mysqlclient-utility to make it more consistent with
other Airship Dockerfiles.

Removed mysqlclient-utility/build.sh, as this seem not to be used.

Rewrite Makefile to support build-image-$(IMAGE_NAME) target, which
should be used to build images from different directories and allows to
base them on different base image.

Remove Makefile targets (pull-all-images, pull-images, dev-deploy) which
could not be executed anyway, because of absence of scripts they refer to.
Remove other unused Makefile targets.

Adjust copyright (license) message in files which are largely sourced
from Airship Apache 2.0 code.

Removed calicoctl, ceph, compute and openstack -utility jobs, as this
jobs only do linting of the same code multiple time, burdening OpenStack
Infrastructure. Added one linting job which runs agains complete code base.

Removed unused helm_install.sh, helm_tk.sh and
install_*_utility.sh scripts.

Change-Id: I2d8f4b0cfaa6a8def0539ce6c40cc3c320f36a7d
2019-09-25 18:39:11 +02:00
KHIYANI, RAHUL (rk0850)
7c7d2e8edb Adding the list of missing directories in excludes Makefile
Also updating the prefix name for ceph-utility to airshipit
as the porthole project was moved from attcomdev to airship

Change-Id: I22a31751a576f070945eaf5373307435d239ec45
2019-09-05 16:29:18 +00:00
Sreejith Punnapuzha
6c70a67cef Fix makefile to ignore Dockerfiles and docs directories
* Add Dockerfiles and docs directories to exclude from
    make all

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I1571ac164b3b1819ad56611e612bc9cab87c3d1e
2019-03-06 19:26:57 +00:00
Sreejith Punnapuzha
fcaf62a7fa Chart/Dockerfile for Ceph Utility Container
Change-Id: I06fa84b88f3a4828ee5151839c9e216879e56bde
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
2019-01-10 10:08:55 -06:00