Skip to content

Just commute galaxy_commit_id to "release_24.1" #268

Just commute galaxy_commit_id to "release_24.1"

Just commute galaxy_commit_id to "release_24.1" #268

Workflow file for this run

name: Test Playbook
on:
push:
branches-ignore:
- readthedocs
- master
env:
GALAXY_USER: [email protected]
GALAXY_USER_PASSWD: artbio2024
BIOBLEND_GALAXY_URL: "http://127.0.0.1:80"
BIOBLEND_TEST_JOB_TIMEOUT: "240"
jobs:
Ubuntu_20-04:
name: GalaxyXpand in ubuntu 20.04
runs-on: ubuntu-20.04
steps:
- name: Remove PostgreSQL on VM
run: |
export RUNNER_ALLOW_RUNASROOT="1"
sudo apt-get --purge remove postgresql
dpkg -l | grep postgres
sudo apt-get --purge remove pgdg-keyring postgresql*
sudo rm -rf /var/lib/postgresql/ # directory data postgresql
sudo rm -rf /var/log/postgresql/ # directory log postgresql
sudo rm -rf /etc/postgresql/ # directory base postgresql
sudo deluser postgres
sudo apt-get -qq update -y
- name: Remove ansible and Set up pip, ansible and bioblend in ubuntu 20.04
run: |
sudo apt -qq remove ansible
sudo apt install python3-pip -y
python3 -m pip install -U pip setuptools
- name: Install ansible 3.0 and bioblend in ubuntu 20.04
run: |
python3 -m pip install ansible==3.0
python3 -m pip install --ignore-installed https://github.com/galaxyproject/bioblend/archive/refs/tags/v1.3.0.zip pytest
- name: Display pip python and ansible settings
run: |
which python
python --version
which python3
python3 --version
ansible --version
pip show pytest
pip show bioblend
pip3 --version || true
which pytest
which bioblend-galaxy-tests
whoami
- uses: actions/[email protected]
- name: Install ansible roles
run: ansible-galaxy install -r requirements.yml -p roles/
- name: ansible installs galaxy
run: |
sudo apt-get -qq update -y
sudo apt-get -qq --purge remove nginx*
ansible-playbook --extra-vars RUNNER_ALLOW_RUNASROOT="1" \
-e ansible_user="runner" \
-e allow_world_readable_tmpfiles="true" \
--skip-tags galaxy_build_client \
playbook.yml
- name: Sleep for 60 secs and check galaxyctl status
run: |
sudo systemctl restart nginx.service
sudo galaxyctl status
sudo galaxyctl graceful
echo "waiting 60 sec" && sleep 60
sudo galaxyctl status
- name: check Galaxy API is alive
run: |
curl http://127.0.0.1/api/version
- name: ansible installs galaxy tools
run: ansible-playbook --extra-vars RUNNER_ALLOW_RUNASROOT="1" -e ansible_user="runner" install_tools.yml
- name: retrieve api key and reference it in glob env variable
run: |
BIOBLEND_GALAXY_API_KEY=`cat ./apikey.txt`
echo "BIOBLEND_GALAXY_API_KEY=$BIOBLEND_GALAXY_API_KEY" >> $GITHUB_ENV
- name: Bioblend tests
run: |
cd /home/runner/.local/lib/python3.8/site-packages/bioblend/_tests
bioblend-galaxy-tests --color=yes -v TestGalaxyHistories.py TestGalaxyTools.py --no-summary || true
# -k "not test_other_users_histories"