-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DTSPO-18443: Add JSON status updates files (#694)
* DTSPO-18443: Initial json function add
- Loading branch information
Showing
9 changed files
with
115 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,14 @@ jobs: | |
|
||
- name: Output log file | ||
run: ./scripts/common/log-output.sh | ||
|
||
- name: Commit status update json files | ||
continue-on-error: true | ||
run: | | ||
git config user.name hmcts-platform-operations | ||
git config user.email [email protected] | ||
git pull | ||
git checkout -b testing-json-file-updates | ||
git add ./status | ||
git commit -m "Update json files start status updates" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,14 @@ jobs: | |
|
||
- name: Output log file | ||
run: ./scripts/common/log-output.sh | ||
|
||
- name: Commit status update json files | ||
continue-on-error: true | ||
run: | | ||
git config user.name hmcts-platform-operations | ||
git config user.email [email protected] | ||
git pull | ||
git checkout -b testing-json-file-updates-stop | ||
git add ./status | ||
git commit -m "Update json files stop status updates" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: json-file-cleardown | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 19 * * *' # Every day at 20:00 BST | ||
permissions: | ||
id-token: write | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Remove json status files | ||
run: | | ||
rm -f status/* | ||
- name: Commit empty json status folder | ||
continue-on-error: true | ||
run: | | ||
git config user.name hmcts-platform-operations | ||
git config user.email [email protected] | ||
git add . | ||
git commit -m "JSON Status files housekeeping" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters