[PATCH] ci: fix race on container image name
Aaron Conole
aconole at redhat.com
Wed Aug 2 14:44:18 CEST 2023
David Marchand <david.marchand at redhat.com> writes:
> We had a race on the container image name when the prepare job was
> running a day before the build job was triggered.
>
> Example:
> - a prepare job generated image name on 2023/08/01:
>
> 2023-08-01T23:59:32.9711845Z ++ date -u +%Y-%m-%d
> 2023-08-01T23:59:32.9713485Z + echo image=image-fedora:37-2023-08-01
>
> - a few seconds later, the build jobs later tried to use a different
> image name on 2023/08/02:
>
> 2023-08-02T00:01:29.9103180Z ++ date -u +%Y-%m-%d
> 2023-08-02T00:01:29.9113486Z + echo image=image-fedora:37-2023-08-02
>
> Fix this by directly reusing the prepare job output.
>
> Fixes: b35c4b0aa2bc ("ci: add Fedora 35 container in GHA")
> Cc: stable at dpdk.org
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
Acked-by: Aaron Conole <aconole at redhat.com>
The dangers of dates... :-)
More information about the stable
mailing list