diff --git a/images/ci-build/reindex b/images/ci-build/reindex index 283f92fa..1a66c985 100755 --- a/images/ci-build/reindex +++ b/images/ci-build/reindex @@ -6,7 +6,7 @@ reindex_files() { cd ~/uploading/www/ig echo "reindexing" AUTOCLEAN_AFTER_DAYS=${AUTOCLEAN_AFTER_DAYS:-"+90"} - AUTOCLEAN_EXEMPTION_REGEX=${AUTOCLEAN_EXEMPTION_REGEX:-"./\(HL7\|FHIR\|IHE\)/[^/]*/branches/\(main\|master\)"} + AUTOCLEAN_EXEMPTION_REGEX=${AUTOCLEAN_EXEMPTION_REGEX:-"./\(HL7\|FHIR\|IHE\|argonautproject\)/[^/]*/branches/\(main\|master\)"} find . -maxdepth 4 -mindepth 4 -type d -ctime "$AUTOCLEAN_AFTER_DAYS" -not -regex "$AUTOCLEAN_EXEMPTION_REGEX" -exec rm -rf {} \; find . -mindepth 5 -maxdepth 6 -name build.log | sed 's|^./||' | jq --raw-input . | jq -s . > builds.json.new mv builds.json.new builds.json diff --git a/k8s/ci-build.deployment.yaml b/k8s/ci-build.deployment.yaml index 436da390..cb376975 100644 --- a/k8s/ci-build.deployment.yaml +++ b/k8s/ci-build.deployment.yaml @@ -19,7 +19,7 @@ spec: - name: BUILD_NUMBER value: "1" - name: AUTOCLEAN_EXEMPTION_REGEX - value: ./\(HL7\|FHIR\|IHE\)/[^/]*/branches/\(main\|master\) + value: ./\(HL7\|FHIR\|IHE\|argonautproject\)/[^/]*/branches/\(main\|master\) - name: SSH_AUTHORIZED_KEY valueFrom: configMapKeyRef: