Skip to content

Commit d92a54a

Browse files
authored
Merge pull request #5518 from jmarrero/ci-fix2
tests: Increase disk size for container-image test
2 parents a18998f + 78dcdcc commit d92a54a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

ci/prow/fcos-e2e.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,26 @@ set -xeuo pipefail
66
export COSA_SKIP_OVERLAY=1
77
# And suppress depcheck since we didn't install via RPM
88
export COSA_SUPPRESS_DEPCHECK=1
9+
910
ls -al /usr/bin/rpm-ostree
1011
rpm-ostree --version
1112
cd $(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+
1224
cosa init https://github.com/coreos/fedora-coreos-config/
1325
cp /cosa/component-rpms/*.rpm overrides/rpm
1426
cosa fetch
1527
cosa build
28+
# Cosa no longer creates QEMU image by default see:
29+
# https://github.com/coreos/coreos-assembler/issues/4304
30+
cosa buildextend-qemu
1631
cosa kola run 'ext.rpm-ostree.*'

tests/kolainst/destructive/container-image

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
#

0 commit comments

Comments
 (0)