Skip to content

Commit b4b25cd

Browse files
authoredNov 11, 2021
feat: update default clean keep selectors to include currently deployed and released versions
1 parent d4d5b36 commit b4b25cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ RUN ln -s /pact_broker/script/db-version.sh /usr/local/bin/db-version
4949
ENV RACK_ENV=production
5050
ENV PACT_BROKER_DATABASE_CLEAN_ENABLED=false
5151
ENV PACT_BROKER_DATABASE_CLEAN_CRON_SCHEDULE="15 2 * * *"
52-
ENV PACT_BROKER_DATABASE_CLEAN_KEEP_VERSION_SELECTORS='[{ "latest": true, "tag": true }, { "max_age": 90 }]'
52+
ENV PACT_BROKER_DATABASE_CLEAN_KEEP_VERSION_SELECTORS='[{ "latest": true, "tag": true }, { "max_age": 90 }, { "deployed": true }, { "released" : true }]'
5353
ENV PACT_BROKER_DATABASE_CLEAN_DELETION_LIMIT=500
5454
ENV PACT_BROKER_DATABASE_CLEAN_OVERWRITTEN_DATA_MAX_AGE=7
5555
ENV PACT_BROKER_DATABASE_CLEAN_DRY_RUN=false

0 commit comments

Comments
 (0)