Skip to content

Commit

Permalink
ci: Rework to do validation after fetching git
Browse files Browse the repository at this point in the history
Prep for adding Sagano as a git submodule.
  • Loading branch information
cgwalters committed Sep 15, 2023
1 parent ef5551d commit ef02d2f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .cci.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ cosaPod(cpus: 4, memory: "9Gi") {
def basearch = shwrapCapture("cosa basearch")
def mechanical_streams = ['branched', 'rawhide']

shwrap("cd config && ci/validate")

shwrap("""
mkdir -p /srv/coreos && cd /srv/coreos
cosa init ${env.WORKSPACE}/config
""")

// Do basic validation here
shwrap("cd config && ci/validate")

shwrap("""
cd /srv/coreos
python3 /usr/lib/coreos-assembler/download-overrides.py
# prep from the latest builds so that we generate a diff on PRs that add packages
cosa buildfetch --stream=${env.CHANGE_TARGET}
Expand Down

0 comments on commit ef02d2f

Please sign in to comment.