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

Commits:

1 changed file:

Changes:

  • .gitlab/ci/jobs/update-translations.yml
    ... ... @@ -17,14 +17,11 @@
    17 17
     
    
    18 18
     
    
    19 19
     combine-en-US-translations:
    
    20
    -  extends: .update-translation-base
    
    20
    +  extends:
    
    21
    +    - .with-local-repo-bash
    
    22
    +    - .update-translation-base
    
    21 23
       needs: []
    
    22
    -  image: python
    
    23
    -  variables:
    
    24
    -    PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
    
    25
    -  cache:
    
    26
    -    paths:
    
    27
    -      - .cache/pip
    
    24
    +  image: $IMAGE_PATH
    
    28 25
       # Artifact is for translation project job
    
    29 26
       artifacts:
    
    30 27
         paths:
    
    ... ... @@ -34,12 +31,14 @@ combine-en-US-translations:
    34 31
           dotenv: job_id.env
    
    35 32
       # Don't load artifacts for this job.
    
    36 33
       dependencies: []
    
    34
    +  tags:
    
    35
    +    # Run these jobs in the browser dedicated runners.
    
    36
    +    - firefox
    
    37 37
       script:
    
    38 38
         # Save this CI_JOB_ID to the dotenv file to be used in the variables for the
    
    39 39
         # push-en-US-translations job.
    
    40 40
         - echo 'COMBINE_TRANSLATIONS_JOB_ID='"$CI_JOB_ID" >job_id.env
    
    41
    -    - pip install compare_locales
    
    42
    -    - python ./tools/base_browser/l10n/combine-translation-versions.py "$CI_COMMIT_BRANCH" "$TRANSLATION_FILES" "$COMBINED_FILES_JSON"
    
    41
    +    - ./mach python ./tools/base_browser/l10n/combine-translation-versions.py "$CI_COMMIT_BRANCH" "$TRANSLATION_FILES" "$COMBINED_FILES_JSON"
    
    43 42
     
    
    44 43
     push-en-US-translations:
    
    45 44
       extends: .update-translation-base