Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.0.1 #2251

Merged
merged 405 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
405 commits
Select commit Hold shift + click to select a range
78c320c
Merge pull request #2186 from alan-turing-institute/dependabot/pip/pr…
craddm Sep 9, 2024
774c70c
Merge branch 'develop' into dependabot/pip/production-dependencies-fb…
craddm Sep 9, 2024
3dd6a4f
[dependabot skip] :wrench: Update Python requirements files
craddm Sep 9, 2024
6304a9a
Merge pull request #2183 from alan-turing-institute/dependabot/pip/pr…
craddm Sep 9, 2024
7cc8c64
Correct error for non-existent config
JimMadge Sep 13, 2024
39244d2
Handle failure to validate
JimMadge Sep 13, 2024
3fd27d2
Print invalid configuration file
JimMadge Sep 13, 2024
a4b3bbb
Run lint:fmt
JimMadge Sep 13, 2024
72bb514
:arrow_up: Bump peter-evans/create-pull-request from 7.0.1 to 7.0.2
dependabot[bot] Sep 16, 2024
f61d14d
:arrow_up: Bump the production-dependencies group with 13 updates
dependabot[bot] Sep 16, 2024
71f94d8
[dependabot skip] :wrench: Update Python requirements files
dependabot[bot] Sep 16, 2024
f38c8c4
Merge pull request #2190 from alan-turing-institute/dependabot/github…
JimMadge Sep 16, 2024
d884660
Merge pull request #2191 from alan-turing-institute/dependabot/pip/pr…
JimMadge Sep 16, 2024
703639d
Merge remote-tracking branch 'origin/develop' into show_invalid_config
JimMadge Sep 16, 2024
3ed2c7f
Fix invalid configuration tests
JimMadge Sep 16, 2024
704ace2
Fix linting
JimMadge Sep 16, 2024
0b37f88
Add test for config dumping
JimMadge Sep 16, 2024
de48ba0
Add test for validation error from remote
JimMadge Sep 16, 2024
44fb699
Merge remote-tracking branch 'origin/develop' into mount_points
JimMadge Sep 16, 2024
126bb23
Update mount points in docs
JimMadge Sep 16, 2024
908f608
Merge remote-tracking branch 'origin/develop' into ansible_vars_file
JimMadge Sep 17, 2024
ab5e710
Merge branch 'mount_points' into ansible_vars_file
JimMadge Sep 17, 2024
22c754f
Add NFSV3StorageAccount component
JimMadge Sep 17, 2024
435697b
Add composite resource for NFS blob containers
JimMadge Sep 17, 2024
2bae206
Correct path to install_deb script
JimMadge Sep 17, 2024
cb89697
Correct paths in comments
JimMadge Sep 17, 2024
aa46d23
Update pulumi component properties
JimMadge Sep 17, 2024
d62c0cc
Correct template names
JimMadge Sep 18, 2024
9e6b1b9
Rename class
JimMadge Sep 19, 2024
8eaedba
Split desired state playbook into task files
JimMadge Sep 19, 2024
4e875f9
Update docs/source/roles/data_provider_representative/data_ingress.md
JimMadge Sep 20, 2024
9117fa5
Merge pull request #2092 from alan-turing-institute/mount_points
JimMadge Sep 20, 2024
7976792
Merge pull request #2115 from alan-turing-institute/ansible_vars_file
JimMadge Sep 20, 2024
1c31631
Merge remote-tracking branch 'origin/develop' into show_invalid_config
JimMadge Sep 20, 2024
08eabc9
Add force option for config upload
JimMadge Sep 20, 2024
d161f86
Add type hints
JimMadge Sep 20, 2024
0cac24c
Correct exception type
JimMadge Sep 20, 2024
5d7f9fa
Add test for invalid remote config on upload
JimMadge Sep 20, 2024
1bb9546
Add test for force upload
JimMadge Sep 20, 2024
29580b3
:arrow_up: Bump peter-evans/create-pull-request from 7.0.2 to 7.0.5
dependabot[bot] Sep 23, 2024
6859b77
:arrow_up: Bump the production-dependencies group with 11 updates
dependabot[bot] Sep 23, 2024
517d76d
[dependabot skip] :wrench: Update Python requirements files
dependabot[bot] Sep 23, 2024
d942c4f
Merge pull request #2193 from alan-turing-institute/dependabot/github…
JimMadge Sep 23, 2024
057c689
Merge pull request #2194 from alan-turing-institute/dependabot/pip/pr…
JimMadge Sep 23, 2024
469a1eb
Merge remote-tracking branch 'origin/develop' into tidy_ansible
JimMadge Sep 23, 2024
cfb58c2
Add tags
JimMadge Sep 23, 2024
67213da
Use blocks
JimMadge Sep 23, 2024
cdd76a3
Merge pull request #2189 from alan-turing-institute/show_invalid_config
JimMadge Sep 23, 2024
8842150
Add dependency on desired state for workspaces
JimMadge Sep 23, 2024
7f24334
More detailed error message
craddm Sep 23, 2024
19dff16
Incorrect or missing admin group name now raises an error
craddm Sep 23, 2024
560917f
catch admin group ID error when deploying SHM
craddm Sep 23, 2024
3705f43
Catch incorrect admin group error
craddm Sep 23, 2024
74de936
Wait for pulumi_vars.yaml in cloud init
JimMadge Sep 24, 2024
4afd621
docs: add @mattwestby as a contributor
JimMadge Sep 24, 2024
409f003
WIP: use appropriate provider for SHM DNS record
JimMadge Sep 25, 2024
ac1d0fb
Merge pull request #2198 from alan-turing-institute/add_mattwestby
JimMadge Sep 25, 2024
3f7dce5
Merge pull request #2192 from alan-turing-institute/tidy_ansible
JimMadge Sep 25, 2024
038f7ba
Merge remote-tracking branch 'origin/develop' into cross_subscription
JimMadge Sep 25, 2024
8a5c03b
Populate shm subscription id Pulumi opt
JimMadge Sep 25, 2024
3fa7058
add function for checking entra group exists, remove try except
craddm Sep 25, 2024
a7809bf
Use new entra_group_exists check and raise error if not found
craddm Sep 25, 2024
afc3fae
switch to validate_entra_group function
craddm Sep 25, 2024
21233b4
use validate_entra_group function
craddm Sep 25, 2024
2a8c882
Add resource name to provider
JimMadge Sep 25, 2024
1604757
Add log messages for SRE deployment
JimMadge Sep 25, 2024
75cd69d
Merge remote-tracking branch 'upstream/develop' into admin-group-error
craddm Sep 25, 2024
4af6918
Replace script with tasks
JimMadge Sep 25, 2024
0ee3a5a
Add file mode
JimMadge Sep 25, 2024
f75422e
Correct filename
JimMadge Sep 25, 2024
1136846
Merge branch 'develop' into user-tables
craddm Sep 25, 2024
59540e0
remove unneeded extension
craddm Sep 25, 2024
0fd8434
Update and AZ CLI version and remove sphinx dependency installation
craddm Sep 25, 2024
74f6217
remove sphinx from apt installs
craddm Sep 25, 2024
14afdaf
Merge pull request #2205 from alan-turing-institute/debs
JimMadge Sep 26, 2024
4699f05
Merge pull request #2204 from alan-turing-institute/subscription_feed…
JimMadge Sep 26, 2024
2941beb
Merge remote-tracking branch 'origin/develop' into cross_subscription
JimMadge Sep 26, 2024
d327acd
Add SHM location to SHM provider
JimMadge Sep 26, 2024
bfd2088
Merge pull request #2206 from craddm/update-devcontainer
craddm Sep 27, 2024
59bca6d
Merge pull request #2196 from craddm/admin-group-error
craddm Sep 27, 2024
c59dc04
Catch validation errors on config upload
craddm Sep 27, 2024
1178622
Provide more readable error message for config validation errors
craddm Sep 27, 2024
bbaf29a
Bump the production-dependencies group with 7 updates
dependabot[bot] Sep 30, 2024
64b7d0e
[dependabot skip] :wrench: Update Python requirements files
dependabot[bot] Sep 30, 2024
fecd0ab
Merge pull request #2208 from alan-turing-institute/dependabot/pip/pr…
JimMadge Sep 30, 2024
25096d9
Merge branch 'alan-turing-institute:develop' into config-upload-errors
craddm Sep 30, 2024
1f89c0a
Fix linting
craddm Sep 30, 2024
c186594
Merge branch 'develop' into user-tables
craddm Sep 30, 2024
37616eb
Add note about premium storage SKU names
JimMadge Sep 30, 2024
d0fffe7
Add note on CPU architecture
JimMadge Sep 30, 2024
a935d57
Add note about ClamAV memory use
JimMadge Sep 30, 2024
8821555
Add note about GPU sizes
JimMadge Sep 30, 2024
b123be3
Add size recommendations
JimMadge Sep 30, 2024
a8fba4e
Correct directive
JimMadge Sep 30, 2024
e71d201
Add more specific GPU recommendations
JimMadge Sep 30, 2024
1fc5210
:wrench: Update to v0.6.0 of guacamole-user-sync
jemrobinson Sep 30, 2024
13b2e60
Merge pull request #2214 from jemrobinson/2195-update-guacamole-user-…
JimMadge Oct 1, 2024
c726230
Fix markdown linting
JimMadge Oct 1, 2024
ece9837
Add lint script for docs
JimMadge Oct 1, 2024
91cbb79
Merge remote-tracking branch 'origin/develop' into cross_subscription
JimMadge Oct 1, 2024
ffd592b
Fix typos
JimMadge Oct 1, 2024
b90c96d
Add full stop
JimMadge Oct 1, 2024
134c9e5
Adjust wording
JimMadge Oct 1, 2024
da837e7
:arrow_up: Upgrade dependencies
jemrobinson Oct 1, 2024
ecdd71d
Detect that SRE is not deployed and print informative message
craddm Oct 1, 2024
f2f7a42
Merge remote-tracking branch 'upstream/develop' into user-tables
craddm Oct 1, 2024
0fcbef2
Change to exit_code == 1
craddm Oct 1, 2024
fa75393
Add test for invalid_sre given to list_users
craddm Oct 1, 2024
8484eef
:arrow_up: Switch to psycopg[binary]
jemrobinson Oct 1, 2024
b9f4ecc
:white_check_mark: Add test for Context.entra_application_name
jemrobinson Oct 1, 2024
33dece3
Merge pull request #2213 from alan-turing-institute/workspace_size_notes
JimMadge Oct 2, 2024
6c1d0bf
Replace DBeaver with Beekeeper Studio
JimMadge Oct 2, 2024
dad208f
Update mounted drive paths
JimMadge Oct 2, 2024
32525ff
Remove unrelated code change
craddm Oct 2, 2024
e556343
Merge remote-tracking branch 'upstream/develop' into user-tables
craddm Oct 2, 2024
ed0cbb3
Update database software in user software list
JimMadge Oct 2, 2024
576bbc0
Correct MS SQL database username
JimMadge Oct 2, 2024
f4808fe
Update database connection instructions
JimMadge Oct 2, 2024
8320067
Merge remote-tracking branch 'origin/develop' into db_gui
JimMadge Oct 2, 2024
a6a6993
Improve jinja2 expression spacing
JimMadge Oct 2, 2024
d1d2cc8
Merge remote-tracking branch 'origin/develop' into fix_smoke_tests
JimMadge Oct 2, 2024
52a7e33
Update data_safe_haven/commands/users.py
craddm Oct 2, 2024
25c7d00
Update test script
JimMadge Oct 2, 2024
7cd1a77
Merge pull request #2216 from craddm/user-tables
craddm Oct 2, 2024
7cac6cd
Merge remote-tracking branch 'origin/develop' into cross_subscription
JimMadge Oct 3, 2024
55598ee
Add hint for kv resource provider registration
JimMadge Oct 3, 2024
26d203d
Use SHM provider when getting DNS zone
JimMadge Oct 3, 2024
b3a6110
:white_check_mark: Add tests for Context.entra_application_secret
jemrobinson Oct 3, 2024
27e9dca
Fix typing
JimMadge Oct 3, 2024
8364fe2
:white_check_mark: Add tests for no application and no application se…
jemrobinson Oct 4, 2024
7119707
Merge pull request #2217 from jemrobinson/use-psycopg-binary
jemrobinson Oct 4, 2024
a0ac911
Use SRE subscription name instead of context
JimMadge Oct 4, 2024
63f59b5
Merge pull request #2218 from alan-turing-institute/db_gui
JimMadge Oct 4, 2024
c306a36
Run lint:fmt
JimMadge Oct 4, 2024
3b98548
Change subscription name passed to provisioning
JimMadge Oct 4, 2024
4ba5d18
Add type hint
JimMadge Oct 4, 2024
d243c31
Fix deploy test
JimMadge Oct 4, 2024
e9a4a84
Change ephemeral disk mount path
craddm Oct 4, 2024
b240a80
restart nslcd after desired state has finished
craddm Oct 4, 2024
3bebe1a
Merge branch 'alan-turing-institute:develop' into ephemeral-mount-path
craddm Oct 4, 2024
b985f3a
Bump the production-dependencies group with 6 updates
dependabot[bot] Oct 7, 2024
96d348f
[dependabot skip] :wrench: Update Python requirements files
dependabot[bot] Oct 7, 2024
4f6a617
Merge pull request #2202 from alan-turing-institute/cross_subscription
JimMadge Oct 7, 2024
1d72e42
Merge pull request #2224 from alan-turing-institute/dependabot/pip/pr…
JimMadge Oct 7, 2024
dddf0c9
Merge pull request #2219 from alan-turing-institute/fix_smoke_tests
JimMadge Oct 7, 2024
63f57e8
Update data_safe_haven/resources/workspace/workspace.cloud_init.musta…
craddm Oct 7, 2024
d16b254
Merge pull request #2223 from craddm/ephemeral-mount-path
JimMadge Oct 7, 2024
8a6647c
Merge branch 'develop' into 2158-move-security-group-creation-to-pulumi
jemrobinson Oct 7, 2024
d498e07
Update desktop icon URLs for shared, input, and output drives
craddm Oct 7, 2024
ed85b70
Merge pull request #2160 from jemrobinson/2158-move-security-group-cr…
jemrobinson Oct 7, 2024
a249069
Merge branch 'alan-turing-institute:develop' into icon-paths
craddm Oct 7, 2024
c5ce29f
Remove desktop files for gitea/hedgedoc
JimMadge Oct 7, 2024
a88a5d8
Merge remote-tracking branch 'upstream/develop' into config-upload-er…
craddm Oct 7, 2024
f275f5d
Merge pull request #2227 from craddm/icon-paths
JimMadge Oct 7, 2024
ae63b04
Add fixture for config with missing field
craddm Oct 7, 2024
b2bf1ff
add test for error from missing config field
craddm Oct 7, 2024
d00ee2b
:arrow_down: Downgrade psycopg version to support older MacOS versions
jemrobinson Oct 7, 2024
dbdb22c
make working test of validation error
craddm Oct 7, 2024
877c41a
Add test of log messages from config validation errors
craddm Oct 8, 2024
c67912e
lint:fmt
craddm Oct 8, 2024
a1ad35a
Use replace method to create config with missing field
craddm Oct 8, 2024
0aad910
Merge remote-tracking branch 'upstream/develop' into config-upload-er…
craddm Oct 8, 2024
35736db
Add list of supported SRE regions
JimMadge Oct 8, 2024
11817fb
Add lychee exception
JimMadge Oct 8, 2024
934ec49
Correct removal of text from example SRE config
craddm Oct 8, 2024
567d30e
Merge pull request #2211 from craddm/config-upload-errors
JimMadge Oct 8, 2024
5835a3c
Add strip ansi method
JimMadge Oct 8, 2024
fdb6da3
Add test
JimMadge Oct 8, 2024
1f3e751
Add test for alternative escape char formats
JimMadge Oct 8, 2024
42d46c1
Correct indentation
JimMadge Oct 8, 2024
2b9c619
Merge pull request #2230 from alan-turing-institute/supported_regions
JimMadge Oct 9, 2024
0f9d353
Merge pull request #2226 from alan-turing-institute/duplicate_desktop…
JimMadge Oct 9, 2024
eede40f
Merge pull request #2231 from alan-turing-institute/ansi_logfile
JimMadge Oct 9, 2024
96223c8
User simpler of checking if SRE is deployed
craddm Oct 9, 2024
c2782f8
Add option for 'internet' in place of IP
JimMadge Oct 10, 2024
4f506b2
Add tests for IP validator
JimMadge Oct 10, 2024
01b1c14
Change user addresses to list or service tag
JimMadge Oct 10, 2024
0b05ebc
Add comma
JimMadge Oct 10, 2024
705488e
Handle ip list or service tag in component resource
JimMadge Oct 10, 2024
3d519e3
Merge branch 'alan-turing-institute:develop' into simplify-available
craddm Oct 11, 2024
507081a
Add documentation of the command to management page
craddm Oct 11, 2024
5927b6f
Fix linting
craddm Oct 11, 2024
c1ad179
fix more linting
craddm Oct 11, 2024
9dc9bc3
Bump the production-dependencies group with 10 updates
dependabot[bot] Oct 14, 2024
cf74c77
[dependabot skip] :wrench: Update Python requirements files
dependabot[bot] Oct 14, 2024
e8d112d
Bump lycheeverse/lychee-action from 1.10.0 to 2.0.1
dependabot[bot] Oct 14, 2024
e101078
Merge pull request #2236 from alan-turing-institute/dependabot/github…
JimMadge Oct 14, 2024
acb2fcf
Add tests for Internet tag for user IPs
JimMadge Oct 15, 2024
41c4d5b
Merge pull request #2235 from alan-turing-institute/dependabot/pip/pr…
JimMadge Oct 15, 2024
2b996da
Merge remote-tracking branch 'origin/develop' into internet
JimMadge Oct 15, 2024
5068e5a
Fix linting
JimMadge Oct 15, 2024
ea23e1b
Merge pull request #2234 from craddm/simplify-available
craddm Oct 15, 2024
727f43d
Merge pull request #2233 from alan-turing-institute/internet
JimMadge Oct 16, 2024
fddefea
Raise exception if unchangable values are changed
JimMadge Oct 16, 2024
01037af
Compare config value, not config object
JimMadge Oct 17, 2024
1839464
Change variable to option
JimMadge Oct 17, 2024
98942dc
Add tests for ensure_config
JimMadge Oct 17, 2024
b16256f
Update docstring and comments
JimMadge Oct 17, 2024
d8163fc
:memo: Update docs for clarity
jemrobinson Oct 7, 2024
056ee31
:bookmark: Bump to version 5.0.1
jemrobinson Oct 17, 2024
5305897
Add Python 3.13 as a requirement
JimMadge Oct 17, 2024
95a2476
:bug: Set PULUMI_PYTHON_CMD to use the same Python executable that is…
jemrobinson Oct 17, 2024
da03fa7
Merge pull request #2240 from alan-turing-institute/2239-set-pulumi-venv
jemrobinson Oct 18, 2024
adedb35
:wrench: Tell Dependabot to ignore updates to psycopg
jemrobinson Oct 18, 2024
d7da700
Use SHM name instead of description for Entra app
craddm Oct 18, 2024
7140ced
Update tests for entra application
craddm Oct 18, 2024
6c32cb4
Bump lycheeverse/lychee-action from 2.0.1 to 2.0.2
dependabot[bot] Oct 21, 2024
d56249d
Merge pull request #2245 from alan-turing-institute/dependabot/github…
JimMadge Oct 21, 2024
1c42202
Merge pull request #2243 from craddm/use-shm-name-in-entra
JimMadge Oct 21, 2024
fb4148f
Merge remote-tracking branch 'origin/develop' into develop_changes
JimMadge Oct 21, 2024
1f559b0
Rerun pip-compile
JimMadge Oct 21, 2024
649ebf4
Merge pull request #2246 from alan-turing-institute/develop_changes
JimMadge Oct 22, 2024
2e837a9
Merge pull request #2237 from alan-turing-institute/sub_id_change
JimMadge Oct 22, 2024
83d8ef4
Update shm deploy help text
craddm Oct 22, 2024
58cfd84
:bug: Always recreate the Pulumi Service Principal secret when SHM de…
jemrobinson Oct 22, 2024
cbf0d04
:bug: Move existing value checking into the try/except loop
jemrobinson Oct 22, 2024
209c706
reorder data_ingress sections
craddm Oct 23, 2024
26b16b5
Improve DNS delegation feedback
JimMadge Oct 23, 2024
0b3ad31
Tabulate necessary NS records
JimMadge Oct 23, 2024
62864c8
Use an actual list 🤦
JimMadge Oct 23, 2024
213d47b
Fix linting
JimMadge Oct 23, 2024
7ddc304
update management docs
craddm Oct 23, 2024
3f3511d
Fix linting errors
craddm Oct 23, 2024
f4915cb
delete blank line
craddm Oct 23, 2024
d214143
Merge pull request #2253 from alan-turing-institute/domain_setup
JimMadge Oct 23, 2024
5713c14
:loud_sound: Standardise logging
jemrobinson Oct 23, 2024
9fb7541
Update docs/source/management/index.md
craddm Oct 23, 2024
55795da
Update docs/source/management/index.md
craddm Oct 23, 2024
6e6e7e5
Update SECURITY.md
JimMadge Oct 23, 2024
e8eb8de
:bug: Fix rogue closing tags
jemrobinson Oct 23, 2024
fa7122e
Merge pull request #2255 from alan-turing-institute/minor-logging-update
jemrobinson Oct 23, 2024
a1a13f4
Apply many review suggestions
craddm Oct 23, 2024
89961da
Update docs/source/roles/data_provider_representative/data_ingress.md
craddm Oct 23, 2024
3d2ad85
Remove reference to approval/classification of output
craddm Oct 23, 2024
bd92224
Fix typo
craddm Oct 23, 2024
4862382
Switch to more consistent style of highlighting and labelling menu op…
craddm Oct 23, 2024
d5181b1
fix style of some remaining terms
craddm Oct 23, 2024
829a5f2
Apply review suggestions
craddm Oct 24, 2024
a60d55a
More detailed information about tearing down SHM/SRE, and more detail…
craddm Oct 24, 2024
6fb893e
Fix admonition titles
craddm Oct 24, 2024
e3b1b7b
Reword outputs section
craddm Oct 24, 2024
672e141
Merge remote-tracking branch 'upstream/release-v5.0.1rc1' into doc-up…
craddm Oct 24, 2024
5dee1ed
Update docs/source/management/index.md
craddm Oct 24, 2024
04b8d3a
Update docs/source/management/index.md
craddm Oct 24, 2024
440e30d
Update docs/source/management/index.md
craddm Oct 24, 2024
df08f6d
Update docs/source/management/index.md
craddm Oct 24, 2024
bd02f84
Update docs/source/management/index.md
craddm Oct 24, 2024
4c71226
Update docs/source/management/index.md
craddm Oct 24, 2024
f12de89
Update docs/source/management/index.md
craddm Oct 24, 2024
8a2fd5e
Merge pull request #2254 from craddm/doc-updates
craddm Oct 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,15 @@
"bug",
"doc"
]
},
{
"login": "mattwestby",
"name": "mattwestby",
"avatar_url": "https://avatars.githubusercontent.com/u/91054185?v=4",
"profile": "https://github.com/mattwestby",
"contributions": [
"bug"
]
}
],
"contributorsSortAlphabetically": true,
Expand Down
9 changes: 2 additions & 7 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ RUN apt-get update \
&& export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
git \
libssl-dev \
python3-sphinx
libssl-dev

# Install Azure-CLI
RUN apt-get update \
Expand All @@ -22,7 +21,7 @@ RUN mkdir -p /etc/apt/keyrings \
&& chmod go+r /etc/apt/keyrings/microsoft.gpg

# Set package versions
ARG AZURE_CLI_VERSION="2.59.0"
ARG AZURE_CLI_VERSION="2.64.0"
ARG DISTRIBUTION

# Add the Azure CLI repository
Expand Down Expand Up @@ -52,10 +51,6 @@ RUN groupadd --gid $USER_GID $USERNAME \
# Set the default user
USER $USERNAME

# Install Sphinx dependencies
COPY ./docs/requirements.txt /build/requirements.txt
RUN pip3 install -r /build/requirements.txt

# Set PATH for pulumi - pulumi installed as feature to work round installing as root
ENV PATH=$PATH:/home/${USERNAME}/.pulumi/bin

Expand Down
1 change: 0 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"extensions": [
"github.vscode-pull-request-github",
"ms-vscode.azure-account",
"ms-python.python",
"christian-kohler.path-intellisense"
],
Expand Down
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,15 @@ updates:
directory: "/" # The exact logic is unclear, but it recursively searches at least .github/workflows/
schedule:
interval: "weekly"
# Python package update PRs
- package-ecosystem: pip # This will update 'pyproject.toml'
directory: "/"
ignore:
- dependency-name: "psycopg" # 3.1.19 is the latest version to support on older MacOS versions
groups:
production-dependencies:
dependency-type: "production"
development-dependencies:
dependency-type: "development"
schedule:
interval: weekly
23 changes: 0 additions & 23 deletions .github/scripts/update_python_dependencies.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build_documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: hatch run docs:build

- name: Link Checker
uses: lycheeverse/lychee-action@v1.10.0
uses: lycheeverse/lychee-action@v2.0.2
with:
args: --config='./.lychee.toml' --no-progress './docs/build/html/**/*.html'
fail: true # fail on broken links
46 changes: 46 additions & 0 deletions .github/workflows/dependabot_amend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: Amend Dependabot PRs

on: # yamllint disable-line rule:truthy
push:
branches:
- dependabot/pip/**
pull_request:
branches:
- dependabot/pip/**
workflow_dispatch: # allow this workflow to be manually triggered

# checkout needs 'contents:read'
# pull request needs 'pull-requests:write' and 'contents:write'
permissions:
contents: write
pull-requests: write

jobs:
amend_dependabot_prs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install hatch
run: pip install hatch

- name: Update hatch requirements
run: |
rm .hatch/requirements*.txt
hatch run true
hatch -e docs run true
hatch -e lint run true
hatch -e test run true

- name: Commit changes
uses: stefanzweifel/[email protected]
with:
commit_message: "[dependabot skip] :wrench: Update Python requirements files"
branch: ${{ github.head_ref }}
2 changes: 1 addition & 1 deletion .github/workflows/test_code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
shell: bash
run: npm install -g markdown-link-check
- name: Link Checker
uses: lycheeverse/lychee-action@v1.10.0
uses: lycheeverse/lychee-action@v2.0.2
with:
args: --config='./.lychee.toml' --no-progress --offline '**/*.md' --exclude-path './docs'
fail: true # fail on broken links
2 changes: 1 addition & 1 deletion .github/workflows/update_docker_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Create pull request
if: ${{ ! env.ACT }}
id: pull-request
uses: peter-evans/create-pull-request@v6.1.0
uses: peter-evans/create-pull-request@v7.0.5
with:
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
base: develop
Expand Down
67 changes: 0 additions & 67 deletions .github/workflows/update_python_dependencies.yaml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ environment_configs/package_lists/dependency-cache.json
# Python build caches
__pycache__/
.venv/
dist/

# Development tools
.vscode
Expand Down Expand Up @@ -50,3 +51,5 @@ expanded.yaml

# ruff cache
.ruff_cache

**/venv
54 changes: 25 additions & 29 deletions docs/requirements.txt → .hatch/requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
# This file is autogenerated by hatch-pip-compile with Python 3.12
#
# pip-compile --constraint=requirements-constraints.txt --output-file=docs/requirements.txt -
# - emoji==2.14.0
# - myst-parser==4.0.0
# - pydata-sphinx-theme==0.15.4
# - sphinx-togglebutton==0.3.2
# - sphinx==8.1.3
#

accessible-pygments==0.0.5
# via pydata-sphinx-theme
alabaster==1.0.0
Expand All @@ -14,22 +18,20 @@ babel==2.16.0
# sphinx
beautifulsoup4==4.12.3
# via pydata-sphinx-theme
certifi==2024.7.4
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
docutils==0.21.2
# via
# myst-parser
# pydata-sphinx-theme
# sphinx
# sphinx-togglebutton
emoji==2.12.1
# via -r -
idna==3.7
# via
# -c requirements-constraints.txt
# requests
emoji==2.14.0
# via hatch.envs.docs
idna==3.10
# via requests
imagesize==1.4.1
# via sphinx
jinja2==3.1.4
Expand All @@ -40,20 +42,20 @@ markdown-it-py==3.0.0
# via
# mdit-py-plugins
# myst-parser
markupsafe==2.1.5
markupsafe==3.0.2
# via jinja2
mdit-py-plugins==0.4.1
mdit-py-plugins==0.4.2
# via myst-parser
mdurl==0.1.2
# via markdown-it-py
myst-parser==4.0.0
# via -r -
# via hatch.envs.docs
packaging==24.1
# via
# pydata-sphinx-theme
# sphinx
pydata-sphinx-theme==0.15.4
# via -r -
# via hatch.envs.docs
pygments==2.18.0
# via
# accessible-pygments
Expand All @@ -62,21 +64,19 @@ pygments==2.18.0
pyyaml==6.0.2
# via myst-parser
requests==2.32.3
# via
# -c requirements-constraints.txt
# sphinx
# via sphinx
snowballstemmer==2.2.0
# via sphinx
soupsieve==2.5
soupsieve==2.6
# via beautifulsoup4
sphinx==8.0.2
sphinx==8.1.3
# via
# -r -
# hatch.envs.docs
# myst-parser
# pydata-sphinx-theme
# sphinx-togglebutton
sphinx-togglebutton==0.3.2
# via -r -
# via hatch.envs.docs
sphinxcontrib-applehelp==2.0.0
# via sphinx
sphinxcontrib-devhelp==2.0.0
Expand All @@ -90,13 +90,9 @@ sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
typing-extensions==4.12.2
# via
# emoji
# pydata-sphinx-theme
urllib3==2.2.2
# via
# -c requirements-constraints.txt
# requests
# via pydata-sphinx-theme
urllib3==2.2.3
# via requests
wheel==0.44.0
# via sphinx-togglebutton

Expand Down
Loading
Loading