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

Improvements needed for the new onboarding tutorial #5

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

vladaionescu
Copy link
Member

No description provided.

@vladaionescu vladaionescu requested review from idodod and mirho July 12, 2023 22:56
RUN cat /globe.txt
RUN echo "Hello, $name!" > /hello.txt
CMD ["cat", "/hello.txt"]
SAVE ARTIFACT /hello.txt AS LOCAL hello.txt
Copy link

Choose a reason for hiding this comment

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

Probably a longshot but possibly a user might lose a file they did not expect to lose when running this?

Copy link
Member Author

Choose a reason for hiding this comment

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

True... any ideas?

Copy link

@idodod idodod Jul 13, 2023

Choose a reason for hiding this comment

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

I think anything with earthly in it should be fine (but if we want to be extra safe we can use a pre-generated random string (so that cache won't bust) -

e.g hello-from-earthly-technologies.txt, hello-earthly-349875894357.txt

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll merge as is for now, and I might fix this later.

Earthfile Show resolved Hide resolved
@vladaionescu vladaionescu merged commit d6af319 into main Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants