Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modification in bats.yaml #35136

Merged
merged 12 commits into from
Nov 28, 2024
28 changes: 22 additions & 6 deletions bats.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
package:
anushkamittal20 marked this conversation as resolved.
Show resolved Hide resolved
name: bats
version: 1.11.0
epoch: 1
epoch: 2
description: Bash Automated Testing System
copyright:
- license: MIT
dependencies:
runtime:
- bash
- coreutils
- busybox
- ncurses
- parallel

environment:
contents:
packages:
- bash
- build-base
- busybox
- ca-certificates-bundle
- wget

pipeline:
- uses: git-checkout
Expand All @@ -28,9 +26,27 @@ pipeline:
expected-commit: 5da66876b8b619235aee1eb3e54954eaca88059b

- runs: |
./install.sh "${{targets.contextdir}}/usr"
./install.sh "${{targets.contextdir}}/usr"
mkdir -p "${{targets.contextdir}}/tmp/"
cp -r ./docker "${{targets.contextdir}}/tmp/docker"
anushkamittal20 marked this conversation as resolved.
Show resolved Hide resolved
"${{targets.contextdir}}/tmp/docker/install_libs.sh" support 0.3.0
"${{targets.contextdir}}/tmp/docker/install_libs.sh" file 0.4.0
"${{targets.contextdir}}/tmp/docker/install_libs.sh" assert 2.1.0
"${{targets.contextdir}}/tmp/docker/install_libs.sh" detik 1.3.1
mkdir -p "${{targets.contextdir}}/usr/local/bin"
ln -s /opt/bats/bin/bats "${{targets.contextdir}}/usr/local/bin/bats"
EyeCantCU marked this conversation as resolved.
Show resolved Hide resolved
anushkamittal20 marked this conversation as resolved.
Show resolved Hide resolved
find "${{targets.contextdir}}" -type f -perm /2000 -exec chmod g-s {} \;
rm -rf "${{targets.contextdir}}/tmp/"

subpackages:
- name: bats-compat
pipeline:
- runs: |
mkdir -p "${{targets.contextdir}}/opt/bats/"
find . -maxdepth 1 -not -name '.' -not -name 'melange-out' -not -name '*.tmp' -not -name '*.log' \
-exec mv {} "${{targets.contextdir}}/opt/bats/" \;
anushkamittal20 marked this conversation as resolved.
Show resolved Hide resolved
description: bats compatibility package

- name: bats-doc
pipeline:
- uses: split/manpages
Expand Down
Loading