5 Commits

Author SHA1 Message Date
opencodecabilloteu 44a84ddb93 Merge pull request 'Disable ARM64 CI builds (no more ARM builders)' (#4) from chore/disable-builds into master
Reviewed-on: #4
2026-06-10 18:52:15 -04:00
cloudix_mcp_server e6db768a3d Disable ARM64 CI builds (no more ARM builders)
Comment out build jobs rather than deleting them — the ARM64 builders
are gone and there's no real use for fresh builds anymore. Keeping the
config visible in case a builder comes back later.
2026-06-10 18:51:26 -04:00
jcabillot 17d68d4af8 Merge pull request 'chore: improve renovate dependency detection' (#2) from chore/renovate into master
Reviewed-on: #2
2026-06-09 13:58:22 -04:00
Sagent 4eac82ca5e chore: remove renovate.json, gitlabci handled globally 2026-06-09 17:54:36 +00:00
Sagent 3dc8131a21 chore: improve renovate dependency detection 2026-06-09 13:00:18 +00:00
4 changed files with 19 additions and 121 deletions
-65
View File
@@ -1,65 +0,0 @@
name: Docker Build and Push
on:
push:
branches: [master, main]
pull_request:
schedule:
- cron: '30 3 * * 3'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf
with:
dockerfile: Dockerfile
failure-threshold: error
build:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- name: Build image
run: docker build -t ci-image:${{ github.sha }} .
- name: Save image
run: docker save ci-image:${{ github.sha }} -o image.tar
- uses: ChristopherHX/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2
with:
name: docker-image
path: image.tar
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7
with:
name: docker-image
- name: Load image
run: docker load < image.tar
- name: Run tests
run: bash tests/test.sh ci-image:${{ github.sha }}
push:
runs-on: ubuntu-latest
needs: test
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7
with:
name: docker-image
- name: Load image
run: docker load < image.tar
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Tag and push
run: |
docker tag ci-image:${{ github.sha }} jcabillot/unrar-arm64:latest
docker push jcabillot/unrar-arm64:latest
+18 -18
View File
@@ -6,22 +6,22 @@ services:
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-master:
stage: build
tags:
- arm64
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
only:
- master
#build-master:
# stage: build
# tags:
# - arm64
# script:
# - docker build --pull -t "$CI_REGISTRY_IMAGE" .
# - docker push "$CI_REGISTRY_IMAGE"
# only:
# - master
build:
stage: build
tags:
- arm64
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
except:
- master
#build:
# stage: build
# tags:
# - arm64
# script:
# - docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
# - docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
# except:
# - master
+1 -2
View File
@@ -1,7 +1,6 @@
FROM "alpine:latest"
FROM alpine:latest
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
# hadolint ignore=DL3018
RUN apk add --no-cache unrar && \
rm -rf /usr/lib/ruby/gems/*/cache/* \
/var/cache/apk/* \
-36
View File
@@ -1,36 +0,0 @@
#!/bin/bash
set -euo pipefail
IMAGE="$1"
FAILED=0
PASSED=0
TMPDIR="$(mktemp -d)"
trap 'rm -rf "$TMPDIR"' EXIT
docker run --rm --entrypoint /usr/bin/unrar "$IMAGE" > "$TMPDIR/output" 2>&1; RC=$?
if grep -qiE "unrar|usage" "$TMPDIR/output"; then
echo "PASS: unrar prints usage info"
PASSED=$((PASSED + 1))
else
echo "FAIL: unrar output unrecognized"
FAILED=$((FAILED + 1))
fi
# unrar displays help on stderr in some versions, check there too
docker run --rm --entrypoint /usr/bin/unrar "$IMAGE" 2> "$TMPDIR/stderr" 1>/dev/null; :
if grep -qiE "unrar|usage" "$TMPDIR/stderr"; then
echo "PASS: unrar stderr contains usage info"
PASSED=$((PASSED + 1))
else
echo "FAIL: unrar stderr unrecognized"
FAILED=$((FAILED + 1))
fi
echo ""
echo "$PASSED/$((PASSED + FAILED)) tests passed"
if [ "$FAILED" -gt 0 ]; then
exit 1
fi