Open thaddeus opened 2 months ago
If you are new, please check out the trimmed down summary of our deployment process below:
š Branch deploy your pull request to production
Comment
.deploy
on this pull request to trigger a deploy. If anything goes wrong, rollback with.deploy main
.deploy
REVIEW_REQUIRED
FAILURE
This is usually caused by missing PR approvals or CI checks failing
.unlock production
š There is currently no production
deployment lock set
.deploy
Razzmatazzz, started a branch deployment to production
You can watch the progress here š
Branch:
add-sentry
Warning: deployment status is unknown, please use caution
.deploy
Razzmatazzz, started a branch deployment to production
You can watch the progress here š
Branch:
add-sentry
Razzmatazzz successfully deployed branch add-sentry
to production
.unlock
The production
deployment lock has been successfully removed
.deploy main
GrantBirki, started a branch deployment to production
You can watch the progress here š
Branch:
main
Seeing some errors on containers now that this is deployed:
wait-for-it.sh: waiting 15 seconds for database:3306
wait-for-it.sh: database:3306 is available after 0 seconds
[ { 'count(*)': 15 } ]
Database is ready
> tarkov-data-manager@2.0.0 start
> node --max-old-space-size=3000 index.mjs
(node:42) Warning: Accessing non-existent property 'format' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:42) Warning: Accessing non-existent property 'format' of module exports inside circular dependency
TypeError: format is not a function
at getDbStatement (/app/node_modules/@opentelemetry/instrumentation-mysql2/build/src/utils.js:72:15)
at PoolConnection.query (/app/node_modules/@opentelemetry/instrumentation-mysql2/build/src/instrumentation.js:65:250)
at /app/node_modules/mysql2/lib/pool.js:154:14
at /app/node_modules/mysql2/lib/pool.js:49:37
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
Error refreshing users TypeError: format is not a function
at getDbStatement (/app/node_modules/@opentelemetry/instrumentation-mysql2/build/src/utils.js:72:15)
at PoolConnection.query (/app/node_modules/@opentelemetry/instrumentation-mysql2/build/src/instrumentation.js:65:250)
at /app/node_modules/mysql2/lib/pool.js:154:14
at /app/node_modules/mysql2/lib/pool.js:68:16
at PoolConnection.<anonymous> (/app/node_modules/mysql2/lib/connection.js:818:13)
at Object.onceWrapper (node:events:634:26)
at PoolConnection.emit (node:events:519:28)
at ClientHandshake.<anonymous> (/app/node_modules/mysql2/lib/connection.js:137:14)
at ClientHandshake.emit (node:events:519:28)
at ClientHandshake.execute (/app/node_modules/mysql2/lib/commands/command.js:49:10) {
fatal: true
}
tdm@tdm-vm:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d77e8c2195f2 tarkov-data-manager_caddy "sh /app/start.sh" 13 minutes ago Up 7 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:8443->8443/tcp, :::8443->8443/tcp, 443/udp, 2019/tcp caddy-service
81441efa592a tarkov-data-manager_backup "docker-entrypoint.sā¦" 13 minutes ago Up 7 minutes tarkov-data-manager_backup_1
77d9007d90c8 tarkov-data-manager_tarkov_data_manager "docker-entrypoint.sā¦" 13 minutes ago Restarting (1) 19 seconds ago tarkov_data_manager
3859740cdf38 tarkov-data-manager_database "docker-entrypoint.sā¦" 13 minutes ago Up 7 minutes 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp tarkov-data-manager_database_1
GrantBirki successfully deployed branch main
to production
.unlock
The production
deployment lock has been successfully removed
.deploy
Razzmatazzz, started a branch deployment to production
You can watch the progress here š
Branch:
add-sentry
Razzmatazzz successfully deployed branch add-sentry
to production
.deploy main
Razzmatazzz, started a branch deployment to production
You can watch the progress here š
Branch:
main
Razzmatazzz successfully deployed branch main
to production
When I deployed this, it appeared to deploy properly, but the data manager never came back online.
Adds Sentry for the Express server, Cron jobs, and the Manager interface
Merged in the other currently deployed PR
The index file got auto formatted when I saved it - so most of the changes are just formatting. We should add a prettierrc or prettier.config in this and other projects, along with VSCode suggested extensions IMO.