Update Mississippi prompt on welcome page #231
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Playbook | |
on: | |
push: | |
branches-ignore: | |
- readthedocs | |
- master | |
env: | |
GALAXY_USER: [email protected] | |
GALAXY_USER_PASSWD: artbio2025 | |
BIOBLEND_GALAXY_API_KEY: "myverysecretapikey" | |
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.2.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 30 secs and check galaxyctl status | |
run: | | |
sudo sed -E -i 's/www-data/galaxy/' /etc/nginx/nginx.conf | |
sudo systemctl restart nginx.service | |
sudo galaxyctl graceful | |
echo "waiting 30 sec" && sleep 30 | |
sudo cat /etc/nginx/nginx.conf | |
sudo cat /home/galaxy/galaxy/config/galaxy.yml | |
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: 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" |