Skip to content

Commit

Permalink
Don't auto-clean argonaut IG main branches
Browse files Browse the repository at this point in the history
  • Loading branch information
jmandel committed Oct 2, 2023
1 parent f2c3897 commit 8ccf73a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/ci-build/reindex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion k8s/ci-build.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8ccf73a

Please sign in to comment.