Skip to content

Commit 35719f9

Browse files
authored
Merge pull request #214 from thebiggive/BG2-2916-daily-storage-clear
Bg2-2916: Run daily storage clearing
2 parents c25260e + 0726a8c commit 35719f9

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.circleci/config.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,26 @@ jobs:
4040
fail_only: false
4141
only_for_branches: main
4242
webhook: ${SLACK_WEBHOOK_SUCCESS}
43-
43+
clear_storage:
44+
resource_class: large
45+
docker:
46+
- image: cimg/node:18.10-browsers
47+
auth:
48+
username: $DOCKER_HUB_USERNAME
49+
password: $DOCKER_HUB_ACCESS_TOKEN
50+
steps:
51+
- run: curl -X POST https://thebiggive--regtest1.sandbox.my.salesforce-sites.com/donations/services/apexrest/v2.0/free-test-storage
4452
workflows:
53+
clear_storage:
54+
jobs:
55+
- clear_storage
56+
triggers:
57+
- schedule:
58+
cron: "0 10,15 * * *" # daily at 10am and 3pm
59+
filters:
60+
branches:
61+
only:
62+
- main
4563
commit:
4664
jobs:
4765
- test:

0 commit comments

Comments
 (0)