Skip to content

Commit

Permalink
ci/jenkins: Drop runAsUser: 0
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Sep 7, 2023
1 parent 66f4050 commit 405d59f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .cci.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ codestyle: {

def nhosts = 4
def mem = (nhosts * 1536) + 512
cosaPod(runAsUser: 0, memory: "${mem}Mi", cpu: "${nhosts}") {
cosaPod(memory: "${mem}Mi", cpu: "${nhosts}") {
stage("Unit Tests") {
checkout scm
unstash 'rpms'
// run this stage first without installing deps, so we match exactly the cosa pkgset
// (+ our built rpm-ostree)
shwrap("""
dnf install -y *.rpm
sudo dnf install -y *.rpm
# Cross check we enabled the unit tests
rpm-ostree --version | grep bin-unit-tests
rpm-ostree testutils c-units
Expand All @@ -51,11 +51,11 @@ cosaPod(runAsUser: 0, memory: "${mem}Mi", cpu: "${nhosts}") {
""")
}
stage("Install Deps") {
shwrap("ci/install-test-deps.sh")
shwrap("sudo ci/install-test-deps.sh")
}
stage("Kola") {
// TODO upstream this into coreos-ci-lib
shwrap("make -C tests/kolainst install")
shwrap("sudo make -C tests/kolainst install")
kola(cosaDir: "${env.WORKSPACE}", extraArgs: "ext.rpm-ostree.*", parallel: nhosts)
}
stage("vmcheck") {
Expand Down

0 comments on commit 405d59f

Please sign in to comment.