Update SeaweedFS and add outdated checks
Build Alpine Packages / build-and-publish (v3.24, 3.24) (push) Has been cancelled
Build Alpine Packages / build-and-publish (v3.24, 3.24) (push) Has been cancelled
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
name: Build Alpine Packages
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "17 5 * * 1"
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
@@ -48,9 +50,24 @@ jobs:
|
||||
run: |
|
||||
scripts/apk/clean.sh
|
||||
find packaging/alpine/local -mindepth 2 -maxdepth 2 -name APKBUILD -exec apkbuild-lint {} +
|
||||
scripts/apk/outdated.sh | tee update-check.txt
|
||||
if [ -n "${GITHUB_STEP_SUMMARY:-}" ]; then
|
||||
{
|
||||
echo "## Upstream update check"
|
||||
echo
|
||||
echo '```text'
|
||||
cat update-check.txt
|
||||
echo '```'
|
||||
} >> "$GITHUB_STEP_SUMMARY"
|
||||
fi
|
||||
|
||||
- name: Prepare package cache
|
||||
if: github.event_name != 'schedule'
|
||||
run: |
|
||||
scripts/apk/ci-package-cache.sh prepare
|
||||
|
||||
- name: Build packages
|
||||
if: github.event_name != 'schedule'
|
||||
run: |
|
||||
scripts/apk/ci-build.sh
|
||||
scripts/apk/ci-package-cache.sh sync
|
||||
@@ -58,6 +75,7 @@ jobs:
|
||||
scripts/apk/list-packages.sh
|
||||
|
||||
- name: Check artifact upload support
|
||||
if: github.event_name != 'schedule'
|
||||
id: artifact-upload
|
||||
run: |
|
||||
if [ -n "${ACTIONS_RUNTIME_TOKEN:-}" ]; then
|
||||
@@ -67,18 +85,20 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Upload generated CI assets
|
||||
if: steps.artifact-upload.outputs.available == 'true'
|
||||
if: github.event_name != 'schedule' && steps.artifact-upload.outputs.available == 'true'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: greptimedb-musl-binaries-${{ matrix.alpine_registry_branch }}
|
||||
path: packages/ci-assets/
|
||||
|
||||
- name: Smoke test
|
||||
if: github.event_name != 'schedule'
|
||||
run: scripts/apk/ci-smoke.sh
|
||||
|
||||
- name: Runtime test
|
||||
if: github.event_name != 'schedule'
|
||||
run: scripts/apk/runtime-test.sh
|
||||
|
||||
- name: Publish Alpine packages
|
||||
if: github.event_name != 'pull_request'
|
||||
if: github.event_name != 'pull_request' && github.event_name != 'schedule'
|
||||
run: scripts/apk/publish-gitea.sh
|
||||
|
||||
Reference in New Issue
Block a user