Skip to content

Commit

Permalink
Adds pre/post build hooks to service hooks definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
wbreza committed Jul 3, 2024
1 parent 861b113 commit 21e5040
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions schemas/alpha/azure.yaml.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,16 @@
"description": "Runs after the service dependencies are restored",
"$ref": "#/definitions/hook"
},
"prebuild": {
"title": "pre build hook",
"description": "Runs before the service is built",
"$ref": "#/definitions/hook"
},
"postbuild": {
"title": "post build hook",
"description": "Runs after the service is built",
"$ref": "#/definitions/hook"
},
"prepackage": {
"title": "pre package hook",
"description": "Runs before the service is deployment package is created",
Expand Down
10 changes: 10 additions & 0 deletions schemas/v1.0/azure.yaml.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,16 @@
"description": "Runs after the service dependencies are restored",
"$ref": "#/definitions/hook"
},
"prebuild": {
"title": "pre build hook",
"description": "Runs before the service is built",
"$ref": "#/definitions/hook"
},
"postbuild": {
"title": "post build hook",
"description": "Runs after the service is built",
"$ref": "#/definitions/hook"
},
"prepackage": {
"title": "pre package hook",
"description": "Runs before the service is deployment package is created",
Expand Down

0 comments on commit 21e5040

Please sign in to comment.