OP#176 edit start.sh
This commit is contained in:
@@ -10,4 +10,6 @@ This image is entirely based on the [PostgreSQL Prometheus Adapter](https://gith
|
|||||||
|
|
||||||
The PostgreSQL Prometheus Adapter design is based on partitioning and threads. Incoming data is processed by one or more threads and one or more writer threads will store data in PostgreSQL daily or hourly partitions. Partitions will be auto-created by the adapter based on the timestamp of incoming data.
|
The PostgreSQL Prometheus Adapter design is based on partitioning and threads. Incoming data is processed by one or more threads and one or more writer threads will store data in PostgreSQL daily or hourly partitions. Partitions will be auto-created by the adapter based on the timestamp of incoming data.
|
||||||
|
|
||||||
|
However we did a few changes to adjust the following:
|
||||||
|
|
||||||
|
* the entire build flow is now based on the docker file, no external make step. This allows using a Jenkins CI/CD pipeline for both build and placing the image in a package registry, so the image can be used in Kubernetes via CI/CD. All manual steps are removed.
|
||||||
|
|||||||
2
start.sh
2
start.sh
@@ -1,7 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [[ "${DATABASE_URL}" == "" ]]; then
|
if [[ "${DATABASE_URL}" == "" ]]; then
|
||||||
echo 'Missing DATABASE_URL'
|
echo 'Missing DATABASE_URL'
|
||||||
echo 'example -e DATABASE_URL="user=<db user> password=<db user password> host=<db host> port=<db port> database=<db name>"'
|
echo 'example -e DATABASE_URL="user=<db user> password=<db user password> host=<db host> port=<db port> database=<db name>"'
|
||||||
|
|||||||
Reference in New Issue
Block a user