We bumped exactly on the same problem few months back.

Can we have this removed from documentation? Keeping it there confuses people.

 

Thanks

 

From: Lava-users <lava-users-bounces@lists.lavasoftware.org> on behalf of Remi Duraffort <remi.duraffort@linaro.org>
Date: Friday, 11 October 2019 at 07:56
To: cnspring2002 <cnspring2002@aliyun.com>
Cc: lava-users <lava-users@lists.lavasoftware.org>
Subject: Re: [Lava-users] repeat in lava not work

 

Hello,

 

I do confirm that the repeat block is not working and we are not planning to work on that feature anytime soon.

 

In fact it has never worked properly.

 

If you want to repeat actions, just add many actions block. You can use a templating engine like jinja2 to generate the job definition.

 

 

Rgds

 

Le jeu. 10 oct. 2019 à 07:46, cnspring2002 <cnspring2002@aliyun.com> a écrit :

    actions:
    - repeat:
        count: 2

 

I just add above in job, and web submit validator told me:

 

Job submission error: extra keys not allowed @ data['actions'][1]['repeat']

 

Does it still work now?

_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


 

--

Rémi Duraffort

LAVA Tech Lead

Linaro

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.