Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/angular/angular.git. Pull mirroring updated .
  1. Jan 15, 2021
  2. Aug 07, 2020
  3. Jun 23, 2020
    • Paul Gschwendtner's avatar
      ci: update components-repo-unit-tests job commit (#37623) · 12f674f4
      Paul Gschwendtner authored
      Updates to the latest commit of the `angular/components` repository. We
      need to do this because we removed the `esm5.bzl` output flavour aspect,
      but an old version of the components repo relied on this file to exist.
      
      This is no longer the case, and we can simply update the version of the
      components repo we can test against.
      
      PR Close #37623
      12f674f4
  4. May 19, 2020
  5. May 07, 2020
  6. May 06, 2020
    • Andrew Scott's avatar
      build: remove typescript 3.6 and 3.7 support (#36329) · fbd281c2
      Andrew Scott authored
      Remove TypeScript 3.6 and 3.7 support from Angular along with tests that
      ensure those TS versions work.
      
      BREAKING CHANGE: typescript 3.6 and 3.7 are no longer supported, please
      update to typescript 3.8
      
      PR Close #36329
      fbd281c2
    • Joey Perrott's avatar
      ci: removing CI environment variable caching setup (#36936) · fc6c3ae9
      Joey Perrott authored
      A caching mechanism was put in place to prevent repeated calls to
      the Github API.  As the CI setup no longer relies on calls to the
      Github API, this caching is no longer necessary.
      
      It was discovered that this caching was causing a contention issue
      for saucelabs testing as the same tunnel was being reused for
      multiple jobs simultaneously.  With this caching mechanism removed
      the jobs will once again run via separate tunnels.
      
      PR Close #36936
      fc6c3ae9
  7. Apr 17, 2020
    • Joey Perrott's avatar
      ci: remove reliance on Github API for CI setup (#36500) · 4480ba3e
      Joey Perrott authored
      Previously our CI during the setup process has made requests
      to the Github API to determine the target branch and shas.
      With this change, this information is now determined via git
      commands using pipeline parameters from CircleCI.
      
      PR Close #36500
      4480ba3e
  8. Apr 02, 2020
    • Joey Perrott's avatar
      build: update to clang 1.4.0 and only run clang format on changed files (#36203) · c5c57f67
      Joey Perrott authored
      Update to clang@1.4.0 to gain support for optional changing and nullish
      coalescing.  Because this would trigger a change on >1800 files in the
      repository, also changes our format enforcement to only be run against
      changed files.  This will allow us to incramentally roll out the value
      add of the upgraded clang format.
      
      PR Close #36203
      c5c57f67
  9. Mar 26, 2020
    • Joey Perrott's avatar
      build: ensure that refs and shas for PRs only need to be requested once (#36207) · d37dad82
      Joey Perrott authored
      This is done by requesting the refs and shas for the PR when the
      env.sh script is run.  Additionally, the env.sh script is now setup
      to write all of the environment variables created to a cache file
      and subsequent loads of the environment load the values from there.
      
      The get-refs-and-shas-for-target.js script now also first attempts
      to load the refs and shas from an environment variable before
      falling back to requesting from github via the API.
      
      PR Close #36207
      d37dad82
  10. Mar 12, 2020
    • Greg Magolan's avatar
      build: remove legacy integration test runner (#35985) · 2b6028b6
      Greg Magolan authored
      * integration tests target definitions in integration/BUILD.bazel updated to use a single dict
      * payload tracking for integration tests updated to work under Bazel
      * legacy integration_test CI job removed
      * integration/run_tests.sh script no longer used in CI so it has been updated for running integration tests locally in the legacy way
      
      PR Close #35985
      2b6028b6
  11. Mar 11, 2020
  12. Feb 19, 2020
    • George Kalpakas's avatar
      ci: get rid of the `CI_CHROMEDRIVER_VERSION_ARG` env var (#35381) · 19396769
      George Kalpakas authored
      Previously, we needed to manually specify a ChromeDriver version to
      download on CI that would be compatible with the browser version
      provided by the docker image used to run the tests. This was kept in the
      `CI_CHROMEDRIVER_VERSION_ARG` environment variable.
      
      With recent commits, we use the browser provided by `puppeteer` and can
      determine the correct ChromeDriver version programmatically. Therefore,
      we no longer need the `CI_CHROMEDRIVER_VERSION_ARG` environment
      variable.
      
      NOTE:
      There is still one place (the `bazel-schematics` integration project)
      where a hard-coded ChromeDriver version is necessary. Since I am not
      sure what is the best way to refactor the tests to not rely on a
      hard-coded version, I left it as a TODO for a follow-up PR.
      
      PR Close #35381
      19396769
  13. Feb 13, 2020
  14. Feb 11, 2020
  15. Feb 07, 2020
  16. Jan 28, 2020
  17. Jan 24, 2020
  18. Jan 23, 2020
  19. Jan 22, 2020
    • Paul Gschwendtner's avatar
      ci: update material-unit-tests job commit to latest (#34863) · 20419d3d
      Paul Gschwendtner authored
      Updates the `material-unit-tests` job commit to the latest
      available commit. We need to update since the `angular/components`
      repository updated to TypeScript 3.7, which means that we can remove
      the TS 3.7 workarounds we applied to get the job green when framework
      updated to TS 3.7.
      
      PR Close #34863
      20419d3d
  20. Jan 15, 2020
  21. Jan 11, 2020
  22. Dec 18, 2019
    • George Kalpakas's avatar
      ci(docs-infra): fix failure in `aio_monitoring_stable` due to yarn version mismatch (#34451) · b637b932
      George Kalpakas authored
      The `aio_monitoring_stable` CI job is triggered as a cronjob on the
      master branch and its purpose is to run some e2e tests against the
      deployed stable version of the docs web-app at https://angular.io/. In
      order for the tests to be compatible with the deployed version of the
      web-app (which gets deployed from the stable branch), the stable branch
      is checked out in git as part of the CI job.
      
      Previously, we only checked out the `aio/` directory from the stable
      branch, leaving the rest of the code at master. This doesn't matter as
      long as the commands used to run the tests do not rely on code outside
      of `aio/`. However, it turns out that there _is_ code outside of `aio/`
      that affects the executed commands: It is our vendored version of yarn
      (in `third_party/github.com/yarnpkg/`), which overwrites the global yarn
      installed on the docker image on CI and must match the version range
      specified in `aio/package.json > engines`.
      
      Using the yarn version checked out from the master branch with the
      `aio/` code checked out from the stable branch can lead to failures
      such as [this one][1].
      
      This commit fixes the problem by checking out both the `aio/` and
      `third_party/github.com/yarnpkg/` directories from the stable branch and
      re-running the steps to overwrite the global yarn executable with our
      own version from `third_party/github.com/yarnpkg/`. This ensures that
      the version of yarn used will be compatible with the version range
      specified in `aio/package.json > engines`.
      
      NOTE:
      We cannot checkout everything from the stable branch, since the CI
      config (`.circleci/config.yml` from the master branch) may try to run
      certain scripts (such as `.circleci/get-vendored-yarn-path.js`) that are
      not available on the stable branch. Therefore, we should only check out
      the necessary bits from the stable branch.
      
      [1]: https://circleci.com/gh/angular/angular/567315
      
      PR Close #34451
      b637b932
    • Paul Gschwendtner's avatar
      ci: update material-unit-tests job to include commit that reduced test flakiness (#34430) · 9ba8059e
      Paul Gschwendtner authored
      Updates the material-unit-tests job commit SHA to the most recent
      commit at the time of writing. The goal is to run the unit tests
      with https://github.com/angular/components/commit/6ae74a0eb21268d4b107a052a8cf8ae63078bf99
      that improved stability of a few menu tests that were flaky.
      
      e.g. https://circleci.com/gh/angular/angular/564650
      
      PR Close #34430
      9ba8059e
  23. Dec 16, 2019
    • George Kalpakas's avatar
      ci: avoid hard-coding path to local yarn executable (#34384) · 3ceb2b85
      George Kalpakas authored
      We keep a version of yarn in the repo, at
      `third_party/github.com/yarnpkg/`. All CI jobs (including Windows ones)
      should use that version for consistency (and easier updates). The path
      to the actual `yarn.js` script, however, changes depending on the
      version (e.g. `third_party/github.com/yarnpkg/v1.21.1/...`).
      (NOTE: The Windows jobs are currently not using this local version, but
      that should be fixed in a subsequent commit.)
      
      Previously, when updating the local version of yarn, we would
      potentially have to update the path in several places.
      
      This commit addresses the problem by adding a Node.js script that infers
      the correct path. The script can be used in all places where we need to
      use the local version of yarn (including both Linux and Windows CI
      jobs), thus eliminating the need to update the path in several places.
      
      PR Close #34384
      3ceb2b85
    • George Kalpakas's avatar
      ci: remove unused variable from `.circleci/env.sh` (#34384) · fac997c5
      George Kalpakas authored
      Since #32537, the `.circleci/get-commit-range.js` script is no longer
      used in `.circleci/env.sh`. This commit removes the now unused local
      variable to the script's path.
      
      PR Close #34384
      fac997c5
  24. Dec 07, 2019
  25. Dec 06, 2019
    • Joey Perrott's avatar
      ci: update saucelabs to use angular-framework account (#34233) · 023c9beb
      Joey Perrott authored
      Currently all saucelabs usage in our repos is done using the same
      account angular-ci.  By migrating to use individual accounts
      for each repo, we can better track the usage for each repo as well
      as providing concurrency limiting on a per repo basis.
      
      Additionally, we no longer use two separate accounts based on being
      on master or a PR branch, so this logic can be removed.
      
      PR Close #34233
      023c9beb
  26. Nov 12, 2019
  27. Nov 07, 2019
  28. Nov 02, 2019
    • Paul Gschwendtner's avatar
      ci: re-enable material unit tests job (#33530) · 31116f0c
      Paul Gschwendtner authored
      The Material units tests job has been disabled with the
      typescript upgrade PR since the components repository was
      still on an old TypeScript version (due to cyclic dependencies
      between the framework and components repository).
      
      Since the components repository has been updated to `9.0.0-next.15`
      and now uses the compatible TypeScript version, we can re-enable
      ds
      
      Related to this change, we need to ignore the `package.json`
      engines when installing the dependencies of the components repo. This
      is because the components repo already updated to NodeJS v12 and Yarn
      v1.19.1. This is not the case for the CI setup of framework. For now,
      since we don't want to change the dev setup (as it slows down
      development), we temporarily disable the engines.
      
      Additionally, the material unit tests job now depends on the actual
      release packages (not on the ngtsc compiled ones). This is because
      the components repo setup relies on NGCC being run. This is also
      helpful for validating ngcc against the framework packages.
      
      PR Close #33530
      31116f0c
  29. Oct 18, 2019
    • Paul Gschwendtner's avatar
      ci: update commit for material-unit-tests job (#33221) · b60541c9
      Paul Gschwendtner authored
      Updates the commit of the Angular components repository for
      which the `material-unit-tests` job runs tests against. We need to
      update to the latest commit at the time of writing, in order to be able
      to remove the gesture tests from the material-ci/blocklist.
      
      This is now possible because the Angular components repository
      removes the dependency on `hammerjs` completely.
      
      PR Close #33221
      b60541c9
  30. Oct 15, 2019
    • Greg Magolan's avatar
      ci: update material-unit-test commit (#33073) · dcbc3b19
      Greg Magolan authored
      Updates the `material-unit-test` job to run tests against
      the latest commit of the Angular Components repository.
      
      The components repository updated to rules_nodejs#0.38.2 before Angular Bazel did.
      To do this, the `@angular/bazel` v0.38.2 compatibility changes were patched on postinstall.
      
      This now conflicts because we install a `@angular/bazel` version in the `material-unit-tests` job
      that already includes these compatibility changes. This would result in the patch being a noop
      for which the `patch` command throws an error.
      
      We can remove this once components can install a released version of `@angular/bazel` that is
      compatible with `rules_nodejs#0.38.2`.
      
      PR Close #33073
      dcbc3b19
  31. Oct 09, 2019
    • Paul Gschwendtner's avatar
      ci: update material-unit-test commit (#32889) · 3830f6fc
      Paul Gschwendtner authored
      Updates the `material-unit-test` job to run tests against
      the latest commit of the Angular Components repository.
      
      We need to update to a version where components already
      updated to `rules_nodejs#0.38.0`.
      
      PR Close #32889
      3830f6fc
  32. Sep 11, 2019
    • Greg Magolan's avatar
      ci: update material-unit-tests commit (#32485) · f937f8f6
      Greg Magolan authored
      Updates the SHA that will be tested against in the `material-unit-tests` job
      to the latest commit in the components repository. SHA 2817c9e2faa4140342336987a692d5dd30bf24c2
      is needed in order to make the `material-unit-tests` job pass after the remove
      of the `protractor_web_test_suite` bazel rule from @angular/bazel. `protractor_web_test_suite` is
      now provided by the @bazel/protractor npm package.
      
      PR Close #32485
      f937f8f6
  33. Sep 10, 2019
    • George Kalpakas's avatar
      ci: work around `CIRCLE_COMPARE_URL` not being available wih CircleCI Pipelines (#32537) · b5eda603
      George Kalpakas authored
      The commit range that is associated with a CI build is used for a couple
      of things (mostly related to payload-size tracking):
      - Determine whether a size change was caused by application code or
        dependencies (or both).
      - Add the messages of the commits associated with the build (and thus
        the payload-size change).
      
      NOTE: The commit range is only used on push builds.
      
      Previously, the commit range was computed based on the
      `CIRCLE_COMPARE_URL` environment variable. With [CircleCI Pipelines][1]
      enabled, `CIRCLE_COMPARE_URL` is no longer available and the commit
      range cannot be reliably detected.
      
      This commit switches `CI_COMMIT_RANGE` to only include the last commit.
      This can be less accurate in some rare cases, but is true in the
      majority of cases (on push builds). Additionally, it stores the CircleCI
      build URL in the database along with the payload data, so the relevant
      info can be retrieved when needed.
      
      [1]: https://circleci.com/docs/2.0/build-processing
      
      PR Close #32537
      b5eda603