Browse Source

add gitpod and update localhost test

local_integrationtest
Markus Bergholz 9 months ago
parent
commit
fc8ad7c4be
No known key found for this signature in database
GPG Key ID: B45724801354B174
  1. 7
      .gitpod.yml
  2. 6
      tests/integration/targets/localhost.yml

7
.gitpod.yml

@ -0,0 +1,7 @@
tasks:
- init: sudo pip3 install ansible docker
# Ports to expose on workspace startup
ports:
- port: 6080
onOpen: open-preview
checkoutLocation: "/workspace/ansible_collections/community/proxysql

6
tests/integration/targets/localhost.yml

@ -12,7 +12,7 @@
start proxysql container for integration tests
community.docker.docker_container:
name: proxysql
image: "proxysql/proxysql:{{ PROXYSQL_VERSION | default('2.1.1') }}"
image: "proxysql/proxysql:{{ PROXYSQL_VERSION | default('2.3.0') }}"
state: started
auto_remove: yes
recreate: yes
@ -43,7 +43,7 @@
name:
- python3-pymysql
- python3-apt
- mysql-client
- mariadb-client
state: present
update_cache: yes
@ -54,7 +54,7 @@
apt:
name:
- python3-apt
- mysql-client
- mariadb-client
- python3-dev
- default-libmysqlclient-dev
- build-essential

Loading…
Cancel
Save