Skip to content

Commit

Permalink
upgrade deps and workflows versions
Browse files Browse the repository at this point in the history
  • Loading branch information
chrvadala committed Mar 1, 2024
1 parent 06455b2 commit 75f3940
Show file tree
Hide file tree
Showing 6 changed files with 4,449 additions and 2,511 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ on:

jobs:
build_and_release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: ${{ github.event.inputs.REPOSITORY_NAME == github.repository }}
services:
zookeeper:
image: confluentinc/cp-zookeeper:7.1.2
image: confluentinc/cp-zookeeper:7.6.0
ports:
- 2181:2181
env:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
kafka:
image: confluentinc/cp-kafka:7.1.2
image: confluentinc/cp-kafka:7.6.0
ports:
- 29092:29092
- 9092:9092
Expand All @@ -37,7 +37,7 @@ jobs:
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Create .env file
run: |
cat > .env <<EOF
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
build:
services:
zookeeper:
image: confluentinc/cp-zookeeper:6.2.0
image: confluentinc/cp-zookeeper:7.6.0
ports:
- 2181:2181
env:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
kafka:
image: confluentinc/cp-kafka:6.2.0
image: confluentinc/cp-kafka:7.6.0
ports:
- 29092:29092
- 9092:9092
Expand All @@ -32,12 +32,12 @@ jobs:
strategy:
max-parallel: 1 # for some reason, sometimes parallels execution fail
matrix:
os: [ ubuntu-20.04 ]
node: [ 14, 16 ]
os: [ ubuntu-22.04 ]
node: [ 16, 18, 20 ]
name: Test Nodejs v${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Create .env file
run: |
cat > .env <<EOF
Expand All @@ -47,18 +47,18 @@ jobs:
with:
NODE_VERSION: ${{ matrix.node }}
- name: Publish Coveralls
uses: coverallsapp/github-action@v1.1.2
uses: coverallsapp/github-action@v2.2.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-nodejs-v${{ matrix.node }}-${{ matrix.os }}
parallel: true
finish:
name: Finish
needs: build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v1.1.2
uses: coverallsapp/github-action@v2.2.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
zookeeper:
image: confluentinc/cp-zookeeper:7.1.2
image: confluentinc/cp-zookeeper:7.6.0
hostname: zookeeper
container_name: zookeeper-1
ports:
Expand All @@ -11,7 +11,7 @@ services:
ZOOKEEPER_TICK_TIME: 2000

kafka:
image: confluentinc/cp-kafka:7.1.2
image: confluentinc/cp-kafka:7.6.0
hostname: broker
container_name: kafka-1
depends_on:
Expand All @@ -31,7 +31,7 @@ services:
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
KAFKA_JMX_PORT: 9101
KAFKA_JMX_HOSTNAME: localhost

kafka-ui:
image: provectuslabs/kafka-ui:latest
ports:
Expand Down
Loading

0 comments on commit 75f3940

Please sign in to comment.