豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

feat: docker image tags documentation + tweaks#26923

Merged
mistercrunch merged 25 commits intomasterfrom
docker_docs
Feb 2, 2024
Merged

feat: docker image tags documentation + tweaks#26923
mistercrunch merged 25 commits intomasterfrom
docker_docs

Conversation

@mistercrunch
Copy link
Copy Markdown
Member

@mistercrunch mistercrunch commented Jan 31, 2024

This PR adds a new page to the docs under "Installation and Configuration" titled "Docker Images and Tags"

It also:

  • adds new tags for PRs as in PR_5287 + unit tests for that
  • points the docker-compose-non-dev, which assumes prod to the lean build (latest) since the dev build isn't as secure
  • adds a --force-latest flag to the build_docker.py script
  • fixes a merge conflict around ephemeral builds, where I had refactored the command, but it moved to a new location so I have to re-refactor it

For the text, I have GPT proof read it and I rendered it locally, and took a screenshot
Screenshot 2024-01-31 at 10 48 03 AM

@github-actions github-actions bot added the doc Namespace | Anything related to documentation label Jan 31, 2024
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fdff6d8) 67.19% compared to head (a270ddb) 67.20%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #26923   +/-   ##
=======================================
  Coverage   67.19%   67.20%           
=======================================
  Files        1899     1899           
  Lines       74346    74346           
  Branches     8263     8263           
=======================================
+ Hits        49960    49961    +1     
+ Misses      22337    22336    -1     
  Partials     2049     2049           
Flag Coverage Δ
mysql 77.98% <ø> (-0.03%) ⬇️
postgres 78.10% <ø> (ø)
python 78.24% <ø> (+<0.01%) ⬆️
sqlite 77.68% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mistercrunch
Copy link
Copy Markdown
Member Author

/testenv up

@github-actions
Copy link
Copy Markdown
Contributor

@mistercrunch Ephemeral environment spinning up at http://34.220.34.38:8080. Credentials are admin/admin. Please allow several minutes for bootstrapping and startup.

@mistercrunch
Copy link
Copy Markdown
Member Author

mistercrunch commented Jan 31, 2024

Actions run their master counterpart, I think it's a security feature but it's super confusing... It should only do this in PRs opened from forks... As a result running this command triggers the action prod, and we can't test this one.

Copy link
Copy Markdown
Member

@sfirke sfirke left a comment

Choose a reason for hiding this comment

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

Should docs have manual line breaks or should that just happen automatically? I pointed out an instance of that and linked to a recent comment from @john-bodley on this.

Otherwise a few suggestions for clarity but overall this looks great 👍

Comment thread docs/README.md
Comment thread docs/docs/installation/docker.mdx Outdated
Comment thread docs/docs/installation/docker.mdx Outdated
Comment thread docs/docs/installation/docker.mdx
Comment thread docs/docs/installation/docker.mdx Outdated
Comment thread docs/docs/installation/docker.mdx Outdated
Comment thread docs/docs/installation/docker.mdx Outdated
Copy link
Copy Markdown
Member

@sfirke sfirke left a comment

Choose a reason for hiding this comment

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

docs LGTM

Comment thread docs/docs/installation/docker.mdx Outdated
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.

This doc is super helpful. 🙌

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.

I'm just not sure if it's 100% true ... seemed to work for me

Comment thread docker-compose-non-dev.yml Outdated
Comment thread scripts/build_docker.py Outdated
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.

Is the help string copy pasta?

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.

oopsy

Copy link
Copy Markdown
Member

@craig-rueda craig-rueda left a comment

Choose a reason for hiding this comment

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

LGTM

@mistercrunch mistercrunch merged commit 6b0d8ed into master Feb 2, 2024
@mistercrunch mistercrunch deleted the docker_docs branch February 2, 2024 02:04
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 2, 2024

Ephemeral environment shutdown and build artifacts deleted.

@mistercrunch
Copy link
Copy Markdown
Member Author

@supersetbot orglabel

@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 4.0.0 First shipped in 4.0.0 labels Apr 17, 2024
vinothkumar66 pushed a commit to vinothkumar66/superset that referenced this pull request Nov 11, 2024
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels doc Namespace | Anything related to documentation preset-io size/L 🚢 4.0.0 First shipped in 4.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants