Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

De-duplicate builds #7123

Merged
merged 12 commits into from
Jun 8, 2020
Merged

De-duplicate builds #7123

merged 12 commits into from
Jun 8, 2020

Commits on May 25, 2020

  1. De-duplicate builds

    When a build is triggered, it could be marked as to be skipped by builders if:
    
    * there is already a build running/queued for the same commit
    
      Multiple builds of the same commit will lead to the same results. So, we skip
      it if there is one already running/queued.
    
    * there is already a build queued for the same version
    
      When building a version without specifying the commit, the last commit is
      built. In this case, we can only skip the new triggered build if there is one
      build queued because both builds will just pick the same commit.
    humitos committed May 25, 2020
    Configuration menu
    Copy the full SHA
    e76a948 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2020

  1. Lint

    humitos committed May 27, 2020
    Configuration menu
    Copy the full SHA
    95350aa View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2020

  1. Configuration menu
    Copy the full SHA
    030b0a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9fcf10d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    141bbf5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6ce7617 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2020

  1. Make StatusCode an Enum

    humitos committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    2802da9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9767f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    30dde39 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' of github.com:readthedocs/readthedocs.org into …

    …humitos/de-duplicate-builds
    humitos committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    8ed21f6 View commit details
    Browse the repository at this point in the history
  5. Enable feature on tests

    humitos committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    954e004 View commit details
    Browse the repository at this point in the history
  6. Use a simple constant instead of an Enum

    Django does not convert Enum automatically to its value :/
    humitos committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    190a628 View commit details
    Browse the repository at this point in the history