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 Redis testing scripts #36

Open
wants to merge 3 commits into
base: test
Choose a base branch
from

Conversation

sculamacaz
Copy link

redis: Add test scripts

Add scripts/test directory:

  • single.sh: test an already running instance
  • wrapper.sh: wrapper over single.sh that also starts an instance
  • common.sh: common functionality for test scripts
  • all.sh: script to test all available configurations
  • README.md: instructions

Update the top-level test.overall.sh to include redis.

Based on #34 and #35
Addresses #6

Add `redis/` directory:

- `rootfs/redis.conf`: Redis server configuration file
- `Config.uk`: application configuration
- `Makefile`: for building the application
- `fc.{arm64,x86_64}.json`: Firecracker configuration
- `xen.{arm64,x86_64}.cfg`: Xen configuration
- `README.md`: instructions
- `setup.sh`: set up symlinks

Update the top-level `setup.sh` to clone `lib-redis`.

Signed-off-by: Luca Mazilescu <[email protected]>
Add `scripts/` directory:

- `defconfig/<plat>.<arch>`: default configs, used by build scripts
- `build/<plat>.<arch>`: scripts for building Unikraft images
- `run/<plat>.<arch>`: scripts for running Unikraft images
- `README.md`: accompanying document with instructions

Signed-off-by: Luca Mazilescu <[email protected]>
Add `scripts/test` directory:

- `single.sh`: test an already running instance
- `wrapper.sh`: wrapper over `single.sh` that also starts an instance
- `common.sh`: common functionality for test scripts
- `all.sh`: script to test all available configurations
- `README.md`: instructions

Update the top-level `test.overall.sh` to include `redis`.

Signed-off-by: Luca Mazilescu <[email protected]>
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.

1 participant