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

test(storage): deploy cryostat-storage rather than localstack #764

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

andrewazores
Copy link
Member

Welcome to Cryostat! 👋

Before contributing, make sure you have:

  • Read the contributing guidelines
  • Linked a relevant issue which this PR resolves
  • Linked any other relevant issues, PR's, or documentation, if any
  • Resolved all conflicts, if any
  • Rebased your branch PR on top of the latest upstream main branch
  • Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
  • Signed all commits using a GPG signature

To recreate commits with GPG signature git fetch upstream && git rebase --force --gpg-sign upstream/main


Related to #759

Description of the change:

Sets up the tests (unit and integration) to deploy cryostat-storage rather than localstack as the S3 storage instance.

Motivation for the change:

This allows us to have some level of automated integration testing between Cryostat and our SeaweedFS soft fork to ensure things are working as expected.

How to manually test:

  1. Run CRYOSTAT_IMAGE=quay.io... bash smoketest.bash...
  2. ...

@andrewazores
Copy link
Member Author

/build_test

@andrewazores andrewazores requested a review from a team January 2, 2025 21:40
Copy link

github-actions bot commented Jan 2, 2025

Workflow started at 1/2/2025, 4:40:40 PM. View Actions Run.

Copy link

github-actions bot commented Jan 2, 2025

No GraphQL schema changes detected.

Copy link

github-actions bot commented Jan 2, 2025

No OpenAPI schema changes detected.

Copy link

github-actions bot commented Jan 2, 2025

CI build and push: All tests pass ✅
https://github.com/cryostatio/cryostat/actions/runs/12589159247

@andrewazores andrewazores merged commit b913b87 into cryostatio:main Jan 7, 2025
15 of 16 checks passed
@andrewazores andrewazores deleted the itest-s3-impl branch January 7, 2025 17:13
mergify bot pushed a commit that referenced this pull request Jan 7, 2025
(cherry picked from commit b913b87)

# Conflicts:
#	src/test/java/io/cryostat/resources/S3StorageResource.java
andrewazores added a commit that referenced this pull request Jan 7, 2025
#764) (#769)

* test(storage): deploy cryostat-storage rather than localstack (#764)

(cherry picked from commit b913b87)

# Conflicts:
#	src/test/java/io/cryostat/resources/S3StorageResource.java

* fixup! test(storage): deploy cryostat-storage rather than localstack (#764)

---------

Co-authored-by: Andrew Azores <me@andrewazor.es>
Co-authored-by: Andrew Azores <aazores@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants