From 238f955b1b6ec19bf4badb79b7f2636bb4ec0870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Apayd=C4=B1n?= Date: Mon, 5 Dec 2022 18:23:42 +0300 Subject: [PATCH] wait-for-it pkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Batuhan Apaydın --- Makefile | 1 + wait-for-it.yaml | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 wait-for-it.yaml diff --git a/Makefile b/Makefile index dd768c49ff9..c6684aba6f0 100644 --- a/Makefile +++ b/Makefile @@ -244,5 +244,6 @@ $(eval $(call build-package,mailcap,2.1.53-r0)) $(eval $(call build-package,php,8.1.13-r0)) $(eval $(call build-package,composer,2.4.4-r0)) $(eval $(call build-package,docker-credential-ecr-login,0.6.0-r1)) +$(eval $(call build-package,wait-for-it,0.20200823-r0)) .build-packages: ${PACKAGES} diff --git a/wait-for-it.yaml b/wait-for-it.yaml new file mode 100644 index 00000000000..f3ed9e0f54f --- /dev/null +++ b/wait-for-it.yaml @@ -0,0 +1,28 @@ +package: + name: wait-for-it + version: 0.20200823 + epoch: 0 + description: Pure bash script to test and wait on the availability of a TCP host and port + target-architecture: + - all + copyright: + - paths: + - "*" + attestation: TODO + license: MIT + dependencies: + runtime: + - bash +environment: + contents: + packages: + - busybox + - ca-certificates-bundle +pipeline: + - uses: fetch + with: + uri: https://raw.githubusercontent.com/vishnubob/wait-for-it/81b1373f17855a4dc21156cfe1694c31d7d1792e/wait-for-it.sh + expected-sha256: b7a04f38de1e51e7455ecf63151c8c7e405bd2d45a2d4e16f6419db737a125d6 + extract: false + - runs: | + install -Dm755 wait-for-it.sh ${{targets.destdir}}/usr/bin/wait-for-it