WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit de563f8

Browse files
authored
Merge pull request #2364 from alan-turing-institute/release-v5.3.0
Release v5.3.0
2 parents bf91ec0 + 222deee commit de563f8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1144
-354
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"admin_username": "admin",
3+
"admin_password_encrypted": "password",
4+
"allow_workspace_internet": true,
5+
"filter_allow": [
6+
"clamav.net",
7+
"current.cvd.clamav.net"
8+
]
9+
}

.github/scripts/expand_mustache.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/env bash
2+
echo '{"array": ["dummy"], "variable": "dummy"}' > .mustache_config.json
3+
4+
while read -r yamlfile; do
5+
6+
filename=$(basename -- "$yamlfile")
7+
filename="${filename%.*}"
8+
test_config=".github/resources/$filename.config.json"
9+
10+
if [ -e "$test_config" ]; then
11+
cp "$yamlfile" expanded.tmp
12+
mustache "$test_config" expanded.tmp > "$yamlfile"
13+
else
14+
# replace mustache arrays
15+
sed "s|{{\([/#]\)[^}]*}}|{{\1array}}|g" "$yamlfile" > expanded.tmp
16+
# replace mustache variables
17+
sed -i "s|{{[^#/].\{1,\}}}|{{variable}}|g" expanded.tmp
18+
# perform mustache expansion overwriting original file
19+
mustache .mustache_config.json expanded.tmp > "$yamlfile"
20+
fi
21+
22+
done < <(find . -name "*.yml" -o -name "*.yaml")
23+
24+
rm expanded.tmp

.github/workflows/build_documentation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: hatch run docs:build
4747

4848
- name: Link Checker
49-
uses: lycheeverse/lychee-action@v2.1.0
49+
uses: lycheeverse/lychee-action@v2.2.0
5050
with:
5151
args: --config='./.lychee.toml' --no-progress './docs/build/html/**/*.html'
5252
fail: true # fail on broken links

.github/workflows/dependabot_amend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
hatch -e test run true
4141
4242
- name: Commit changes
43-
uses: stefanzweifel/git-auto-commit-action@v5.0.1
43+
uses: stefanzweifel/git-auto-commit-action@v5.1.0
4444
with:
4545
commit_message: "[dependabot skip] :wrench: Update Python requirements files"
4646
branch: ${{ github.head_ref }}

.github/workflows/lint_code.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,7 @@ jobs:
9898
run: |
9999
npm install -g mustache
100100
- name: Expand mustache templates
101-
shell: bash
102-
run: |
103-
echo '{"array": ["dummy"], "variable": "dummy"}' > .mustache_config.json
104-
for yamlfile in $(find . -name "*.yml" -o -name "*.yaml"); do
105-
sed "s|{{\([/#]\)[^}]*}}|{{\1array}}|g" $yamlfile > expanded.tmp # replace mustache arrays
106-
sed -i "s|{{[^#/].\{1,\}}}|{{variable}}|g" expanded.tmp # replace mustache variables
107-
mustache .mustache_config.json expanded.tmp > $yamlfile # perform mustache expansion overwriting original file
108-
done
109-
rm expanded.tmp
101+
run: .github/scripts/expand_mustache.sh
110102
- name: Lint YAML
111103
uses: karancode/[email protected]
112104
with:

.github/workflows/test_code.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
shell: bash
5656
run: npm install -g markdown-link-check
5757
- name: Link Checker
58-
uses: lycheeverse/lychee-action@v2.1.0
58+
uses: lycheeverse/lychee-action@v2.2.0
5959
with:
6060
args: --config='./.lychee.toml' --no-progress --offline '**/*.md' --exclude-path './docs'
6161
fail: true # fail on broken links

.github/workflows/update_docker_versions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Create pull request
4141
if: ${{ ! env.ACT }}
4242
id: pull-request
43-
uses: peter-evans/[email protected].5
43+
uses: peter-evans/[email protected].6
4444
with:
4545
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
4646
base: develop

0 commit comments

Comments
 (0)