File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
tests/kolainst/destructive Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,26 @@ set -xeuo pipefail
66export COSA_SKIP_OVERLAY=1
77# And suppress depcheck since we didn't install via RPM
88export COSA_SUPPRESS_DEPCHECK=1
9+
910ls -al /usr/bin/rpm-ostree
1011rpm-ostree --version
1112cd $( mktemp -d)
13+
14+ # Let's force XDG vars to make sure we got permissions
15+ # when writing to the directories
16+ # https://specifications.freedesktop.org/basedir-spec/latest/
17+ mkdir -p " $PWD /.state" " $PWD /.cache" " $PWD /.config"
18+ chmod 700 " $PWD /.state" " $PWD /.config"
19+ chmod 755 " $PWD /.cache"
20+ export XDG_STATE_HOME=" $PWD /.state"
21+ export XDG_CACHE_HOME=" $PWD /.cache"
22+ export XDG_CONFIG_HOME=" $PWD /.config"
23+
1224cosa init https://github.com/coreos/fedora-coreos-config/
1325cp /cosa/component-rpms/* .rpm overrides/rpm
1426cosa fetch
1527cosa build
28+ # Cosa no longer creates QEMU image by default see:
29+ # https://github.com/coreos/coreos-assembler/issues/4304
30+ cosa buildextend-qemu
1631cosa kola run ' ext.rpm-ostree.*'
Original file line number Diff line number Diff line change 11#! /bin/bash
22# This test reboots a lot, generates container images, etc.
3- # kola: { "timeoutMin": 30 }
3+ # kola: { "timeoutMin": 30, "minDisk": 20 }
44#
55# Copyright (C) 2021 Red Hat, Inc.
66#
You can’t perform that action at this time.
0 commit comments