Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pulsar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NDIP
Pulsar
Commits
e3884435
Commit
e3884435
authored
8 years ago
by
John Chilton
Browse files
Options
Downloads
Patches
Plain Diff
WIP on test for artifacts on pypi for Pulsar.
parent
54f5cc34
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
install_test/galaxy_job_conf.xml
+21
-0
21 additions, 0 deletions
install_test/galaxy_job_conf.xml
install_test/test_install.bash
+40
-0
40 additions, 0 deletions
install_test/test_install.bash
with
61 additions
and
0 deletions
install_test/galaxy_job_conf.xml
0 → 100644
+
21
−
0
View file @
e3884435
<job_conf>
<plugins
workers=
"4"
>
<plugin
id=
"local"
type=
"runner"
load=
"galaxy.jobs.runners.local:LocalJobRunner"
/>
<plugin
id=
"pulsar_rest"
type=
"runner"
load=
"galaxy.jobs.runners.pulsar:PulsarRESTJobRunner"
>
</plugin>
</plugins>
<handlers>
<handler
id=
"main"
/>
</handlers>
<destinations
default=
"pulsar_rest"
>
<destination
id=
"local"
runner=
"local"
/>
<destination
id=
"pulsar_rest"
runner=
"pulsar_rest"
>
<param
id=
"url"
>
http://localhost:8913/
</param>
</destination>
</destinations>
<tools>
<tool
id=
"upload1"
destination=
"local"
/>
</tools>
</job_conf>
This diff is collapsed.
Click to expand it.
install_test/test_install.bash
0 → 100755
+
40
−
0
View file @
e3884435
#!/bin/bash
set
-e
echo
"Start Pulsar Checks"
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
$0
"
)
"
;
pwd
)
"
PROJECT_DIR
=
"
$SCRIPT_DIR
/.."
TEMP_DIR
=
`
mktemp
-d
`
cd
"
$TEMP_DIR
"
mkdir
pulsar
cd
pulsar
virtualenv venv
.
venv/bin/activate
# .venv\Scripts\activate if Windows
pip
install
pulsar-app
pulsar-config
pulsar
--daemon
# just pulsar if Windows
sleep
2
pulsar-check
# runs a test job
pulsar
--stop-daemon
echo
"End Pulsar Checks"
echo
"Testing Galaxy Interactions"
pulsar
--daemon
# just pulsar if Windows
sleep
2
cd
..
virtualenv planemo-venv
.
planemo-venv/bin/activate
pip
install
planemo
planemo project_init
--template
=
demo test_tools
planemo
--verbose
test
--job_config_file
"
$SCRIPT_DIR
/galaxy_job_conf.xml"
test_tools
pulsar
--stop-daemon
echo
"Ending tests.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment