From 9b7343b5a43a45d78c629fe9138eff0bef55de30 Mon Sep 17 00:00:00 2001 From: Viet Nguyen Duc Date: Wed, 24 Jan 2024 16:21:06 +0530 Subject: [PATCH] test(chart) against build multi Signed-off-by: Viet Nguyen Duc --- .github/workflows/helm-chart-test.yml | 2 +- Makefile | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/helm-chart-test.yml b/.github/workflows/helm-chart-test.yml index 7d6697e82..6716d0770 100644 --- a/.github/workflows/helm-chart-test.yml +++ b/.github/workflows/helm-chart-test.yml @@ -53,7 +53,7 @@ jobs: - name: Setup Kubernetes environment run: make chart_setup_env - name: Build Docker images - run: NAME=${IMAGE_REGISTRY} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make build + run: NAME=${IMAGE_REGISTRY} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make build_multi - name: Build and lint charts run: | BUILD_DATE=${BUILD_DATE} make chart_build diff --git a/Makefile b/Makefile index ed3c43e1d..0fd7118d6 100644 --- a/Makefile +++ b/Makefile @@ -161,6 +161,8 @@ all_multi: base_multi \ sessions_multi \ sessionqueue_multi \ event_bus_multi \ + uploader_multi \ + video_multi build_multi: all_multi @@ -208,6 +210,12 @@ standalone_chromium_multi: chromium_multi standalone_docker_multi: docker_multi cd ./StandaloneDocker && docker buildx build --platform $(PLATFORMS) $(BUILD_ARGS) $(FROM_IMAGE_ARGS) -t $(NAME)/standalone-docker:$(TAG_VERSION) . +uploader_multi: + cd ./Uploader && docker buildx build --platform $(PLATFORMS) $(BUILD_ARGS) --build-arg BASED_TAG=$(RCLONE_BASED_TAG) -t $(NAME)/uploader:$(RCLONE_TAG_VERSION)-$(BUILD_DATE) . + +video_multi: + cd ./Video && docker buildx build --platform $(PLATFORMS) $(BUILD_ARGS) --build-arg NAMESPACE=$(FFMPEG_BASED_NAME) --build-arg BASED_TAG=$(FFMPEG_BASED_TAG) -t $(NAME)/video:$(FFMPEG_TAG_VERSION)-$(BUILD_DATE) . + # https://github.com/SeleniumHQ/docker-selenium/issues/992 # Additional tags for browser images tag_and_push_browser_images: tag_and_push_chrome_images tag_and_push_firefox_images tag_and_push_edge_images