Skip to content

Commit

Permalink
revert all tests related to docker registry container versions to 2.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zack-is-cool committed Apr 13, 2024
1 parent 59d43c1 commit e00cbdd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/zarf-registry/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ podLabels: {}

image:
repository: registry
tag: 3.0.0-alpha.1
tag: 2.8.3

service:
name: registry
Expand Down
2 changes: 1 addition & 1 deletion src/test/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (e2e *ZarfE2ETest) GetLogFileContents(t *testing.T, stdErr string) string {
// SetupDockerRegistry uses the host machine's docker daemon to spin up a local registry for testing purposes.
func (e2e *ZarfE2ETest) SetupDockerRegistry(t *testing.T, port int) {
// spin up a local registry
registryImage := "registry:3.0.0-alpha.1"
registryImage := "registry:2.8.3"
err := exec.CmdWithPrint("docker", "run", "-d", "--restart=always", "-p", fmt.Sprintf("%d:5000", port), "--name", fmt.Sprintf("registry-%d", port), registryImage)
require.NoError(t, err)
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/e2e/21_connect_creds_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestConnectAndCreds(t *testing.T) {

stdOut, stdErr, err = e2e.Zarf("tools", "registry", "ls", "127.0.0.1:31337/library/registry")
require.NoError(t, err, stdOut, stdErr)
require.Contains(t, stdOut, "3.0.0-alpha.1")
require.Contains(t, stdOut, "2.8.3")
stdOut, stdErr, err = e2e.Zarf("tools", "registry", "ls", "127.0.0.1:31337/grafana/promtail")
require.NoError(t, err, stdOut, stdErr)
require.Equal(t, stdOut, "")
Expand Down
4 changes: 2 additions & 2 deletions src/test/external/docker-registry-values.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
image:
repository: registry
tag: 3.0.0-alpha.1
tag: 2.8.3
pullPolicy: IfNotPresent
imagePullSecrets:
- name: private-registry
- name: private-registry

service:
name: registry
Expand Down

0 comments on commit e00cbdd

Please sign in to comment.