Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update the generated Compose files #206

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/InstanceLogs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Feature: Instance logs
Scenario: Show logs of specified kuzzle instance
When I run the command "instance:logs" with flags:
| --instance | "kuzzle" |
Then I should match stdout with "Kuzzle 2.[0-9]+.[0-9]+ is ready"
Then I should match stdout with "Kuzzle 2.[0-9]+.[0-9]+(-\w+.[0-9]+)? is ready"
2 changes: 0 additions & 2 deletions features/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.4"

services:
kuzzle:
image: kuzzleio/kuzzle:2
Expand Down
2 changes: 0 additions & 2 deletions src/commands/app/start-services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import { execute } from "../../support/execute";
import { checkPrerequisites } from "../../support/docker/checkPrerequisites";

const kuzzleServicesFile = `
version: '3'

services:
redis:
image: redis:5
Expand Down
4 changes: 0 additions & 4 deletions src/commands/instance/spawn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,17 @@
import chalk from "chalk";
import { ChildProcess, spawn } from "child_process";
import cli from "cli-ux";
import Listr from "listr";

Check warning on line 9 in src/commands/instance/spawn.ts

View workflow job for this annotation

GitHub Actions / Lint

'Listr' is defined but never used
import emoji from "node-emoji";

import { Kommand } from "../../common";
import { execute } from "../../support/execute";
import { checkPrerequisites } from "../../support/docker/checkPrerequisites";

const MIN_MAX_MAP_COUNT = 262144;

Check warning on line 16 in src/commands/instance/spawn.ts

View workflow job for this annotation

GitHub Actions / Lint

'MIN_MAX_MAP_COUNT' is assigned a value but never used
const MIN_DOCO_VERSION = "2.0.0";

Check warning on line 17 in src/commands/instance/spawn.ts

View workflow job for this annotation

GitHub Actions / Lint

'MIN_DOCO_VERSION' is assigned a value but never used

const kuzzleStackV1 = (increment: number): string => `
version: '3'

services:
kuzzle:
image: kuzzleio/kuzzle:1
Expand Down Expand Up @@ -53,8 +51,6 @@
`;

const kuzzleStackV2 = (increment: number): string => `
version: '3'

services:
kuzzle:
image: kuzzleio/kuzzle:2
Expand Down
Loading