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

S3 in CI #201

Merged
merged 4 commits into from
Jul 31, 2024
Merged

S3 in CI #201

merged 4 commits into from
Jul 31, 2024

Conversation

aliddell
Copy link
Member

This PR does 2 things:

  • Runs tests on the pull_request target rather than pull_request_target target and removes the automerge job.
  • Adds a workflow which spins up an S3 server in CI. It doesn't do much yet, but we would like to see it running and not failing.

@aliddell aliddell requested a review from shlomnissan July 30, 2024 16:35
Copy link
Collaborator

@shlomnissan shlomnissan left a comment

Choose a reason for hiding this comment

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

LGTM 👍

run: |
tmux new -d -s minio
tmux send-keys -t minio "MINIO_ROOT_USER=$MINIO_ROOT_USER MINIO_ROOT_PASSWORD=$MINIO_ROOT_PASSWORD minio server /tmp/minio --console-address :9001" Enter
sleep 5
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is it necessary to put the terminal to sleep? Also, how did we decide on 5 seconds?

Copy link
Member Author

@aliddell aliddell Jul 31, 2024

Choose a reason for hiding this comment

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

We can take this part out for now, but we'll need to give the server some time to spin up before we start exercising it.

Edit: my bad, we are exercising the server already. 5 seconds is plenty of time to make sure the server is up before we start working it. We could maybe get away with fewer but if we go much lower we might see variance. We know 5 is good.

@aliddell aliddell merged commit f85e978 into acquire-project:main Jul 31, 2024
46 checks passed
@aliddell aliddell deleted the s3-in-ci branch July 31, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

2 participants