Skip to content

Commit

Permalink
chore(workflow): drop 7.4 and add 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GetulioMeirelles authored and williancs committed Jul 25, 2023
1 parent 3cc7486 commit 88ed2fb
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,39 @@ jobs:
strategy:
matrix:
php:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
env:
KAFKA_BROKER_CONNECTIONS: 'localhost:9092'
services:
zookeeper:
image: bitnami/zookeeper
ports:
- 2181:2181
env:
ALLOW_ANONYMOUS_LOGIN: yes
options: >-
--health-cmd "echo mntr | nc -w 2 -q 2 localhost 2181"
--health-interval 10s
--health-timeout 5s
--health-retries 5
kafka:
image: bitnami/kafka
ports:
- '9092:9092'
options: >-
--health-cmd "kafka-broker-api-versions.sh --version"
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
KAFKA_LISTENERS: 'PLAINTEXT://:9092'
KAFKA_CFG_ADVERTISED_LISTENERS: 'PLAINTEXT://localhost:9092'
KAFKA_CFG_ZOOKEEPER_CONNECT: 'zookeeper:2181'
KAFKA_CFG_KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
ALLOW_PLAINTEXT_LISTENER: yes
KAFKA_CFG_LISTENERS: "CLIENT://:9092,INTERNAL://:9093"
KAFKA_CFG_ADVERTISED_LISTENERS: "CLIENT://localhost:9092,INTERNAL://kafka:9093"
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: "CLIENT:PLAINTEXT,INTERNAL:PLAINTEXT"
KAFKA_CFG_INTER_BROKER_LISTENER_NAME: INTERNAL
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 88ed2fb

Please sign in to comment.