forked from cleveragents/cleveragents-core
fix(e2e): disable git commit signing in temp test repos
This commit is contained in:
@@ -240,6 +240,8 @@ Create Temp Git Repo
|
||||
Should Be Equal As Integers ${r2.rc} 0 msg=git config user.name failed
|
||||
${r3}= Run Process git config user.email e2e@test.local cwd=${repo_dir} timeout=60s on_timeout=kill
|
||||
Should Be Equal As Integers ${r3.rc} 0 msg=git config user.email failed
|
||||
${r3b}= Run Process git config commit.gpgsign false cwd=${repo_dir} timeout=60s on_timeout=kill
|
||||
Should Be Equal As Integers ${r3b.rc} 0 msg=git config commit.gpgsign failed
|
||||
# Create an initial commit so the repo has a HEAD
|
||||
Create File ${repo_dir}${/}README.md # Test Repository\n
|
||||
${r4}= Run Process git add . cwd=${repo_dir} timeout=60s on_timeout=kill
|
||||
|
||||
@@ -55,6 +55,8 @@ M5 Acceptance Suite Setup
|
||||
Should Be Equal As Integers ${git_cfg_name.rc} 0 msg=git config user.name failed
|
||||
${git_cfg_email}= Run Process git config user.email e2e@test.local cwd=${ws} timeout=60s on_timeout=kill
|
||||
Should Be Equal As Integers ${git_cfg_email.rc} 0 msg=git config user.email failed
|
||||
${git_cfg_gpg}= Run Process git config commit.gpgsign false cwd=${ws} timeout=60s on_timeout=kill
|
||||
Should Be Equal As Integers ${git_cfg_gpg.rc} 0 msg=git config commit.gpgsign failed
|
||||
${git_add}= Run Process git add . cwd=${ws} timeout=60s on_timeout=kill
|
||||
Should Be Equal As Integers ${git_add.rc} 0 msg=git add failed (rc=${git_add.rc}). Check DEBUG logs above.
|
||||
${git_commit}= Run Process git commit -m Initial commit cwd=${ws} timeout=60s on_timeout=kill
|
||||
|
||||
Reference in New Issue
Block a user