brizental pushed to branch mullvad-browser-140.3.0esr-15.0-1 at The Tor Project / Applications / Mullvad Browser

Commits:

1 changed file:

Changes:

  • .gitlab/ci/jobs/update-translations.yml
    ... ... @@ -59,14 +59,11 @@
    59 59
     
    
    60 60
     
    
    61 61
     combine-en-US-translations:
    
    62
    -  extends: .update-translation-base
    
    62
    +  extends:
    
    63
    +    - .with-local-repo-bash
    
    64
    +    - .update-translation-base
    
    63 65
       needs: []
    
    64
    -  image: python
    
    65
    -  variables:
    
    66
    -    PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
    
    67
    -  cache:
    
    68
    -    paths:
    
    69
    -      - .cache/pip
    
    66
    +  image: $IMAGE_PATH
    
    70 67
       # Artifact is for translation project job
    
    71 68
       artifacts:
    
    72 69
         paths:
    
    ... ... @@ -76,12 +73,14 @@ combine-en-US-translations:
    76 73
           dotenv: job_id.env
    
    77 74
       # Don't load artifacts for this job.
    
    78 75
       dependencies: []
    
    76
    +  tags:
    
    77
    +    # Run these jobs in the browser dedicated runners.
    
    78
    +    - firefox
    
    79 79
       script:
    
    80 80
         # Save this CI_JOB_ID to the dotenv file to be used in the variables for the
    
    81 81
         # push-en-US-translations job.
    
    82 82
         - echo 'COMBINE_TRANSLATIONS_JOB_ID='"$CI_JOB_ID" >job_id.env
    
    83
    -    - pip install compare_locales
    
    84
    -    - python ./tools/base_browser/l10n/combine-translation-versions.py "$CI_COMMIT_BRANCH" "$TRANSLATION_FILES" "$COMBINED_FILES_JSON"
    
    83
    +    - ./mach python ./tools/base_browser/l10n/combine-translation-versions.py "$CI_COMMIT_BRANCH" "$TRANSLATION_FILES" "$COMBINED_FILES_JSON"
    
    85 84
     
    
    86 85
     push-en-US-translations:
    
    87 86
       extends: .update-translation-base