Skip to content

add mapping for ssh property in build section#234

Merged
ndeloof merged 3 commits intocompose-spec:masterfrom
glours:add-ssh-build
Mar 10, 2022
Merged

add mapping for ssh property in build section#234
ndeloof merged 3 commits intocompose-spec:masterfrom
glours:add-ssh-build

Conversation

@glours
Copy link
Collaborator

@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
}

// 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>
@glours glours force-pushed the add-ssh-build branch 2 times, most recently from 5ca58af to 814bb73 Compare March 10, 2022 09:37
@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.

3 participants