From b264f36d69cb35f0ca31404f3720d292521c8499 Mon Sep 17 00:00:00 2001 From: bodymindarts Date: Thu, 26 Oct 2023 21:03:29 +0200 Subject: [PATCH] ci: update app-template --- apps/consent/BUCK | 2 +- ci/apps/app-template.lib.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/consent/BUCK b/apps/consent/BUCK index ece7849bf3..d43b8cbf04 100644 --- a/apps/consent/BUCK +++ b/apps/consent/BUCK @@ -18,7 +18,7 @@ dev_pnpm_task_binary( ) dev_pnpm_task_binary( - name = "open-cypress", + name = "cypress-open", command = "cypress:open", ) diff --git a/ci/apps/app-template.lib.yml b/ci/apps/app-template.lib.yml index c31efeedb2..769c34c09c 100644 --- a/ci/apps/app-template.lib.yml +++ b/ci/apps/app-template.lib.yml @@ -28,7 +28,7 @@ plan: - get: #@ app_src_resource_name(app) trigger: true - { get: pipeline-tasks } - - task: prepare-docker-build + - task: buck-test-unit config: platform: linux image_resource: #@ galoy_dev_image_config() @@ -37,7 +37,7 @@ plan: - name: #@ app_src_resource_name(app) path: repo params: - BUCK_TARGET: #@ "//apps/" + app + BUCK_TARGET: #@ "//apps/" + app + ":test-unit" BUCK_CMD: test run: path: pipeline-tasks/ci/apps/tasks/buck-task.sh @@ -158,6 +158,7 @@ plan: trigger: true passed: - #@ build_edge_image_name(app) + - #@ buck_test_name(app) - get: #@ edge_image_resource_name(app) passed: - #@ build_edge_image_name(app)