package
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
c02b4a6f05
commit
9a31100ed8
|
@ -0,0 +1,2 @@
|
||||||
|
/packages
|
||||||
|
*.spdx.json
|
|
@ -0,0 +1,58 @@
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
partial: false
|
||||||
|
depth: 10
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
melange-build:
|
||||||
|
image: 'ghcr.io/wolfi-dev/sdk:latest'
|
||||||
|
commands:
|
||||||
|
- melange build --arch "$ARCHES" --runner qemu
|
||||||
|
environment:
|
||||||
|
IMAGE_REPO: gitea.treehouse.systems/treehouse
|
||||||
|
IMAGE_NAME: rdb-cli
|
||||||
|
IMAGE_TAG: latest
|
||||||
|
ARCHES: x86_64,arm64
|
||||||
|
when:
|
||||||
|
event: [push, tag]
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
apko-build:
|
||||||
|
image: 'ghcr.io/wolfi-dev/sdk:latest'
|
||||||
|
# entrypoint:
|
||||||
|
# - /usr/bin/apko
|
||||||
|
# - build
|
||||||
|
# - apko.yml
|
||||||
|
# - gitea.treehouse.systems/treehouse/rdb-cli:latest
|
||||||
|
# - apko.tar
|
||||||
|
# - --ignore-signatures
|
||||||
|
# - --arch
|
||||||
|
# - x86_64,arm64
|
||||||
|
# - apko build apko.yml "$IMAGE_REPO/$IMAGE_NAME:$IMAGE_TAG" apko.tar --ignore-signatures --arch "$ARCHES"
|
||||||
|
commands:
|
||||||
|
- apko build apko.yml "$IMAGE_REPO/$IMAGE_NAME:$IMAGE_TAG" apko.tar --ignore-signatures --arch "$ARCHES"
|
||||||
|
environment:
|
||||||
|
IMAGE_REPO: gitea.treehouse.systems/treehouse
|
||||||
|
IMAGE_NAME: rdb-cli
|
||||||
|
IMAGE_TAG: latest
|
||||||
|
ARCHES: x86_64,arm64
|
||||||
|
when:
|
||||||
|
event: [push, tag]
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
crane-publish:
|
||||||
|
image: gcr.io/go-containerregistry/crane:debug
|
||||||
|
commands:
|
||||||
|
- crane auth login -u $REGISTRY_USER -p $REGISTRY_SECRET $IMAGE_REPO
|
||||||
|
- crane push --index apko.tar $IMAGE_REPO
|
||||||
|
environment:
|
||||||
|
IMAGE_REPO: gitea.treehouse.systems/treehouse
|
||||||
|
IMAGE_NAME: rdb-cli
|
||||||
|
IMAGE_TAG: latest
|
||||||
|
ARCHES: x86_64,arm64
|
||||||
|
REGISTRY_USER: treehouse-build-bot
|
||||||
|
when:
|
||||||
|
event: [push, tag]
|
||||||
|
branch: main
|
|
@ -0,0 +1,14 @@
|
||||||
|
contents:
|
||||||
|
repositories:
|
||||||
|
- https://dl-cdn.alpinelinux.org/alpine/edge/main
|
||||||
|
- '@local ./packages'
|
||||||
|
packages:
|
||||||
|
- alpine-base
|
||||||
|
- librdb@local
|
||||||
|
|
||||||
|
entrypoint:
|
||||||
|
command: /usr/local/bin/rdb-cli
|
||||||
|
|
||||||
|
# optional environment configuration
|
||||||
|
# environment:
|
||||||
|
# PATH: /usr/sbin:/sbin:/usr/bin:/bin
|
|
@ -0,0 +1,49 @@
|
||||||
|
package:
|
||||||
|
name: librdb
|
||||||
|
version: 0.1.0-1725822961+9a20f493f8c040c50f34cfa8de3634f984a7d0cf
|
||||||
|
epoch: 0
|
||||||
|
description: librdb
|
||||||
|
copyright:
|
||||||
|
- attestation: |
|
||||||
|
Copyright (c) 2023, Redis Labs
|
||||||
|
license: MIT
|
||||||
|
dependencies:
|
||||||
|
runtime:
|
||||||
|
|
||||||
|
var-transforms:
|
||||||
|
- from: ${{package.version}}
|
||||||
|
match: ^.+\+([a-f0-9]+)$
|
||||||
|
replace: "$1"
|
||||||
|
to: expected-commit
|
||||||
|
|
||||||
|
environment:
|
||||||
|
contents:
|
||||||
|
repositories:
|
||||||
|
- https://dl-cdn.alpinelinux.org/alpine/edge/main
|
||||||
|
packages:
|
||||||
|
- alpine-baselayout-data
|
||||||
|
- busybox
|
||||||
|
- build-base
|
||||||
|
# required
|
||||||
|
- coreutils
|
||||||
|
- grep
|
||||||
|
# - scanelf
|
||||||
|
# - ssl_client
|
||||||
|
# - ca-certificates-bundle
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
- uses: git-checkout
|
||||||
|
with:
|
||||||
|
repository: https://github.com/redis/librdb.git
|
||||||
|
expected-commit: ${{vars.expected-commit}}
|
||||||
|
recurse-submodules: true
|
||||||
|
|
||||||
|
- uses: patch
|
||||||
|
with:
|
||||||
|
patches: patches/warnings.patch
|
||||||
|
|
||||||
|
- uses: autoconf/make
|
||||||
|
# with:
|
||||||
|
# opts: 'CFLAGS+="-Wno-error=use-after-free -Wno-error=maybe-uninitialized"'
|
||||||
|
- uses: autoconf/make-install
|
||||||
|
- uses: strip
|
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/deps/redis/Makefile b/deps/redis/Makefile
|
||||||
|
index a7b0f13..7a6accb 100644
|
||||||
|
--- a/deps/redis/Makefile
|
||||||
|
+++ b/deps/redis/Makefile
|
||||||
|
@@ -5,6 +5,7 @@ OPTIMIZATION?=-O3
|
||||||
|
|
||||||
|
STD = -std=c99
|
||||||
|
WARNS = -Wall -Wextra -pedantic -Werror
|
||||||
|
+WARNS += -Wno-error=use-after-free -Wno-error=maybe-uninitialized
|
||||||
|
CFLAGS = -fPIC $(OPTIMIZATION) $(STD) $(WARNS) -fvisibility=hidden
|
||||||
|
DEBUG = -g3 -DDEBUG=1
|
||||||
|
LIBS =
|
Loading…
Reference in New Issue