Merge "[UI] Fix ONAP Portal SDK redirection bug"
authorDeepak Kataria <dd7022@att.com>
Thu, 3 Oct 2019 11:12:25 +0000 (11:12 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Thu, 3 Oct 2019 11:12:25 +0000 (11:12 +0000)
14 files changed:
docker/Makefile
docker/README.rst
docker/build.mk
docker/docker/Makefile
docker/hardware/Makefile
docker/helm/Makefile
docker/k8s/Dockerfile
docker/k8s/Makefile
docker/kube-conformance/Makefile
docker/mysql/Makefile
docker/openstack/Makefile
docker/os/Makefile
docker/sonobuoy-plugin-systemd-logs/Makefile
docker/ui/Makefile

index 707dbc8..1f1c461 100644 (file)
@@ -38,6 +38,6 @@ $(SUBDIRS_BUILD):
 
 .PHONY: $(SUBDIRS_PUSH)
 $(SUBDIRS_PUSH):
-       $(MAKE) -C $(@:-push=) .push_image
+       $(MAKE) -C $(@:-push=) push-image
 
 include build.mk
index e7f3845..74f362d 100644 (file)
@@ -230,7 +230,7 @@ Example:
 
 .. code-block:: console
 
-    docker run -ti akraino/validation:kube-conformance-v1.15
+    docker run -ti akraino/validation:kube-conformance-v1.16
 
 By default, the container will run the `run_e2e.sh` script. If you want to
 enter the container, add */bin/sh* at the end of the command above
index 2f7d398..6ecaaf5 100644 (file)
@@ -60,6 +60,7 @@ $(MTOOL):
 .PHONY: .push_manifest
 .push_manifest: $(MTOOL)
        $(MTOOL) push from-args \
+               --ignore-missing \
                --platforms linux/amd64,linux/arm64 \
                --template $(REGISTRY)/$(NAME):$(TAG_PRE)-ARCH-$(TAG_VER) \
                --target $(REGISTRY)/$(NAME):$(TAG_PRE)-$(TAG_VER)
index a5b4099..4d43df8 100644 (file)
 ##############################################################################
 
 .PHONY: all
-all: .push_image .push_manifest
+all: push-image .push_manifest
 
 .PHONY: build
 build: .build
 
+.PHONY: push-image
+push-image: .push_image
+
 include ../build.mk
index a5b4099..4d43df8 100644 (file)
 ##############################################################################
 
 .PHONY: all
-all: .push_image .push_manifest
+all: push-image .push_manifest
 
 .PHONY: build
 build: .build
 
+.PHONY: push-image
+push-image: .push_image
+
 include ../build.mk
index a5b4099..4d43df8 100644 (file)
 ##############################################################################
 
 .PHONY: all
-all: .push_image .push_manifest
+all: push-image .push_manifest
 
 .PHONY: build
 build: .build
 
+.PHONY: push-image
+push-image: .push_image
+
 include ../build.mk
index 925ac3d..43c6d80 100644 (file)
@@ -19,9 +19,9 @@ FROM golang:alpine3.9 as build
 
 # Sonobuoy supports 3 Kubernetes minor versions: the current release and 2
 # minor versions before.
-ARG SB_TAG=v0.15.1
+ARG SB_TAG=v0.16.1
 # Determine the latest stable git tag at build time based on stable major version
-ARG K8S_VER=1.15
+ARG K8S_VER=1.16
 
 # Install dependencies
 COPY pip-requirements.txt /wheels/requirements/pip-requirements.txt
index a5b4099..4d43df8 100644 (file)
 ##############################################################################
 
 .PHONY: all
-all: .push_image .push_manifest
+all: push-image .push_manifest
 
 .PHONY: build
 build: .build
 
+.PHONY: push-image
+push-image: .push_image
+
 include ../build.mk
index 61d731d..ee7b40f 100644 (file)
@@ -15,7 +15,7 @@
 ##############################################################################
 
 export WORK_DIR?=$(TAG_PRE)
-export KUBE_VERSION=1.15
+export KUBE_VERSION=1.16
 export TAG_VER?=v$(KUBE_VERSION)
 
 .PHONY: .build
@@ -23,9 +23,12 @@ export TAG_VER?=v$(KUBE_VERSION)
        $(MAKE) -C $(TAG_PRE) e2e.test kubectl ginkgo
 
 .PHONY: all
-all: .push_image .push_manifest
+all: push-image .push_manifest
 
 .PHONY: build
 build: .build
 
+.PHONY: push-image
+push-image: .push_image
+
 include ../build.mk
index db91c1e..c1f627f 100644 (file)
 ##############################################################################
 
 .PHONY: all
-all: .push_image .push_manifest
+all: push-image .push_manifest
 
-.PHONY: build
+# MySQL 5.6 is not supported on arm64 yet, skip building it for now
+.PHONY: build push-image
+ifneq ($(shell uname -m), aarch64)
 build: .build
+push-image: .push_image
+else
+build:
+       echo "Skipping build on aarch64 platform!"
+       exit 0
+push-image:
+       echo "Skipping push on aarch64 platform!"
+       exit 0
+endif
 
 include ../build.mk
index a5b4099..4d43df8 100644 (file)
 ##############################################################################
 
 .PHONY: all
-all: .push_image .push_manifest
+all: push-image .push_manifest
 
 .PHONY: build
 build: .build
 
+.PHONY: push-image
+push-image: .push_image
+
 include ../build.mk
index a5b4099..4d43df8 100644 (file)
 ##############################################################################
 
 .PHONY: all
-all: .push_image .push_manifest
+all: push-image .push_manifest
 
 .PHONY: build
 build: .build
 
+.PHONY: push-image
+push-image: .push_image
+
 include ../build.mk
index d06875d..0af457a 100644 (file)
@@ -20,9 +20,12 @@ export WORK_DIR?=$(TAG_PRE)
 .build:: .submodules_patched
 
 .PHONY: all
-all: .push_image .push_manifest
+all: push-image .push_manifest
 
 .PHONY: build
 build: .build
 
+.PHONY: push-image
+push-image: .push_image
+
 include ../build.mk
index db91c1e..918a164 100644 (file)
 ##############################################################################
 
 .PHONY: all
-all: .push_image .push_manifest
+all: push-image .push_manifest
 
 .PHONY: build
 build: .build
 
+.PHONY: push-image
+push-image: .push_image
+
 include ../build.mk