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

Update collabora.robot test configuration #22

Merged
merged 5 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/clean-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
steps:
- uses: NethServer/ns8-github-actions/.github/actions/delete-image@v1
with:
images: "kickstart"
images: "collabora"
delete_image_token: ${{ secrets.IMAGES_CLEANUP_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: NethServer/ns8-github-actions/.github/workflows/module-info.yml@main
run_tests:
needs: module
uses: NethServer/ns8-github-actions/.github/workflows/test-on-ubuntu-runner.yml@main
uses: NethServer/ns8-github-actions/.github/workflows/test-on-digitalocean-infra.yml@main
with:
args: "ghcr.io/${{needs.module.outputs.owner}}/${{needs.module.outputs.name}}:${{needs.module.outputs.tag}}"
repo_ref: ${{needs.module.outputs.sha}}
Expand Down
11 changes: 5 additions & 6 deletions tests/collabora.robot
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ Check if collabora is installed correctly
Set Suite Variable ${module_id} ${output.module_id}

Check if collabora can be configured
${rc} = Execute Command api-cli run module/${module_id}/configure-module --data '{}'
... return_rc=True return_stdout=False
Should Be Equal As Integers ${rc} 0

Check if collabora works as expected
${rc} = Execute Command curl -f http://127.0.0.1/collabora/
${rc} = Execute Command api-cli run module/${module_id}/configure-module --data '{
"host": "collabora.nethserver.org",
"http2https": true,
"lets_encrypt": true,
"admin_password": "password"}'
... return_rc=True return_stdout=False
Should Be Equal As Integers ${rc} 0

Expand Down
25 changes: 0 additions & 25 deletions tests/kickstart.robot

This file was deleted.

Loading