From 03309918e700676ace11bebc2ee4041d748451ba Mon Sep 17 00:00:00 2001 From: Emile Swarts Date: Mon, 1 Jul 2024 14:12:35 +0100 Subject: [PATCH] Add hidden directory to allow Code Pipeline to build the service. --- .copilot/config.yml | 4 ++++ .copilot/image_build_run.sh | 6 ++++++ .copilot/phases/build.sh | 6 ++++++ .copilot/phases/install.sh | 6 ++++++ .copilot/phases/post_build.sh | 6 ++++++ .copilot/phases/pre_build.sh | 6 ++++++ 6 files changed, 34 insertions(+) create mode 100644 .copilot/config.yml create mode 100755 .copilot/image_build_run.sh create mode 100644 .copilot/phases/build.sh create mode 100644 .copilot/phases/install.sh create mode 100644 .copilot/phases/post_build.sh create mode 100644 .copilot/phases/pre_build.sh diff --git a/.copilot/config.yml b/.copilot/config.yml new file mode 100644 index 00000000..a0f69333 --- /dev/null +++ b/.copilot/config.yml @@ -0,0 +1,4 @@ +repository: lite/lite-frontend +builder: + name: paketobuildpacks/builder-jammy-full + version: 0.3.376 diff --git a/.copilot/image_build_run.sh b/.copilot/image_build_run.sh new file mode 100755 index 00000000..8ac7a390 --- /dev/null +++ b/.copilot/image_build_run.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +# Exit early if something goes wrong +set -e + +# Add commands below to run inside the container after all the other buildpacks have been applied diff --git a/.copilot/phases/build.sh b/.copilot/phases/build.sh new file mode 100644 index 00000000..c1a73f28 --- /dev/null +++ b/.copilot/phases/build.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +# Exit early if something goes wrong +set -e + +# Add commands below to run as part of the build phase diff --git a/.copilot/phases/install.sh b/.copilot/phases/install.sh new file mode 100644 index 00000000..17794e84 --- /dev/null +++ b/.copilot/phases/install.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +# Exit early if something goes wrong +set -e + +# Add commands below to run as part of the install phase diff --git a/.copilot/phases/post_build.sh b/.copilot/phases/post_build.sh new file mode 100644 index 00000000..1676bb5b --- /dev/null +++ b/.copilot/phases/post_build.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +# Exit early if something goes wrong +set -e + +# Add commands below to run as part of the post_build phase diff --git a/.copilot/phases/pre_build.sh b/.copilot/phases/pre_build.sh new file mode 100644 index 00000000..2d6b40b5 --- /dev/null +++ b/.copilot/phases/pre_build.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +# Exit early if something goes wrong +set -e + +# Add commands below to run as part of the pre_build phase