Skip to content

Commit

Permalink
Update test mongodb to 7.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Archinowsk committed Oct 30, 2024
1 parent b4a88d4 commit dd13f90
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
- mongo

mongo:
image: mongo:7.0.14-jammy
image: mongo:7.0.15-jammy
container_name: konsti-mongodb
restart: always
ports:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/default.vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ingress_letsencrypt_enabled: false
ingress_letsencrypt_cluster_issuer: letsencrypt-prod

mongodb_managed: true
mongodb_image: mongo:7.0.14-jammy
mongodb_image: mongo:7.0.15-jammy
mongodb_connection_string: mongodb://mongodb:27017/konsti

smtp_hostname: ""
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"docker:build-dev": "docker build --build-arg env=dev . -t konsti-dev",
"docker:start-dev-with-local-db": "yarn docker:build-dev && docker run -p 5000:5000 -d --env-file ./docker/docker-dev.env konsti-dev",
"docker:db": "yarn docker:db-run 2>/dev/null || yarn docker:db-start",
"docker:db-run": "docker run -p 27017:27017 -d --name konsti-mongodb mongo:7.0.14-jammy",
"docker:db-run": "docker run -p 27017:27017 -d --name konsti-mongodb mongo:7.0.15-jammy",
"docker:db-start": "docker start konsti-mongodb",
"eslint-inspect-config": "eslint --inspect-config",
"eslint-timings": "TIMING=1 yarn eslint",
Expand Down
4 changes: 2 additions & 2 deletions server/src/utils/initializeDatabase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { addSignupQuestions } from "server/features/program-item/utils/addSignup
import { findSettings } from "server/features/settings/settingsRepository";
import { getProgramItemsForEvent } from "server/features/program-item/programItemService";

const ADMIN_PASSWORD = "";
const HELP_PASSWORD = "";
const ADMIN_PASSWORD = "salakala on salava kala";
const HELP_PASSWORD = "mitä tapahtuu conin jälkeen";
const CREATE_TEST_USERS = false;

const initializeDatabase = async (): Promise<void> => {
Expand Down

0 comments on commit dd13f90

Please sign in to comment.