Skip to content

Update Test Coverage for Secrets#6651

Merged
crazy-max merged 1 commit intomoby:masterfrom
ngebremariam-msft:master
Apr 8, 2026
Merged

Update Test Coverage for Secrets#6651
crazy-max merged 1 commit intomoby:masterfrom
ngebremariam-msft:master

Conversation

@ngebremariam-msft
Copy link
Copy Markdown
Contributor

frontend\dockerfile\dockerfile_secrets_test.go

Fixed the skips and provided Linux and Windows compatibility with summary:

  • testSecretAsEnviron
  • testSecretRequiredWithoutValue

Continued to skip while providing detailed explanations:

  • testSecretFileParams
  • testSecretAsEnvironWithFileMount

This pull request ensures that the integration tests are up to-date with regard to Windows compatibility.

require.NoError(t, err)
}

/*
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use line-comments.

Implementation details inside the test.

Avoid things like "Cross-platform via integration.UnixOrWindows (busybox / nanoserver)" that do not add anything that can't be seen from source.

Copy link
Copy Markdown
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this contains unrelated changes.

Comment thread hack/dockerfiles/doctoc.Dockerfile Outdated

FROM base AS doctoc
RUN npm install -g doctoc
RUN npm install -g doctoc@2.3.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has been fixed in #6660, needs rebase

Signed-off-by: Natnael Gebremariam <ngebremariam@microsoft.com>
@crazy-max crazy-max merged commit fa19659 into moby:master Apr 8, 2026
224 of 225 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants