diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b24a69da0f..79a040b8f80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,5 +33,3 @@ include: - ci/deploy.yml - ci/test.yml - ci/releases.yml - # # to be run only on scheduled pipelines - - ci/utils.yml diff --git a/ci/utils.yml b/ci/utils.yml deleted file mode 100644 index 64f3c99c2b1..00000000000 --- a/ci/utils.yml +++ /dev/null @@ -1,109 +0,0 @@ -.run_everything_rules: &run_everything_rules - refs: - - schedules - -# tests whether urls in constants return 200 status (shall detect dead links) -.urls health: - stage: utils - needs: [] - retry: 2 - script: - - yarn install --immutable - - yarn workspace @trezor/urls test:e2e - -urls health nightly: - extends: .urls health - only: - <<: *run_everything_rules - -urls health: - extends: .urls health - when: manual - except: - <<: *run_everything_rules - -.translations unused: - stage: utils - needs: [] - script: - - yarn install --immutable - - yarn workspace @trezor/suite translations:list-unused - -translation unused nightly: - extends: .translations unused - only: - <<: *run_everything_rules - -translation unused: - extends: .translations unused - when: manual - except: - <<: *run_everything_rules - -.media duplicates: - stage: utils - needs: [] - parallel: - matrix: - - EXT: [".png", ".jpg", ".mp4", ".webm", ".svg"] - script: - - ./ci/scripts/find_duplicates.sh ./packages/suite-data/files ${EXT} - -media duplicates nightly: - extends: .media duplicates - only: - <<: *run_everything_rules - -media duplicates: - extends: .media duplicates - when: manual - except: - <<: *run_everything_rules - -# validate that connect installation (outside monorepo) using npm and yarn works -.install connect: - stage: utils - needs: [] - script: - - ./packages/connect/e2e/test-npm-install.sh - - ./packages/connect/e2e/test-yarn-install.sh - -install connect nightly: - extends: .install connect - only: - <<: *run_everything_rules - -install connect manual: - extends: .install connect - when: manual - except: - <<: *run_everything_rules - -.test unit: - stage: utils - needs: [] - script: - - yarn install --immutable - - yarn message-system-sign-config - - yarn test:unit - -test unit nightly: - extends: .test unit - only: - <<: *run_everything_rules - -test unit manual: - extends: .test unit - when: manual - except: - <<: *run_everything_rules - -test protobuf nightly: - stage: utils - only: - <<: *run_everything_rules - needs: [] - script: - - yarn install --immutable - - yarn workspace @trezor/protobuf update:protobuf - - yarn workspace @trezor/protobuf update:schema