From 0fb9a83342e876745e836bcd0bf857baec5e2a04 Mon Sep 17 00:00:00 2001 From: Christopher Hunter Date: Fri, 8 Mar 2024 18:03:07 -0800 Subject: [PATCH] fix(acceptance): use a more standard git commit time format i think this might be an issue with the sha256 of the tile I would think it would also change the source_revision but maybe not --- .../workflows/scenario/step_funcs_tile_source_code.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/acceptance/workflows/scenario/step_funcs_tile_source_code.go b/internal/acceptance/workflows/scenario/step_funcs_tile_source_code.go index 4f0afb86..2dabfd7c 100644 --- a/internal/acceptance/workflows/scenario/step_funcs_tile_source_code.go +++ b/internal/acceptance/workflows/scenario/step_funcs_tile_source_code.go @@ -131,8 +131,8 @@ func copyTileDirectory(dir, tileDirectory string) (string, error) { if err := executeAndWrapError(testTileDir, env, "git", "add", "."); err != nil { return "", fmt.Errorf("tile path is not a repository: adding initial files failed: %w", err) } - env = updateEnvVar(env, "GIT_AUTHOR_DATE", "1112937193 -0700") - env = updateEnvVar(env, "GIT_COMMITTER_DATE", "1112937193 -0700") + env = updateEnvVar(env, "GIT_AUTHOR_DATE", "Thu, 07 Apr 2005 22:13:13") + env = updateEnvVar(env, "GIT_COMMITTER_DATE", "Thu, 07 Apr 2005 22:13:13") if err := executeAndWrapError(testTileDir, env, "git", "commit", "-m", "initial commit"); err != nil { return "", fmt.Errorf("tile path is not a repository: adding initial files failed: %w", err) }