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

Migrate to git.obarun.org

parent 2e13d810
No related branches found
Tags 0.4.2-2
No related merge requests found
Pipeline #592 canceled
image: obarun/pkgbuild:latest
variables:
repo: "$CI_PROJECT_DIR"
pkg_name: "$CI_PROJECT_NAME"
ssh_private_key: "$SSH_PRIVATE_KEY"
ssh_known_host: "$SSH_KNOWN_HOSTS"
pkg_target: "$CI_COMMIT_REF_NAME"
repo_conf: ".repositories.conf"
# followed variable are ignored but
# need to be set
pkg_track: "branch"
pkg_address: "$CI_PROJECT_URL"
stages:
- build
- deploy
- build
- commit
build_repo:
package:
stage: build
script:
- cp ./${repo_conf} /etc/${repo_conf}
- builder.sh --chdir=trunk --use-repo
retry:
max: 2
- mkdir -p /etc/pkg
- cp ./pkg.cfg /etc/pkg/pkg.cfg
- cp ./pacman.conf.builder /etc/pacman.conf.builder
- pkg-prepare.sh
- pkg-build.sh --chdir=trunk $CI_PROJECT_DIR
artifacts:
name: $CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA
expire_in: 2 days
paths:
- "*.pkg.tar.xz"
......@@ -35,11 +20,11 @@ build_repo:
changes:
- trunk/PKGBUILD
deploy:
stage: deploy
commit:
stage: commit
only:
changes:
- trunk/PKGBUILD
script:
- deploy.sh
- pkg-commit.sh
[init-toolchain]
SigLevel = Required
Server = https://repo.obarun.org/init-toolchain
#
# 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
IgnorePkg = systemd-libs
NoExtract = usr/lib/libsystemd*.*
Color
CheckSpace
VerbosePkgLists
ParallelDownloads = 5
#XferCommand =
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#[obcore-testing]
#SigLevel = Required
......@@ -30,9 +45,9 @@ Server = https://repo.obarun.org/obcommunity
#SigLevel = Required
#Server = https://repo.obarun.org/obmultilib-testing
#[obmultilib]
#SigLevel = Required
#Server = https://repo.obarun.org/obmultilib
[obmultilib]
SigLevel = Required
Server = https://repo.obarun.org/obmultilib
#[observice-testing]
#SigLevel = Required
......
# Options passed to makepkg
makepkg_opts=( "--noconfirm" "--nosign" "--syncdeps" "--rmdeps" "--clean" "--cleanbuild" )
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