Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
79f807c2
Unverified
Commit
79f807c2
authored
2 years ago
by
Oliver Smith
Browse files
Options
Downloads
Patches
Plain Diff
CI: kconfig adjust for 'pmbootstrap ci' (MR 3615)
parent
e13849f9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ci/kconfig.sh
+22
-0
22 additions, 0 deletions
.ci/kconfig.sh
.gitlab-ci.yml
+2
-4
2 additions, 4 deletions
.gitlab-ci.yml
with
24 additions
and
4 deletions
.ci/kconfig.sh
0 → 100755
+
22
−
0
View file @
79f807c2
#!/bin/sh -e
# Description: check all kernel configs with 'pmbootstrap kconfig check'
# Options: native
# Use 'native' because it requires running pmbootstrap.
# https://postmarktos.org/pmb-ci
if
[
"
$(
id
-u
)
"
=
0
]
;
then
set
-x
wget
"https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
sh ./install_pmbootstrap.sh
exec
su
"
${
TESTUSER
:-
pmos
}
"
-c
"sh -e
$0
"
fi
# Wrap pmbootstrap to use this repository for --aports
pmaports
=
"
$(
cd
$(
dirname
$0
)
/..
;
pwd
-P
)
"
_pmbootstrap
=
"
$(
command
-v
pmbootstrap
)
"
pmbootstrap
()
{
"
$_pmbootstrap
"
--aports
=
"
$pmaports
"
"
$@
"
}
set
-x
pmbootstrap kconfig check
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
2
−
4
View file @
79f807c2
...
...
@@ -117,11 +117,9 @@ kernel-kconfig:
changes
:
-
device/*/linux-*/config-*
-
main/linux-*/config-*
before_script
:
-
wget "https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
-
sh ./install_pmbootstrap.sh pytest
script
:
-
su pmos -c "pmbootstrap kconfig check"
-
.ci/lib/gitlab_prepare_ci.sh
-
.ci/kconfig.sh
# MR settings
# (Checks for "Allow commits from members who can merge to the target branch")
...
...
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