Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mapping for ssh property in build section #234

Merged
merged 3 commits into from Mar 10, 2022

Conversation

glours
Copy link
Contributor

@glours glours commented Mar 4, 2022

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
@glours glours requested a review from ndeloof as a code owner March 4, 2022 16:00
@glours glours self-assigned this Mar 4, 2022
@glours glours requested a review from ulyssessouza March 4, 2022 16:00
test:
build:
context: .
ssh: ssh-agent
Copy link
Collaborator

Choose a reason for hiding this comment

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

according to the spec proposal, should be default

types/types.go Outdated
@@ -426,6 +427,9 @@ func (l Labels) Add(key, value string) Labels {
return l
}

// SSHConfig is a mapping type for SSH build config
type SSHConfig map[string]string
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wonder SSHConfig should be a []SSHKey, the latter declared as struct { ID, Path }` (to match the spec)

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
@ndeloof
Copy link
Collaborator

ndeloof commented Mar 5, 2022

ready to merge, just waiting for compose-spec/compose-spec#234 to be approved

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
@hmajid2301
Copy link

Is this all good to merge now ? The spec has been approved ?

@ndeloof ndeloof merged commit b2e6407 into compose-spec:master Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants