description: SMTP server SMTP port
default: 2525
+ memcached_test_server:
+ description: Memcached server host
+ default: 127.0.0.1
+
use_docker:
desription: True if running in a Docker container
default: false
389-ds \
dovecot-imapd \
exim4 \
+ memcached \
openresty \
redis-server \
slapd
sudo sh -c "echo host all all 127.0.0.1/32 trust > /etc/postgresql/$PG_VER/main/pg_hba.conf"
sudo sh -c "echo local all all trust >> /etc/postgresql/$PG_VER/main/pg_hba.conf"
- sudo systemctl start mysql postgresql redis-server
+ sudo systemctl start mysql postgresql redis-server memcached
mysql -h 127.0.0.1 -uroot -proot -e "ALTER USER 'root'@'localhost' IDENTIFIED BY '';";
run: |
mysql -h ${{ inputs.sql_mysql_test_server }} -u root -e "CREATE USER 'radius'@'%' IDENTIFIED WITH mysql_native_password; ALTER USER 'radius'@'%' IDENTIFIED BY 'radpass';"
mysql -h ${{ inputs.sql_mysql_test_server }} -u root -e "GRANT ALL ON radius.* TO 'radius'; FLUSH PRIVILEGES;"
+ memcached -u memcache -d
- name: Setup databases
shell: bash
IMAP_TEST_SERVER: ${{ inputs.imap_test_server }}
IMAP_TEST_SERVER_PORT: ${{ inputs.imap_test_server_port }}
IMAP_TEST_SERVER_SSL_PORT: ${{ inputs.imap_test_server_ssl_port }}
+ CACHE_MEMCACHED_TEST_SERVER: ${{ inputs.memcached_test_server }}
# Restore ucf
- name: Restore ucf