Skip to content

[ci] Speedup and cleanup#14643

Merged
oliviertassinari merged 7 commits into
mui:nextfrom
eps1lon:ci/cleanup
Feb 24, 2019
Merged

[ci] Speedup and cleanup#14643
oliviertassinari merged 7 commits into
mui:nextfrom
eps1lon:ci/cleanup

Conversation

@eps1lon

@eps1lon eps1lon commented Feb 23, 2019

Copy link
Copy Markdown
Member

General effort to remove some complexity from .circleci/config.yml and speedup build times. Commits are atomic.

Changes:

  • Don't use offline cache anymore
  • use *-browsers docker image instead of apt install
  • Move docs:api to test_build
  • Use 2.1 commands

@mui-pr-bot

mui-pr-bot commented Feb 23, 2019

Copy link
Copy Markdown

No bundle size changes comparing bfa9167...bcd0a30

Generated by 🚫 dangerJS against bcd0a30

Network problems should be resolved
- moves docs/ related tasks together
- reduces build time for test_browser which is currently
  the bottleneck to test_regressions
@eps1lon
eps1lon marked this pull request as ready for review February 23, 2019 21:20
@mbrookes mbrookes changed the title [ci] Speadup and cleanup [ci] Speedup and cleanup Feb 23, 2019
Comment thread .circleci/config.yml Outdated
Comment thread .circleci/config.yml
Comment thread .circleci/config.yml
Comment thread .circleci/config.yml
- run:
name: Are the compiled TypeScript demos equivalent to the JavaScript demos?
command: git diff --exit-code
- run:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 for the better load balance

It'll be invalidated on every run anyway since it looks at mtime and that changes with every checkout
@oliviertassinari
oliviertassinari merged commit 6bb9231 into mui:next Feb 24, 2019
@eps1lon
eps1lon deleted the ci/cleanup branch February 25, 2019 10:04
Comment thread .circleci/config.yml
working_directory: /tmp/material-ui
docker:
- image: circleci/node:8.15
- image: circleci/node:8.15-browsers

@oliviertassinari oliviertassinari Mar 3, 2019

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eps1lon added a commit that referenced this pull request Mar 7, 2019
Partial revert of #14643.

While the build with `-browser` images technically improved reproducability of the build it creates less deterministic builds. The selenium image even caused errors on builds with the exact same docker images sha. 

Prerequisite for #14775
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants