Merge pull request #19475 from edsantiago/remove_registryfile_workaround

CI: e2e: remove workaround for missing login file
This commit is contained in:
OpenShift Merge Robot 2023-08-02 10:13:16 +02:00 committed by GitHub
commit 8844b98f7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -273,10 +273,6 @@ var _ = Describe("Podman login and logout", func() {
setup.WaitWithDefaultTimeout() setup.WaitWithDefaultTimeout()
defer os.RemoveAll(certDir) defer os.RemoveAll(certDir)
// FIXME: #18405, podman-run barfs if $REGISTRY_AUTH_FILE missing
err = os.WriteFile(os.Getenv("REGISTRY_AUTH_FILE"), []byte(`{"auths": {}}`), 0600)
Expect(err).ToNot(HaveOccurred(), "touching authfile")
// N/B: This second registry container shares the same auth and cert dirs // N/B: This second registry container shares the same auth and cert dirs
// as the registry started from BeforeEach(). Since this one starts // as the registry started from BeforeEach(). Since this one starts
// second, re-labeling the volumes should keep SELinux happy. // second, re-labeling the volumes should keep SELinux happy.