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

changing permissions of /tmp #2026

Merged
merged 2 commits into from
Dec 6, 2023
Merged

changing permissions of /tmp #2026

merged 2 commits into from
Dec 6, 2023

Conversation

pingsutw
Copy link
Member

@pingsutw pingsutw commented Dec 6, 2023

Why are the changes needed?

Fix envd unit test. https://github.com/flyteorg/flytekit/actions/runs/7118907266/job/19383987236?pr=2025

What changes were proposed in this pull request?

Use default permission 777 for /tmp

How was this patch tested?

Manually build an image

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Signed-off-by: Kevin Su <pingsutw@apache.org>
&& chown flytekit: /home \
&& chown -R flytekit:flytekit /tmp \
&& chmod 755 /tmp
&& chown flytekit: /home
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you add a newline && : and a \ to this line?

Copy link

codecov bot commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (aeb33fb) 85.90% compared to head (c78edfd) 85.91%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2026      +/-   ##
==========================================
+ Coverage   85.90%   85.91%   +0.01%     
==========================================
  Files         306      306              
  Lines       22818    22818              
  Branches     3466     3466              
==========================================
+ Hits        19601    19605       +4     
+ Misses       2625     2622       -3     
+ Partials      592      591       -1     

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

Signed-off-by: Kevin Su <pingsutw@apache.org>
@cosmicBboy
Copy link
Contributor

cosmicBboy commented Dec 6, 2023

The failing test is what I'm fixing in #2025, we can merge this

@cosmicBboy cosmicBboy merged commit 03679f7 into master Dec 6, 2023
74 of 76 checks passed
RRap0so pushed a commit to RRap0so/flytekit that referenced this pull request Dec 15, 2023
* changing permissions of /tmp

Signed-off-by: Kevin Su <pingsutw@apache.org>

* nit

Signed-off-by: Kevin Su <pingsutw@apache.org>

---------

Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Rafael Raposo <rafaelraposo@spotify.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants