diff --git a/Taskfile.yml b/Taskfile.yml index 0a2030181f6..8ed24ad0f60 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -20,6 +20,9 @@ vars: EMBED_SOURCES: sh: 'uv run -p ">=3.11" --no-project python tools/list_embeds.py' +env: + GOFIPS140: v1.0.0 + # pydabs-* tasks live in python/Taskfile.yml so `task pydabs-foo` works when # run from python/. Flattened so they keep their `pydabs-` names at the root. includes: diff --git a/acceptance/fips/out.test.toml b/acceptance/fips/out.test.toml new file mode 100644 index 00000000000..c502b28221b --- /dev/null +++ b/acceptance/fips/out.test.toml @@ -0,0 +1,2 @@ +Cloud = true +EnvMatrix.DATABRICKS_BUNDLE_ENGINE = ["direct"] diff --git a/acceptance/fips/output.txt b/acceptance/fips/output.txt new file mode 100644 index 00000000000..910a5b8e062 --- /dev/null +++ b/acceptance/fips/output.txt @@ -0,0 +1,5 @@ + +>>> go version -m [CLI] + build -tags=fips140v1.0 + build DefaultGODEBUG=fips140=on + build GOFIPS140=v1.0.0-c2097c7c diff --git a/acceptance/fips/script b/acceptance/fips/script new file mode 100644 index 00000000000..a87c3f5e01b --- /dev/null +++ b/acceptance/fips/script @@ -0,0 +1 @@ +trace go version -m $CLI | grep -i fips140 | contains.py 'GOFIPS140=v1.0.0' 'DefaultGODEBUG=fips140=on' diff --git a/acceptance/fips/test.toml b/acceptance/fips/test.toml new file mode 100644 index 00000000000..36537d78501 --- /dev/null +++ b/acceptance/fips/test.toml @@ -0,0 +1,2 @@ +EnvMatrix.DATABRICKS_BUNDLE_ENGINE = ["direct"] +Cloud = true