Skip to content

Commit da832f6

Browse files
Remove image push tests
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
1 parent 91db40d commit da832f6

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Tests/ContainerizationOCITests/RegistryClientTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ struct OCIClientTests: ~Copyable {
166166
#expect(done)
167167
}
168168

169-
@Test(.enabled(if: hasRegistryCredentials))
169+
@Test(.enabled(if: hasRegistryCredentials)
170+
.disabled("External users cannot push images, disable while we find a better solution"))
170171
func pushIndex() async throws {
171172
let client = RegistryClient(host: "ghcr.io", authentication: Self.authentication)
172173
let indexDescriptor = try await client.resolve(name: "apple/containerization/emptyimage", tag: "0.0.1")

Tests/ContainerizationTests/ImageTests/ImageStoreTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public class ImageStoreTests: ContainsAuth {
4242
try! FileManager.default.removeItem(at: self.dir)
4343
}
4444

45-
@Test func testImageStoreOperation() async throws {
45+
@Test(.disabled("External users cannot push images, disable while we find a better solution"))
46+
func testImageStoreOperation() async throws {
4647
let fileManager = FileManager.default
4748
let tempDir = fileManager.uniqueTemporaryDirectory()
4849
defer {

0 commit comments

Comments
 (0)