diff --git a/e2e/tests/extends/extends.go b/e2e/tests/extends/extends.go index bb79f3946..2e37e973b 100644 --- a/e2e/tests/extends/extends.go +++ b/e2e/tests/extends/extends.go @@ -47,7 +47,7 @@ var _ = ginkgo.Describe("extends property", ginkgo.Label("extends"), func() { config := parseConfigFromOutput(stdout) gomega.Expect(config).To(gomega.HaveKeyWithValue("name", "Single Level Child")) gomega.Expect(config).To( - gomega.HaveKeyWithValue("image", "mcr.microsoft.com/devcontainers/base:ubuntu"), + gomega.HaveKeyWithValue("image", "ghcr.io/devsy-org/test-images/base:ubuntu"), ) gomega.Expect(config).To(gomega.HaveKeyWithValue("remoteUser", "vscode")) }, ginkgo.SpecTimeout(framework.TimeoutShort())) @@ -92,7 +92,7 @@ var _ = ginkgo.Describe("extends property", ginkgo.Label("extends"), func() { config := parseConfigFromOutput(stdout) gomega.Expect(config).To(gomega.HaveKeyWithValue("name", "Array Replace Child")) gomega.Expect(config).To( - gomega.HaveKeyWithValue("image", "mcr.microsoft.com/devcontainers/base:ubuntu"), + gomega.HaveKeyWithValue("image", "ghcr.io/devsy-org/test-images/base:ubuntu"), ) forwardPorts, ok := config["forwardPorts"].([]any) @@ -120,7 +120,7 @@ var _ = ginkgo.Describe("extends property", ginkgo.Label("extends"), func() { config := parseConfigFromOutput(stdout) gomega.Expect(config).To(gomega.HaveKeyWithValue("name", "Multi Level Child")) gomega.Expect(config).To( - gomega.HaveKeyWithValue("image", "mcr.microsoft.com/devcontainers/base:ubuntu"), + gomega.HaveKeyWithValue("image", "ghcr.io/devsy-org/test-images/base:ubuntu"), ) gomega.Expect(config).To(gomega.HaveKeyWithValue("remoteUser", "vscode")) @@ -157,7 +157,7 @@ var _ = ginkgo.Describe("extends property", ginkgo.Label("extends"), func() { config := parseConfigFromOutput(stdout) gomega.Expect(config).To(gomega.HaveKeyWithValue("name", "Array Extends Child")) gomega.Expect(config).To( - gomega.HaveKeyWithValue("image", "mcr.microsoft.com/devcontainers/base:ubuntu"), + gomega.HaveKeyWithValue("image", "ghcr.io/devsy-org/test-images/base:ubuntu"), ) gomega.Expect(config).To(gomega.HaveKeyWithValue("remoteUser", "vscode")) @@ -242,7 +242,7 @@ var _ = ginkgo.Describe("extends property", ginkgo.Label("extends"), func() { regHost := strings.TrimPrefix(srv.URL, "http://") parentJSON := `{ - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ghcr.io/devsy-org/test-images/base:ubuntu", "containerEnv": {"PARENT_KEY": "parent-value", "SHARED": "from-parent"}, "features": {"ghcr.io/devcontainers/features/node:1": {}} }` @@ -277,7 +277,7 @@ var _ = ginkgo.Describe("extends property", ginkgo.Label("extends"), func() { gomega.Expect(config).To( gomega.HaveKeyWithValue( "image", - "mcr.microsoft.com/devcontainers/base:ubuntu", + "ghcr.io/devsy-org/test-images/base:ubuntu", ), ) diff --git a/e2e/tests/extends/testdata/array-extends/.devcontainer/base.json b/e2e/tests/extends/testdata/array-extends/.devcontainer/base.json index c131d81ba..5c062a0ca 100644 --- a/e2e/tests/extends/testdata/array-extends/.devcontainer/base.json +++ b/e2e/tests/extends/testdata/array-extends/.devcontainer/base.json @@ -1,5 +1,5 @@ { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ghcr.io/devsy-org/test-images/base:ubuntu", "containerEnv": { "FROM_BASE": "base-value", "SHARED": "from-base" diff --git a/e2e/tests/extends/testdata/array-replace/.devcontainer/base.json b/e2e/tests/extends/testdata/array-replace/.devcontainer/base.json index cc5b7615a..db601809d 100644 --- a/e2e/tests/extends/testdata/array-replace/.devcontainer/base.json +++ b/e2e/tests/extends/testdata/array-replace/.devcontainer/base.json @@ -1,5 +1,5 @@ { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ghcr.io/devsy-org/test-images/base:ubuntu", "forwardPorts": [3000, 4000], "capAdd": ["SYS_PTRACE"] } diff --git a/e2e/tests/extends/testdata/deep-merge/.devcontainer/base.json b/e2e/tests/extends/testdata/deep-merge/.devcontainer/base.json index 62066edf8..be7f16063 100644 --- a/e2e/tests/extends/testdata/deep-merge/.devcontainer/base.json +++ b/e2e/tests/extends/testdata/deep-merge/.devcontainer/base.json @@ -1,5 +1,5 @@ { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ghcr.io/devsy-org/test-images/base:ubuntu", "containerEnv": { "SHARED_KEY": "from-base", "BASE_ONLY": "base-value" diff --git a/e2e/tests/extends/testdata/multi-level/.devcontainer/grandparent.json b/e2e/tests/extends/testdata/multi-level/.devcontainer/grandparent.json index 286b5b5f7..a381398ec 100644 --- a/e2e/tests/extends/testdata/multi-level/.devcontainer/grandparent.json +++ b/e2e/tests/extends/testdata/multi-level/.devcontainer/grandparent.json @@ -1,5 +1,5 @@ { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ghcr.io/devsy-org/test-images/base:ubuntu", "remoteUser": "vscode", "containerEnv": { "LEVEL": "grandparent", diff --git a/e2e/tests/extends/testdata/single-level/.devcontainer/base.json b/e2e/tests/extends/testdata/single-level/.devcontainer/base.json index b66714e5f..52f8b5116 100644 --- a/e2e/tests/extends/testdata/single-level/.devcontainer/base.json +++ b/e2e/tests/extends/testdata/single-level/.devcontainer/base.json @@ -1,5 +1,5 @@ { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ghcr.io/devsy-org/test-images/base:ubuntu", "remoteUser": "vscode", "containerEnv": { "BASE_VAR": "from-base" diff --git a/e2e/tests/readconfiguration/readconfiguration.go b/e2e/tests/readconfiguration/readconfiguration.go index c7de3966c..08b95dbea 100644 --- a/e2e/tests/readconfiguration/readconfiguration.go +++ b/e2e/tests/readconfiguration/readconfiguration.go @@ -46,7 +46,7 @@ var _ = ginkgo.Describe("read-configuration command", ginkgo.Label("read-configu gomega.Expect(ok).To(gomega.BeTrue(), "configuration should be an object") gomega.Expect(config).To(gomega.HaveKeyWithValue("name", "Test Read Configuration")) gomega.Expect(config).To( - gomega.HaveKeyWithValue("image", "mcr.microsoft.com/devcontainers/base:ubuntu"), + gomega.HaveKeyWithValue("image", "ghcr.io/devsy-org/test-images/base:ubuntu"), ) gomega.Expect(config).To(gomega.HaveKey("features")) gomega.Expect(config).To( @@ -117,7 +117,7 @@ var _ = ginkgo.Describe("read-configuration command", ginkgo.Label("read-configu gomega.HaveKeyWithValue("remoteUser", "vscode"), ) gomega.Expect(merged).To( - gomega.HaveKeyWithValue("image", "mcr.microsoft.com/devcontainers/base:ubuntu"), + gomega.HaveKeyWithValue("image", "ghcr.io/devsy-org/test-images/base:ubuntu"), ) }, ginkgo.SpecTimeout(framework.TimeoutShort())) @@ -313,7 +313,7 @@ var _ = ginkgo.Describe("read-configuration command", ginkgo.Label("read-configu metadataLabel := `[{"remoteUser":"testuser","customizations":{"vscode":{"extensions":["ms-python.python"]}}}]` out, err := exec.CommandContext(ctx, "docker", "run", "-d", "--label", "devcontainer.metadata="+metadataLabel, - "mcr.microsoft.com/devcontainers/base:ubuntu", + "ghcr.io/devsy-org/test-images/base:ubuntu", "sleep", "infinity", ).Output() framework.ExpectNoError(err) diff --git a/e2e/tests/readconfiguration/testdata-container-env/.devcontainer/devcontainer.json b/e2e/tests/readconfiguration/testdata-container-env/.devcontainer/devcontainer.json index a1af7bf8e..9fb4c1f07 100644 --- a/e2e/tests/readconfiguration/testdata-container-env/.devcontainer/devcontainer.json +++ b/e2e/tests/readconfiguration/testdata-container-env/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ghcr.io/devsy-org/test-images/base:ubuntu", "containerEnv": { "TEST_META_VAR": "meta-test-value", "ANOTHER_VAR": "another-value" diff --git a/e2e/tests/readconfiguration/testdata-host-requirements/.devcontainer/devcontainer.json b/e2e/tests/readconfiguration/testdata-host-requirements/.devcontainer/devcontainer.json index 7ed7e3ec5..121b72f1f 100644 --- a/e2e/tests/readconfiguration/testdata-host-requirements/.devcontainer/devcontainer.json +++ b/e2e/tests/readconfiguration/testdata-host-requirements/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "Host Requirements Test", - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ghcr.io/devsy-org/test-images/base:ubuntu", "hostRequirements": { "cpus": 4, "memory": "8gb", diff --git a/e2e/tests/readconfiguration/testdata-port-attributes/.devcontainer/devcontainer.json b/e2e/tests/readconfiguration/testdata-port-attributes/.devcontainer/devcontainer.json index 07f617d4e..84ef3c1de 100644 --- a/e2e/tests/readconfiguration/testdata-port-attributes/.devcontainer/devcontainer.json +++ b/e2e/tests/readconfiguration/testdata-port-attributes/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "Port Attributes Test", - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ghcr.io/devsy-org/test-images/base:ubuntu", "forwardPorts": [8080, 9090], "portsAttributes": { "8080": { diff --git a/e2e/tests/readconfiguration/testdata-port-range/.devcontainer/devcontainer.json b/e2e/tests/readconfiguration/testdata-port-range/.devcontainer/devcontainer.json index d89862421..2bc1f8b38 100644 --- a/e2e/tests/readconfiguration/testdata-port-range/.devcontainer/devcontainer.json +++ b/e2e/tests/readconfiguration/testdata-port-range/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { "name": "Port Range Test", - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ghcr.io/devsy-org/test-images/base:ubuntu", "forwardPorts": [8080, "3000-3005"] } diff --git a/e2e/tests/readconfiguration/testdata/.devcontainer/devcontainer.json b/e2e/tests/readconfiguration/testdata/.devcontainer/devcontainer.json index ee5b9dd33..7c0b8b745 100644 --- a/e2e/tests/readconfiguration/testdata/.devcontainer/devcontainer.json +++ b/e2e/tests/readconfiguration/testdata/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "Test Read Configuration", - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "image": "ghcr.io/devsy-org/test-images/base:ubuntu", "features": { "ghcr.io/devcontainers/features/node:1": { "version": "18"