Skip to content

Commit

Permalink
Merge pull request coreos#490 from cgwalters/cosa-ci
Browse files Browse the repository at this point in the history
ci/build-test: Do a cosa build + test
  • Loading branch information
openshift-merge-robot authored Jan 22, 2021
2 parents f327025 + d3d64c2 commit 525f002
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion ci/build-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,17 @@ set -xeuo pipefail
git submodule update --init --recursive
# Basic syntax check
./fedora-coreos-config/ci/validate
# To be expanded with a cosa build
# Prow jobs don't support adding emptydir today
export COSA_SKIP_OVERLAY=1
gitdir=$(pwd)
cd $(mktemp -d)
cosa init ${gitdir}
# TODO query the 4-7 bits from manifest.yaml or so
curl -L http://base-4-7-rhel8.ocp.svc.cluster.local > src/config/ocp.repo
cosa fetch
cosa build
cosa kola --basic-qemu-scenarios
cosa kola run 'ext.*'
# TODO: all tests in the future, but there are a lot
# and we want multiple tiers, and we need to split them
# into multiple pods and stuff.

0 comments on commit 525f002

Please sign in to comment.