From 8a7fa26cb57e14a0f26ce9a09fd2e752a02f6c2f Mon Sep 17 00:00:00 2001 From: Carlos Alcaide Corvo Date: Mon, 2 Dec 2024 15:47:09 -0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20Delete=20build=20des?= =?UTF-8?q?ktop=20win=20docker=20(#2601)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose-embedding.yml | 41 ------------------------------------ package.json | 1 - 2 files changed, 42 deletions(-) delete mode 100755 docker-compose-embedding.yml diff --git a/docker-compose-embedding.yml b/docker-compose-embedding.yml deleted file mode 100755 index 2bc6ee1e2..000000000 --- a/docker-compose-embedding.yml +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: BUSL-1.1 - -# Note: this will change the permissions of the files in this directory after -# running to allow for easy deletion, so this should only be run as part of -# boundary's build task. - -version: '3.8' - -services: - node: &node - image: docker.mirror.hashicorp.services/node:14 - volumes: - - './:/src' - - 'icu_node_modules:/src/node_modules' - - 'icu_addons_api_node_modules:/src/addons/api/node_modules' - - 'icu_addons_auth_node_modules:/src/addons/auth/node_modules' - - 'icu_addons_core_node_modules:/src/addons/core/node_modules' - - 'icu_addons_rose_node_modules:/src/addons/rose/node_modules' - - 'icu_ui_admin_node_modules:/src/ui/admin/node_modules' - - 'icu_ui_desktop_node_modules:/src/ui/desktop/node_modules' - working_dir: /src - - build-admin: - <<: *node - entrypoint: bash - command: '-c "yarn install && yarn build:ui:admin && chmod -R 777 ."' - - build-desktop-production: - <<: *node - entrypoint: bash - command: '-c "yarn install --frozen-lockfile --non-interactive && yarn build:ui:desktop:production && chmod -R 777 ."' - -volumes: - icu_node_modules: - icu_addons_api_node_modules: - icu_addons_auth_node_modules: - icu_addons_core_node_modules: - icu_addons_rose_node_modules: - icu_ui_admin_node_modules: - icu_ui_desktop_node_modules: diff --git a/package.json b/package.json index 2990c663f..bbe1b1258 100755 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "build:ui:admin:enterprise": "yarn --cwd ui/admin build:enterprise", "build:ui:admin:hcp": "yarn --cwd ui/admin build:hcp", "build:ui:desktop": "yarn --cwd ui/desktop build", - "build:ui:desktop:win": "docker-compose -f docker-compose-embedding.yml run build-desktop-production && yarn build:ui:desktop:app", "build:ui:desktop:production": "yarn --cwd ui/desktop build:production", "build:ui:desktop:app": "yarn --cwd ui/desktop build:desktop", "lint": "concurrently \"yarn:lint:*\" --names \"lint:\"",