Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
crond-66serv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
observice
crond-66serv
Commits
cb1ec632
Commit
cb1ec632
authored
3 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
Migrate to git.obarun.org
parent
b45a5686
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#560
canceled
3 years ago
Stage: build
Stage: commit
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+15
-30
15 additions, 30 deletions
.gitlab-ci.yml
pacman.conf.builder
+24
-5
24 additions, 5 deletions
pacman.conf.builder
pkg.cfg
+2
-0
2 additions, 0 deletions
pkg.cfg
with
41 additions
and
35 deletions
.gitlab-ci.yml
+
15
−
30
View file @
cb1ec632
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
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"
only
:
changes
:
-
trunk/PKGBUILD
deploy
:
stage
:
deploy
commit
:
stage
:
commit
only
:
changes
:
-
trunk/PKGBUILD
script
:
-
deploy.sh
script
:
-
pkg-commit.sh
This diff is collapsed.
Click to expand it.
.repositories.conf
→
pacman.conf.builder
+
24
−
5
View file @
cb1ec632
#
# 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
#Server = https://repo.obarun.org/obcore
/
testing/
#Server = https://repo.obarun.org/obcore
-
testing/
[obcore]
SigLevel = Required
...
...
@@ -8,7 +27,7 @@ Server = https://repo.obarun.org/obcore
#[obextra-testing]
#SigLevel = Required
#Server = https://repo.obarun.org/obextra
/
testing
#Server = https://repo.obarun.org/obextra
-
testing
[obextra]
SigLevel = Required
...
...
@@ -16,7 +35,7 @@ Server = https://repo.obarun.org/obextra
#[obcommunity-testing]
#SigLevel = Required
#Server = https://repo.obarun.org/obcommunity
/
testing
#Server = https://repo.obarun.org/obcommunity
-
testing
[obcommunity]
SigLevel = Required
...
...
@@ -24,7 +43,7 @@ Server = https://repo.obarun.org/obcommunity
#[obmultilib-testing]
#SigLevel = Required
#Server = https://repo.obarun.org/obmultilib
/
testing
#Server = https://repo.obarun.org/obmultilib
-
testing
[obmultilib]
SigLevel = Required
...
...
@@ -32,7 +51,7 @@ Server = https://repo.obarun.org/obmultilib
#[observice-testing]
#SigLevel = Required
#Server = https://repo.obarun.org/observice
/
testing
#Server = https://repo.obarun.org/observice
-
testing
[observice]
SigLevel = Required
...
...
This diff is collapsed.
Click to expand it.
pkg.cfg
0 → 100644
+
2
−
0
View file @
cb1ec632
# Options passed to makepkg
makepkg_opts
=
( "--noconfirm" "--nosign" "--syncdeps" "--rmdeps" "--clean" "--cleanbuild" )
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment