Skip to content

Commit

Permalink
Update dockerfile and promote docs & tests
Browse files Browse the repository at this point in the history
  • Loading branch information
punchagan committed Dec 19, 2024
1 parent f4bfcdb commit 5b454ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions doc/platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Operating Systems

- alpine-3.20
- alpine-3.21
- archlinux
- debian-11
- debian-12
Expand Down Expand Up @@ -63,8 +63,8 @@

| OS | Arch | OCaml version |Opam version | Test lower-bounds | Test reverse dependencies |
| --- | --- | --- | --- | --- | --- |
| alpine-3.20 | amd64 | 4.14 | dev | No | No |
| alpine-3.20 | amd64 | 5.2 | dev | No | No |
| alpine-3.21 | amd64 | 4.14 | dev | No | No |
| alpine-3.21 | amd64 | 5.2 | dev | No | No |
| archlinux | amd64 | 4.14 | dev | No | No |
| archlinux | amd64 | 5.2 | dev | No | No |
| debian-11 | amd64 | 4.14 | dev | No | No |
Expand Down
8 changes: 4 additions & 4 deletions test/specs.expected
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,7 @@ build: archlinux-ocaml-5.2/amd64 opam-dev
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1

build: alpine-3.20-ocaml-5.2/amd64 opam-dev
build: alpine-3.21-ocaml-5.2/amd64 opam-dev
FROM BASE_IMAGE_TAG
USER 1000:1000
WORKDIR /home/opam
Expand All @@ -1981,7 +1981,7 @@ build: alpine-3.20-ocaml-5.2/amd64 opam-dev
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"alpine-3.20\""; then \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"alpine-3.21\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'a.0.0.1' && partial_fails="$partial_fails $pkg"; \
Expand Down Expand Up @@ -2385,7 +2385,7 @@ build: archlinux-ocaml-4.14/amd64 opam-dev
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1

build: alpine-3.20-ocaml-4.14/amd64 opam-dev
build: alpine-3.21-ocaml-4.14/amd64 opam-dev
FROM BASE_IMAGE_TAG
USER 1000:1000
WORKDIR /home/opam
Expand All @@ -2410,7 +2410,7 @@ build: alpine-3.20-ocaml-4.14/amd64 opam-dev
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"alpine-3.20\""; then \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"alpine-3.21\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'a.0.0.1' && partial_fails="$partial_fails $pkg"; \
Expand Down

0 comments on commit 5b454ec

Please sign in to comment.