ACCORD-NWP / DAVAI-tests

DAVAÏ tests templates and config files
Other
0 stars 9 forks source link

Dissociate git2pack & pack2bin into 2 jobs #31

Closed AlexandreMary closed 5 days ago

AlexandreMary commented 2 months ago

For now, the gmkpack version of build step of a Davai experiment is made of one job containing:

        Wait4BuildInit(tag='wait4build_init', ticket=t, **kw),  # (re-)initialize list of tasks to be waited for
            Family(tag='gmkpack', ticket=t, nodes=[
                # Two loops rather than one with both tasks in, so that packs are created anyway if compilation fails
                LoopFamily(tag='loop_g2p', ticket=t,
                    loopconf='compilation_flavours',
                    loopsuffix='.{}',
                    nodes=[
                        GitRef2Pack(tag='gitref2pack', ticket=t, **kw),
                    ], **kw),
                LoopFamily(tag='loop_p2b', ticket=t,
                    loopconf='compilation_flavours',
                    loopsuffix='.{}',
                    nodes=[
                        Pack2Bin(tag=gmkpack_executables_block_tag, ticket=t, **kw)
                    ], **kw),

This causes a few issues:

Propositions:

AlexandreMary commented 1 week ago

Done in the association of commits:

-> breaks the backward compatibility between DAVAI-tests and DAVAI-env => requires to use compatible DAVAI-env and DAVAI-tests, typically DAVAI-env 1.1.12 for DAVAI-tests>DV50