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

ci: publish docs without installing awscli #9126

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Conversation

wes-turner
Copy link
Contributor

@wes-turner wes-turner commented Apr 8, 2024

publish-docs ultimately runs make -C docs publish, which itself runs the make publish in docs/deploy. This recipe runs a terraform init and a terraform apply, neither of which use anything installed with awscli.

MD-349

Ticket

Description

Test Plan

I've tested this by hand by SSHing into a CI host, but have not tested it as a part of an automatic pipeline.

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

`publish-docs` ultimately runs `make -C docs publish`, which itself runs
the `make publish` in `docs/deploy`. This recipe runs a `terraform init`
and a `terraform apply`, neither of which use anything installed with
`awscli`.
@wes-turner wes-turner requested a review from a team as a code owner April 8, 2024 21:43
@cla-bot cla-bot bot added the cla-signed label Apr 8, 2024
Copy link

netlify bot commented Apr 8, 2024

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit 2776d97
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/66146513b02e950008ce743b

Copy link

codecov bot commented Apr 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.18%. Comparing base (d5f807d) to head (2776d97).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9126      +/-   ##
==========================================
+ Coverage   46.16%   46.18%   +0.02%     
==========================================
  Files        1174     1174              
  Lines      145186   145186              
  Branches     2412     2413       +1     
==========================================
+ Hits        67025    67056      +31     
+ Misses      77953    77922      -31     
  Partials      208      208              
Flag Coverage Δ
backend 43.55% <ø> (+0.07%) ⬆️
harness 64.00% <ø> (ø)
web 36.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 7 files with indirect coverage changes

@wes-turner wes-turner merged commit 8b11e3a into main Apr 9, 2024
80 of 92 checks passed
@wes-turner wes-turner deleted the wes/fix-publish-docs branch April 9, 2024 16:36
wes-turner added a commit that referenced this pull request Apr 11, 2024
PR #9126 removing the awscli installation was not well tested and
doesn't work in production. This adds it back, but explicitly adds it to
the user path so that the pip doesn't complain about installation
into a system-managed python path.
wes-turner added a commit that referenced this pull request Apr 11, 2024
PR #9126 removing the awscli installation was not well tested and doesn't work in production. This adds it back, but explicitly adds it to the user path so that the pip doesn't complain about installation into a system-managed python path.
dai-release bot pushed a commit that referenced this pull request Apr 11, 2024
PR #9126 removing the awscli installation was not well tested and doesn't work in production. This adds it back, but explicitly adds it to the user path so that the pip doesn't complain about installation into a system-managed python path.

(cherry picked from commit 0228a95)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants