Skip to content

Commit

Permalink
WIP: assume wolfi-base for all package tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <[email protected]>
  • Loading branch information
imjasonh committed Feb 20, 2024
1 parent 08a9b99 commit 77e9772
Show file tree
Hide file tree
Showing 81 changed files with 5 additions and 265 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ MELANGE_TEST_OPTS += --arch ${ARCH}
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 += --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
4 changes: 0 additions & 4 deletions logstash-exporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ update:
use-tag: true

test:
environment:
contents:
packages:
- wolfi-base
pipeline:
- runs: |
logstash-exporter -version
1 change: 0 additions & 1 deletion logstash-filter-xml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ test:
environment:
contents:
packages:
- wolfi-base
- logstash
- openjdk-17-default-jvm
pipeline:
Expand Down
1 change: 0 additions & 1 deletion logstash-integration-jdbc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ test:
environment:
contents:
packages:
- wolfi-base
- logstash
- openjdk-11-default-jvm
- jruby-9.4
Expand Down
1 change: 0 additions & 1 deletion logstash-output-opensearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ test:
environment:
contents:
packages:
- wolfi-base
- logstash
- openjdk-17-default-jvm
pipeline:
Expand Down
3 changes: 0 additions & 3 deletions logstash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,6 @@ subpackages:
test:
environment:
contents:
packages:
- wolfi-base
environment:
LS_JAVA_HOME: /usr/lib/jvm/default-jvm
pipeline:
Expand Down
Loading

0 comments on commit 77e9772

Please sign in to comment.