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

Hosting: manual integrations via build contract #10127

Merged
merged 43 commits into from
Mar 20, 2023

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    5b28071 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e18b40f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7754d5f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2925ed9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3385649 View commit details
    Browse the repository at this point in the history
  6. Old version warning

    humitos committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    1e391b8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6afca0b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7ce98a4 View commit details
    Browse the repository at this point in the history
  9. Comments!

    humitos committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    3ca96ec View commit details
    Browse the repository at this point in the history
  10. More comments

    humitos committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    f4f1268 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. Build: pass PATH environment variable to Docker container

    Instead of prepending all the commands with the `PATH=` variable, we pass the
    environment variable directly to the Docker container.
    
    This allow us to run multi-line shell script without failing with weird syntax
    errors. Besides, the implementation is cleaner since all the environment
    variables are passed to the commands in the same way.
    
    I added some _default paths_ that I found by checking the local Docker
    container. I'm also passing the users' path, depending if we are working locally
    as root or in production.
    
    This is not 100% complete and there may be some other issues that I'm not seeing
    yet, but I think it's a first step to behave in a way our users are expecting.
    
    Closes #10103
    humitos committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    a596512 View commit details
    Browse the repository at this point in the history
  2. Lint: for some reason fails at CircleCI otherwise

    Locally it tries to reverted back 🤷
    humitos committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    33fdb2b View commit details
    Browse the repository at this point in the history
  3. Merge branch 'humitos/build-cmd-environment' of github.com:readthedoc…

    …s/readthedocs.org into humitos/hosting-integrations
    humitos committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    4ced5c3 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Feature flag for new hosting integrations

    X-RTD-Hosting-Integration: true/false
    
    This can be used from CloudFlare to decide whether or not inject a `<script>`
    into the resulting HTML or not.
    humitos committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    ea2af4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79b7393 View commit details
    Browse the repository at this point in the history
  3. Load READTHEDOCS_DATA async

    humitos committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    17effaf View commit details
    Browse the repository at this point in the history
  4. Absolute proxied API path

    humitos committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    2b9cdbf View commit details
    Browse the repository at this point in the history
  5. Remove duplicated code

    humitos committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    0116f41 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2023

  1. Configuration menu
    Copy the full SHA
    d5130cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    761e3b6 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. Configuration menu
    Copy the full SHA
    bd9f70e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    842a228 View commit details
    Browse the repository at this point in the history
  3. Improve helper text

    humitos committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    2ad30cc View commit details
    Browse the repository at this point in the history
  4. Builds: save readthedocs-build.yaml into database

    I added a `Version.build_data` field that may be used from
    `/_/readthedocs-config.json` to extend with data generated by the doctool at
    build time if necessary.
    humitos committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    89662fa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f83eee6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d14115a View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. Updates to the API

    humitos committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    067bb4c View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Minor updates

    humitos committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    17c1af3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53366aa View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. doc-diff object returned

    humitos committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    0f89186 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48de597 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4b05e77 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' of github.com:readthedocs/readthedocs.org into hu…

    …mitos/hosting-integrations
    humitos committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    e90af75 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    364de9c View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. Remove JS

    This file will be deployed directly into S3.
    humitos committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    c1cf8cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3930915 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d7b6fe View commit details
    Browse the repository at this point in the history
  4. Remove non-required f-string

    humitos committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    ab43635 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    85ab2e7 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'main' of github.com:readthedocs/readthedocs.org into hu…

    …mitos/hosting-integrations
    humitos committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    3439e24 View commit details
    Browse the repository at this point in the history
  7. Lint

    humitos committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    6154c7f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0e8f245 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a6c5977 View commit details
    Browse the repository at this point in the history