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

WIP: assume wolfi-base for all package tests #13330

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ MELANGE_TEST_OPTS += --pipeline-dirs ./pipelines/
MELANGE_TEST_OPTS += --repository-append https://packages.wolfi.dev/os
MELANGE_TEST_OPTS += --keyring-append https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
MELANGE_TEST_OPTS += --debug
MELANGE_TEST_OPTS += --test-package-append wolfi-base
MELANGE_TEST_OPTS += ${MELANGE_EXTRA_OPTS}

ifeq (${USE_CACHE}, yes)
Expand Down
4 changes: 0 additions & 4 deletions atuin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ update:
strip-prefix: v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
atuin -V
4 changes: 0 additions & 4 deletions az.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ update:
strip-prefix: azure-cli-

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
az --version
1 change: 0 additions & 1 deletion bazel-6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ test:
environment:
contents:
packages:
- wolfi-base
- openjdk-17
- openjdk-17-default-jvm
pipeline:
Expand Down
4 changes: 0 additions & 4 deletions brew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ update:
identifier: Homebrew/brew

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
. /etc/profile.d/brew.sh
Expand Down
1 change: 0 additions & 1 deletion buildkitd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ test:
environment:
contents:
packages:
- busybox
- runc
pipeline:
- runs: |
Expand Down
4 changes: 0 additions & 4 deletions bun-bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ update:
enabled: false

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
bun --version
4 changes: 0 additions & 4 deletions bun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ update:
strip-prefix: bun-v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
bun --version
Expand Down
4 changes: 0 additions & 4 deletions busybox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,6 @@ subpackages:
done

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
busybox --help
Expand Down
4 changes: 0 additions & 4 deletions cassandra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ update:
strip-prefix: cassandra-

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
cqlsh --version
1 change: 0 additions & 1 deletion cbindgen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ test:
environment:
contents:
packages:
- wolfi-base
- rustup
pipeline:
- runs: |
Expand Down
4 changes: 0 additions & 4 deletions checksec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ update:
identifier: slimm609/checksec.sh

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
checksec --file=/bin/ls --format=csv | grep "Full RELRO,Canary found"
4 changes: 0 additions & 4 deletions controller-gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ update:
strip-prefix: v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
controller-gen --version
2 changes: 0 additions & 2 deletions couchdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ test:
environment:
contents:
packages:
- busybox
- apk-tools
- curl
- jq
pipeline:
Expand Down
4 changes: 0 additions & 4 deletions curl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ update:
strip-prefix: curl-

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
curl --version
Expand Down
4 changes: 0 additions & 4 deletions delta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ pipeline:
- uses: strip

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
delta --version
Expand Down
4 changes: 0 additions & 4 deletions direnv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ update:
strip-prefix: v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
direnv version
4 changes: 0 additions & 4 deletions dua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ update:
strip-prefix: v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
dua -V
4 changes: 0 additions & 4 deletions eza.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ update:
tag-filter-prefix: v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
eza
Expand Down
5 changes: 0 additions & 5 deletions filebeat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ update:
identifier: elastic/beats

test:
environment:
contents:
packages:
- wolfi-base
- filebeat
pipeline:
- runs: |
filebeat version
Expand Down
4 changes: 0 additions & 4 deletions gh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ update:
strip-prefix: v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
gh --version
4 changes: 0 additions & 4 deletions git.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ subpackages:
- runs: ls /usr/local/etc/profile.d/*.bash

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: git --version

Expand Down
4 changes: 0 additions & 4 deletions gnutar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ update:
identifier: 4939

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
tar czf - $(dirname $(which tar)) | tar -tzv | grep tar
4 changes: 0 additions & 4 deletions gobump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ update:
use-tag: true

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
gobump version
4 changes: 0 additions & 4 deletions google-cloud-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ pipeline:
- uses: strip

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: gcloud --version
- runs: gsutil --version
Expand Down
4 changes: 0 additions & 4 deletions gpsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ update:
identifier: 6846

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
gpsd --version
4 changes: 0 additions & 4 deletions grype.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ update:
strip-prefix: v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
grype --version
4 changes: 0 additions & 4 deletions hello-wolfi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ update:
identifier: 18057

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
hello
4 changes: 0 additions & 4 deletions k9s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ update:
strip-prefix: v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
k9s version
4 changes: 0 additions & 4 deletions kubeflow-volumes-web-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ update:
strip-prefix: v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
python3 -c "import urllib3"
Expand Down
1 change: 0 additions & 1 deletion kwok.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ test:
environment:
contents:
packages:
- busybox
- kubectl-default
- kwokctl
- kubernetes
Expand Down
4 changes: 0 additions & 4 deletions lazygit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ update:
strip-prefix: v

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
lazygit --version
4 changes: 4 additions & 0 deletions lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ for p in $(make list); do
yq -i 'del(.environment.contents.repositories)' ${fn}
yq -i 'del(.environment.contents.keyring)' ${fn}
fi

if grep -q 'test:' ${fn}; then
yq -i 'del(.test.environment)' ${fn}
fi
done
1 change: 0 additions & 1 deletion linux-pam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ test:
environment:
contents:
packages:
- wolfi-base
- util-linux
- shadow
pipeline:
Expand Down
1 change: 0 additions & 1 deletion man-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ test:
environment:
contents:
packages:
- wolfi-base
- man-db-doc
pipeline:
- runs: |
Expand Down
4 changes: 0 additions & 4 deletions nodejs-16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ update:
tag-filter: v16.

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
node --version | grep ${{package.version}}
4 changes: 0 additions & 4 deletions nodejs-18.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ update:
tag-filter: v18.

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
node --version | grep ${{package.version}}
4 changes: 0 additions & 4 deletions nodejs-19.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ update:
tag-filter: v19.

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
node --version | grep ${{package.version}}
Loading
Loading