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

add put file functionality #50

Merged
merged 4 commits into from
Nov 30, 2023
Merged

add put file functionality #50

merged 4 commits into from
Nov 30, 2023

Conversation

jarlah
Copy link
Member

@jarlah jarlah commented Nov 29, 2023

  • fix test
  • improve test

@jarlah jarlah mentioned this pull request Nov 29, 2023
@jarlah
Copy link
Member Author

jarlah commented Nov 30, 2023

🥳
Screenshot 2023-11-30 at 08 26 47

 _____         _                  _        _                      ______          _    _
|_   _|       | |                | |      (_)                     |  _  \        | |  | |
  | | ___  ___| |_ ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ ___  | | | |___  ___| | _| |_ ___  _ __
  | |/ _ \/ __| __/ __/ _ \| '_ \| __/ _\` | | '_ \/ _ \ '__/ __| | | | / _ \/ __| |/ / __/ _ \| '_ \
  | |  __/\__ \ || (_| (_) | | | | || (_| | | | | |  __/ |  \__ \ | |/ /  __/\__ \   <| || (_) | |_) |
  |_/\___||___/\__\___\___/|_| |_|\__\__,_|_|_| |_|\___|_|  |___/ |___/ \___||___/_|\_\\__\___/| .__/
                                                                                               | |
                                                                                               |_|
Welcome to the TCD Terminal.
This terminal is attached to a docker container that is running on your current worker tcd/23.0.6 (via Testcontainers Desktop 1.5.3).

Available tooling depends on the container image (nginx:alpine).
/ # cd tmp/
/tmp # ls
foo.txt
/tmp # cat foo.txt 
Hello foo bar/tmp # 

@jarlah jarlah marked this pull request as ready for review November 30, 2023 07:32
@jarlah
Copy link
Member Author

jarlah commented Nov 30, 2023

@Argonus look at this PR, I think this can be used together with with_cmd, a cmd that waits for a file to be present and sleeps until it is, and then executes the file. Much in same way java implementation of kafka has a cmd that waits for /testcontainers-start.sh to exist and then runs it.

@Argonus
Copy link
Contributor

Argonus commented Nov 30, 2023

Let's merge this :)

@jarlah jarlah merged commit 3731750 into main Nov 30, 2023
2 checks passed
@jarlah jarlah deleted the add_put_file_functionality branch November 30, 2023 08:16
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