Skip to content

Commit

Permalink
Drop tests that are failing
Browse files Browse the repository at this point in the history
Alpine doesn't keep their archs in sync and only keeps around the latest
revision in edge, which breaks a bunch of our test, so I've cut down the
alpine tests to a single arch.

Signed-off-by: Jon Johnson <[email protected]>
  • Loading branch information
jonjohnsonjr committed Nov 16, 2024
1 parent 58173e9 commit d63dbd3
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 14 deletions.
5 changes: 4 additions & 1 deletion examples/alias-only.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ contents:
repositories:
- https://dl-cdn.alpinelinux.org/alpine/edge/main
packages:
- openssh-client
- openssh-client

archs:
- x86_64
11 changes: 0 additions & 11 deletions examples/alpine-386_amd64.yaml

This file was deleted.

3 changes: 3 additions & 0 deletions examples/alpine-base-rootless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ cmd: /bin/sh -l
# optional environment configuration
environment:
PATH: /usr/sbin:/sbin:/usr/bin:/bin

archs:
- amd64
3 changes: 3 additions & 0 deletions examples/alpine-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ cmd: /bin/sh -l
# optional environment configuration
environment:
PATH: /usr/sbin:/sbin:/usr/bin:/bin

archs:
- amd64
3 changes: 3 additions & 0 deletions examples/alpine-python3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ cmd: /bin/sh -l
# optional environment configuration
environment:
PATH: /usr/sbin:/sbin:/usr/bin:/bin

archs:
- amd64
3 changes: 3 additions & 0 deletions examples/alpine-slim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ environment:
PATH: /usr/sbin:/sbin:/usr/bin:/bin

cmd: /bin/sh -l

archs:
- amd64
3 changes: 3 additions & 0 deletions examples/apko-devenv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ contents:
- docker-cli
entrypoint:
command: /bin/sh -l

archs:
- amd64
3 changes: 3 additions & 0 deletions examples/nginx-rootless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ paths:
uid: 10000
gid: 10000
permissions: 0o644

archs:
- amd64
3 changes: 3 additions & 0 deletions examples/nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ work-dir: /usr/share/nginx

annotations:
foo: bar

archs:
- amd64
2 changes: 1 addition & 1 deletion hack/ci/00-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ REF="apko.local/ci-testing:test"

trap "rm -f ${OUTPUT_TAR}" EXIT

for f in examples/alpine-base-rootless.yaml examples/wolfi-base.yaml; do
for f in examples/wolfi-base.yaml; do
echo "=== building $f"

REF="apko.local/ci-testing:$(basename ${f})"
Expand Down
2 changes: 1 addition & 1 deletion hack/ci/01-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ docker rm -f "${REGISTRY_CONTAINER_NAME}"
docker run --name "${REGISTRY_CONTAINER_NAME}" \
-d -p ${PORT}:5000 "${REGISTRY_BASE_IMAGE}"

for f in examples/alpine-base-rootless.yaml examples/wolfi-base.yaml; do
for f in examples/wolfi-base.yaml; do
echo "=== building $f"

REF="localhost:${PORT}/ci-testing:$(basename ${f})"
Expand Down

0 comments on commit d63dbd3

Please sign in to comment.