[CI:TOOLING] Fix get_ci_vm test and new git safety checks#356
Merged
cevich merged 1 commit intocontainers:mainfrom May 23, 2024
Merged
[CI:TOOLING] Fix get_ci_vm test and new git safety checks#356cevich merged 1 commit intocontainers:mainfrom
cevich merged 1 commit intocontainers:mainfrom
Conversation
fc0274c to
f3ad2bb
Compare
Previously, likely do to some git update the following error was produced: ``` Testing: Verify mock 'gcevm' flavor main() workflow produces expected output fail - Expected exit-code 0 but received 128 while executing mock_gcevm_workflow (output follows) Winning lottery-number checksum: 0 gcloud --configuration=automation_images --project=automation_images compute instances create --zone=us-central1-a --image-project=automation_images --image=test-image-name --custom-cpu=0 --custom-memory=0Gb --boot-disk-size=0 --labels=in-use-by=foobar foobar-test-image-name gcloud --configuration=automation_images --project=automation_images compute ssh --ssh-flag=-o=AddKeysToAgent=yes --force-key-file-overwrite --strict-host-key-checking=no --zone=us-central1-a root@foobar-test-image-name -- true Cloning into '/tmp/get_ci_vm_hRxAoX.tmp/var/tmp/automation_images'... fatal: detected dubious ownership in repository at '/tmp/cirrus-ci-build/get_ci_vm/good_repo_test/.git' To add an exception for this directory, call: git config --global --add safe.directory /tmp/cirrus-ci-build/get_ci_vm/good_repo_test/.git fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` Fix this. Signed-off-by: Chris Evich <cevich@redhat.com>
f3ad2bb to
499c24d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously, likely do to some git update the following error was produced:
Fix this.