Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
aec9777
feat: config for selecting resources in azure ci
l3abak Apr 22, 2026
27ec898
feat: config for selecting resources in azure ci
l3abak Apr 22, 2026
57e8d80
feat: config for selecting resources in azure ci
l3abak Apr 22, 2026
63f2258
lcoal container env reader fix
l3abak Aug 17, 2026
e86b369
Merge branch 'main' into fix/azure_ci
l3abak Aug 17, 2026
00dccf0
adding imageTagName to Radix job runner
l3abak Aug 17, 2026
ceb32ef
style fix
l3abak Aug 17, 2026
d26528e
Merge branch 'main' into fix/azure_ci
l3abak Aug 17, 2026
51ccd5a
refactor(azure): lazy credential init + typed auth/config errors
l3abak Aug 17, 2026
c221792
fix(azure): treat negative container exit codes as FAILED
l3abak Aug 17, 2026
30c7aef
fix(azure): cover all ACI container states in progress() match
l3abak Aug 17, 2026
7610d3e
refactor(azure): drop racy logger.setLevel toggles
l3abak Aug 17, 2026
2a52082
refactor(azure): drop print() duplicates of logger calls
l3abak Aug 17, 2026
12d3c1c
fix(azure): clamp compute resources instead of silently defaulting
l3abak Aug 17, 2026
e1c4140
feat(azure): typed AzureHandlerProvisionError for non-auth ARM failures
l3abak Aug 17, 2026
9ff7717
fix(azure): raise TimeoutError when start() poll never reaches Running
l3abak Aug 17, 2026
7291ba2
fix(azure): proper error/status handling in remove()
l3abak Aug 17, 2026
b43d16d
perf(azure): single ARM fetch in progress(), skip logs until useful
l3abak Aug 17, 2026
cbac430
feat(azure): local GUID validation in _check_required_config
l3abak Aug 17, 2026
7fca842
refactor(azure): structured job_uid logging via LoggerAdapter
l3abak Aug 17, 2026
2773f73
feat(azure): FastAPI handlers map Azure errors to 502/503
l3abak Aug 17, 2026
19d8ce5
chore(main): release 1.7.0
github-actions[bot] Aug 17, 2026
0192c6b
merging
l3abak Aug 17, 2026
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.6.9"
".": "1.7.0"
}
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [1.7.0](https://github.com/equinor/dm-job/compare/v1.6.9...v1.7.0) (2026-08-17)


### Features

* config for selecting resources in azure ci ([2fbf1c7](https://github.com/equinor/dm-job/commit/2fbf1c7b47cd960e741e3f4b8e4c63adeb7ea659))
* config for selecting resources in azure ci ([695dcd6](https://github.com/equinor/dm-job/commit/695dcd658e6bd2f6abc51e6427cf25551e981c69))
* config for selecting resources in azure ci ([ee9c5ee](https://github.com/equinor/dm-job/commit/ee9c5ee36b0414d216ee67f3416835b242ed97d2))

## [1.6.9](https://github.com/equinor/dm-job/compare/v1.6.8...v1.6.9) (2026-08-04)


Expand Down
2 changes: 1 addition & 1 deletion app/data/WorkflowDS/Blueprints/ComputeResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
{
"name": "memory",
"type": "CORE:BlueprintAttribute",
"attributeType": "number",
"description": "memory in GB",
"attributeType": "number",
"optional": true
},
{
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "dm-job"
version = "1.6.9" # x-release-please-version
version = "1.7.0" # x-release-please-version
description = "REST API running jobs in development framework"
authors = [ {name = "Equinor", email = "fg_team_hermes@equinor.com"}]
license = { text = "MIT" }
Expand Down
21 changes: 18 additions & 3 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,19 @@

from config import config
from features.jobs import jobs
from job_handler_plugins.azure_container_instances import (
AzureHandlerAuthError,
AzureHandlerConfigError,
AzureHandlerProvisionError,
)
from middleware.store_headers import StoreHeadersMiddleware
from restful.responses import responses
from utils.exception_handlers import validation_exception_handler
from utils.exception_handlers import (
azure_auth_exception_handler,
azure_config_exception_handler,
azure_provision_exception_handler,
validation_exception_handler,
)
from utils.logging import logger

oauth2_scheme = OAuth2AuthorizationCodeBearer(authorizationUrl="", tokenUrl="", auto_error=False)
Expand All @@ -32,9 +42,14 @@ def create_app():
app = FastAPI(
title="Data Modelling Job API",
responses=responses,
version="1.6.9", # x-release-please-version
version="1.7.0", # x-release-please-version
description="REST API used with the Data Modelling framework to schedule jobs",
exception_handlers={RequestValidationError: validation_exception_handler},
exception_handlers={
RequestValidationError: validation_exception_handler,
AzureHandlerConfigError: azure_config_exception_handler,
AzureHandlerAuthError: azure_auth_exception_handler,
AzureHandlerProvisionError: azure_provision_exception_handler,
},
middleware=[Middleware(StoreHeadersMiddleware)],
swagger_ui_init_oauth={
"clientId": config.OAUTH_CLIENT_ID,
Expand Down
Loading