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

Migrate to git.obarun.org

parent c4d7070e
No related branches found
No related tags found
No related merge requests found
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: stages:
- build - build
- deploy - commit
build_repo: package:
stage: build stage: build
script: script:
- cp ./${repo_conf} /etc/${repo_conf} - mkdir -p /etc/pkg
- builder.sh --chdir=trunk - cp ./pkg.cfg /etc/pkg/pkg.cfg
- cp ./pacman.conf.builder /etc/pacman.conf.builder
retry: - pkg-prepare.sh
max: 2 - pkg-build.sh --chdir=trunk $CI_PROJECT_DIR
artifacts: artifacts:
name: $CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA name: $CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA
expire_in: 2 days
paths: paths:
- "*.pkg.tar.xz" - "*.pkg.tar.xz"
only: only:
changes: changes:
- trunk/PKGBUILD - trunk/PKGBUILD
deploy: commit:
stage: deploy stage: commit
only: only:
changes: changes:
- trunk/PKGBUILD - trunk/PKGBUILD
script: script:
- deploy.sh - pkg-commit.sh
#
# 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] #[obcore-testing]
#SigLevel = Required #SigLevel = Required
#Server = https://repo.obarun.org/obcore/testing/ #Server = https://repo.obarun.org/obcore-testing/
[obcore] [obcore]
SigLevel = Required SigLevel = Required
...@@ -8,7 +27,7 @@ Server = https://repo.obarun.org/obcore ...@@ -8,7 +27,7 @@ Server = https://repo.obarun.org/obcore
#[obextra-testing] #[obextra-testing]
#SigLevel = Required #SigLevel = Required
#Server = https://repo.obarun.org/obextra/testing #Server = https://repo.obarun.org/obextra-testing
[obextra] [obextra]
SigLevel = Required SigLevel = Required
...@@ -16,7 +35,7 @@ Server = https://repo.obarun.org/obextra ...@@ -16,7 +35,7 @@ Server = https://repo.obarun.org/obextra
#[obcommunity-testing] #[obcommunity-testing]
#SigLevel = Required #SigLevel = Required
#Server = https://repo.obarun.org/obcommunity/testing #Server = https://repo.obarun.org/obcommunity-testing
[obcommunity] [obcommunity]
SigLevel = Required SigLevel = Required
...@@ -24,7 +43,7 @@ Server = https://repo.obarun.org/obcommunity ...@@ -24,7 +43,7 @@ Server = https://repo.obarun.org/obcommunity
#[obmultilib-testing] #[obmultilib-testing]
#SigLevel = Required #SigLevel = Required
#Server = https://repo.obarun.org/obmultilib/testing #Server = https://repo.obarun.org/obmultilib-testing
[obmultilib] [obmultilib]
SigLevel = Required SigLevel = Required
...@@ -32,7 +51,7 @@ Server = https://repo.obarun.org/obmultilib ...@@ -32,7 +51,7 @@ Server = https://repo.obarun.org/obmultilib
#[observice-testing] #[observice-testing]
#SigLevel = Required #SigLevel = Required
#Server = https://repo.obarun.org/observice/testing #Server = https://repo.obarun.org/observice-testing
[observice] [observice]
SigLevel = Required 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