Skip to content
Snippets Groups Projects
Commit 99e44303 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

first commit: 2.1.8-1

parents
No related branches found
Tags 1-2.1.8-1
No related merge requests found
Pipeline #14409 passed
a
b
patch-prepare.sh
patch-make.sh
\ No newline at end of file
.job_variables: &job_variables
variables:
GIT_SUBMODULE_STRATEGY: none
GIT_DEPTH: 0
PKG_TOKEN: ${PKG_TOKEN}
.job_rules_push: &job_rules_push
rules:
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_TAG == null'
.job_rules_schedule: &job_rules_schedule
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
.job_rules_web: &job_rules_web
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
.job_rules_pipeline: &job_rules_pipeline
rules:
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
.copy_files: &copy_files
before_script:
- mkdir -p /etc/pkg
- cp ./pkg.cfg /etc/pkg/pkg.cfg
- cp ./pacman.conf.builder /etc/pacman.conf.builder
stages:
- update
- build
- rebuild
- deploy
update:
stage: update
<<: *job_variables
<<: *job_rules_schedule
<<: *copy_files
script:
- apkg-update.sh
build:
stage: build
<<: *job_variables
<<: *job_rules_push
<<: *copy_files
script:
- apkg-prepare.sh
- apkg-build.sh
- apkg-tag.sh
artifacts:
name: $CI_PROJECT_NAME-$CI_COMMIT_SHORT_SHA
paths:
- "*.pkg.tar.xz"
- build.env
rebuild:from:
stage: rebuild
<<: *job_variables
<<: *job_rules_pipeline
<<: *copy_files
script:
- apkg-rebuild.sh
artifacts:
name: $CI_PROJECT_NAME-$CI_COMMIT_SHORT_SHA
paths:
- "*.pkg.tar.xz"
rebuild:dynamic:
stage: rebuild
<<: *job_rules_push
<<: *copy_files
needs: ["build"]
script:
- apkg-generate.sh > dynamic-config.yml
artifacts:
paths:
- dynamic-config.yml
rebuild:packages:
stage: rebuild
<<: *job_variables
<<: *job_rules_push
needs: ["rebuild:dynamic","build"]
trigger:
include:
- artifact: dynamic-config.yml
job: rebuild:dynamic
strategy: depend
deploy:
<<: *job_variables
<<: *job_rules_push
stage: deploy
needs: ["build","rebuild:packages"]
script:
- apkg-deploy.sh
[submodule "conmon"]
path = conmon
url = https://gitlab.archlinux.org/archlinux/packaging/packages/conmon
branch = main
update = merge
LICENSE 0 → 100644
Copyright (c) 2023 Eric Vidal <eric@obarun.org>
All rights reserved.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
conmon @ e2afe1ec
Subproject commit e2afe1ece670897dd07243c0e7a698ae937e1c3f
diff -uar a/PKGBUILD b/PKGBUILD
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,9 +9,9 @@
arch=(x86_64)
url='https://github.com/containers/conmon'
license=(APACHE)
-depends=(glibc glib2 systemd)
+depends=(glibc glib2)
makedepends=(git)
-_commit=00e08f4a9ca5420de733bf542b930ad58e1a7e7d #refs/tags/v2.1.8
+_commit=00e08f4a9ca5420de733bf542b930ad58e1a7e7d #refs/tags/v2.1.8
source=("git+https://github.com/containers/conmon#commit=${_commit}")
b2sums=('SKIP')
#!/usr/bin/bash
# Copyright (c) 2023 Eric Vidal <eric@obarun.org>
# All rights reserved.
#
# This file is part of Obarun. It is subject to the license terms in
# the LICENSE file found in the top-level directory of this
# distribution.
# This file may not be copied, modified, propagated, or distributed
# except according to the terms contained in the LICENSE file.
export PROG="${0##*/}"
export CLOCK_ENABLED=0
export COLOR_ENABLED=1
export VERBOSITY=1
__PATH__=$(pwd)
die() {
oblog -f "${@}"
exit 111
}
help(){
oblog -i "${0} [ --help ] project
options:
--help: display this help."
exit 0
}
for arg ; do
case "$arg" in
--help) help ;;
-*) die "unknown option ${arg}" ;;
esac
done
project="${arg}"
if [[ -z "${project}" ]]; then
oblog -f "you must provide the name of the project as argument"
exit 111 ;
fi
sed "s:<project_name>:${1}:g" -i "${__PATH__}/.gitmodules" || die "unable to sed ${__PATH__}/.gitmodules file"
git submodule add -b main https://gitlab.archlinux.org/archlinux/packaging/packages/${project} ${project} || "unable to add submodule"
git submodule update --init || die "unable to init submodule"
git submodule update --remote --merge || die "unable to update submodule"
./patch-prepare.sh ${project}
geany b/PKGBUILD
./patch-make.sh ${project}
#
# pacman.conf used if the options --pacman-conf passed at our-build.sh on the .gitlab.yml file
#
[options]
HoldPkg = pacman glibc
Architecture = auto
IgnorePkg = systemd systemd-libs
NoExtract = usr/lib/libsystemd*.* usr/lib/systemd* etc/systemd*
Color
VerbosePkgLists
ParallelDownloads = 5
#XferCommand =
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#[obcore-testing]
#SigLevel = Required
#Server = https://cloud.server.obarun.org/$repo/os/$arch/
[obcore]
SigLevel = Required
Server = https://cloud.server.obarun.org/$repo/os/$arch/
#[obextra-testing]
#SigLevel = Required
#Server = https://cloud.server.obarun.org/$repo/os/$arch/
[obextra]
SigLevel = Required
Server = https://cloud.server.obarun.org/$repo/os/$arch/
#[observice-testing]
#SigLevel = Required
#Server = https://cloud.server.obarun.org/$repo/os/$arch/
[observice]
SigLevel = Required
Server = https://cloud.server.obarun.org/$repo/os/$arch/
#[core-testing]
#SigLevel = DatabaseOptional
#Include = /etc/pacman.d/mirrorlist
[core]
SigLevel = DatabaseOptional
Include = /etc/pacman.d/mirrorlist
#[extra-testing]
#SigLevel = DatabaseOptional
#Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = DatabaseOptional
Include = /etc/pacman.d/mirrorlist
# Options passed to makepkg
makepkg_opts=( "--noconfirm" "--nosign" "--syncdeps" "--rmdeps" "--clean" "--cleanbuild" )
MAKEFLAGS="-j3"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment