[libvirt PATCH v2 9/9] gitlab: add job for building latest potfile

Erik Skultety eskultet at redhat.com
Wed Mar 25 08:39:17 UTC 2020


On Tue, Mar 24, 2020 at 04:24:05PM +0000, Daniel P. Berrangé wrote:
> Whenever there is a change to the translatable strings we need to push
> a new libvirt.pot to weblate. This only needs to be done when code
> merges into git master, so the job is restricted to that branch.
>
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  .gitlab-ci.yml | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 2286d28707..08e8df5d25 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -136,3 +136,29 @@ website:
>      expire_in: 30 days
>      paths:
>        - website
> +
> +
> +# This artifact published by this job is downloaded to push to Weblate
> +# for translation usage:
> +#    https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?job=potfile
> +potfile:
> +  stage: prebuild
> +  only:
> +    refs:
> +      - master

Actually, my fingers were too fast...same as in one of the previous patches:

only:
  - master

should be sufficient...

Erik




More information about the libvir-list mailing list