Compare commits

...

3 Commits

4 changed files with 38 additions and 1 deletions

6
.cz.toml Normal file
View File

@ -0,0 +1,6 @@
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_scheme = "semver"
version_provider = "scm"
update_changelog_on_bump = true

View File

@ -18,3 +18,11 @@ repos:
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.24.0
hooks:
- id: commitizen
- id: commitizen-branch
stages:
- post-commit
- push

23
CHANGELOG.md Normal file
View File

@ -0,0 +1,23 @@
## v2.2.0 (2024-04-22)
### Feat
- **job**: add ability to pass job either as filepath or directly as string
- configure commitizen
## v2.1.0 (2024-02-25)
### Feat
- **job**: add option to pass in variables to job using the job_variables variable
### Fix
- tfdocs in README.md
- **job**: change jobs_variables type from map(object({})) to map(map(string)) to accept arbitrary values
- **job**: revert testing
- **job**: wrong variable use in nomad job
## v2.0.0 (2024-02-24)
## v1.0.0 (2023-07-16)

View File

@ -8,7 +8,7 @@ resource "nomad_job" "this" {
consul_intention.this
]
jobspec = file(each.value)
jobspec = try(file(each.value), each.value)
purge_on_destroy = true
hcl2 {
allow_fs = true