Skip to content

S3 in CI#201

Merged
aliddell merged 4 commits intoacquire-project:mainfrom
aliddell:s3-in-ci
Jul 31, 2024
Merged

S3 in CI#201
aliddell merged 4 commits intoacquire-project:mainfrom
aliddell:s3-in-ci

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
@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