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

Testdeck Migration: Shared Test Resources Volume #8915

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions functional-test/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ Extend the `BaseContainer` class to share the same Rundeck container instance wi

All tests must be annotated so the spock configuration used for the test task knows which tests to run

# Adding tests resources

If a test needs a filesystem-based resource, for example, a script to be executed via "run url command" and you want to upload it to rundeck's container filesystem,
please drop it in ```rundeck/functional-test/src/test/resources/test-files```, this is a shared volume between oss and pro test suites and all the files in there will be mounted inside this container path:
``/home/rundeck/test-files``


# Current Rundeck Test tasks

* `apiTest`: It runs all tests annotated with @APITest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ services:
- "/etc/timezone:/etc/timezone:ro"
- "../../../tokens.properties:/home/rundeck/server/config/tokens.properties"
- "../../../realm.properties:/home/rundeck/server/config/realm.properties"
- "../../../resource-model:/home/rundeck/server/config/resource-model"
- "../../../test-files/job-run-steps-test-script1.txt:/home/rundeck/job-run-steps-test-script1.txt"
- "../../../test-files/:/home/rundeck/test-files"
Binary file modified functional-test/src/test/resources/projects-import/TestJobs.zip
Binary file not shown.
Binary file not shown.