Skip to content

Commit

Permalink
schema: Add 'secret-env' and 'secret-args'
Browse files Browse the repository at this point in the history
These are defined in flatpak-builder's schema as well.

Closes: #196
  • Loading branch information
GeorgesStavracas authored and barthalion committed Nov 1, 2023
1 parent ce54f38 commit 6301c1b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions flatpak_builder_lint/staticfiles/flatpak-manifest.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@
},
"additionalProperties": false
},
"secret-env": {
"description": "This is a array defining which host environment variables is transfered to build-commands or post-install environment.",
"type": "array",
"items": {
"description": "Host environment variable to transfer.",
"type": "string"
}
},
"build-args": {
"description": "This is an array containing extra options to pass to flatpak build.",
"type": "array",
Expand Down Expand Up @@ -302,6 +310,14 @@
"type": "string"
}
},
"secret-opts": {
"description": "This is an array of options that will be passed to configure, meant to be used to pass secrets through host environment variables. Put the option with an environment variables and will be resolved beforehand. '-DSECRET_ID=$CI_SECRET'",
"type": "array",
"items": {
"description": "Extra options to pass to configure.",
"type": "string"
}
},
"make-args": {
"description": "An array of arguments that will be passed to make.",
"type": "array",
Expand Down

0 comments on commit 6301c1b

Please sign in to comment.