Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Error on unsupported flags#2039

Merged
mat007 merged 14 commits intomainfrom
error-on-unsupported-flags
Sep 21, 2021
Merged

Error on unsupported flags#2039
mat007 merged 14 commits intomainfrom
error-on-unsupported-flags

Conversation

@ulyssessouza
Copy link
Copy Markdown
Contributor

What I did
Add checks to ECS, ACI, and Kubernetes backends.

/test-kube
/test-aci
/test-ecs
/test-windows

@github-actions github-actions Bot added aci cli cli ecs kube Kubernetes backend labels Aug 24, 2021
Comment thread aci/compose.go Outdated
Comment thread aci/compose.go Outdated
Comment thread utils/check.go Outdated
Comment thread aci/compose.go Outdated
Comment thread aci/compose.go Outdated
Comment thread cli/config/flags.go Outdated
Comment thread utils/check.go Outdated
Comment thread utils/check.go Outdated
Comment thread kube/e2e/kube-simple-demo/demo_sentences.yaml
Comment thread kube/compose.go Outdated
@ulyssessouza ulyssessouza force-pushed the error-on-unsupported-flags branch from d18d5d3 to 813d7fa Compare September 14, 2021 08:58
Comment thread aci/compose.go Outdated
Comment thread aci/compose.go Outdated
Comment thread ecs/ps.go Outdated
@ulyssessouza ulyssessouza force-pushed the error-on-unsupported-flags branch from ae290f9 to eab85b4 Compare September 16, 2021 09:06
ulyssessouza and others added 11 commits September 17, 2021 10:19
This fixes project name's regexp

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
…nges

Signed-off-by: Massimo Re Ferre <massimo@it20.info>
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
@ulyssessouza ulyssessouza force-pushed the error-on-unsupported-flags branch from eab85b4 to fa7e063 Compare September 17, 2021 09:06
@github-actions github-actions Bot added api api ci Continuous integration labels Sep 17, 2021
@ulyssessouza ulyssessouza force-pushed the error-on-unsupported-flags branch from 059d3cd to 02003f4 Compare September 17, 2021 11:46
Comment thread utils/check.go Outdated
if err != nil {
return err
}
cc, err := s.Get(currentContext)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wouldn’t it be safer to load this (from disk) just once?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'll pass that in the context then

@ulyssessouza ulyssessouza force-pushed the error-on-unsupported-flags branch 2 times, most recently from cffd8f9 to 9138c31 Compare September 17, 2021 12:06
@ulyssessouza ulyssessouza force-pushed the error-on-unsupported-flags branch from 9138c31 to dc7422e Compare September 17, 2021 12:55
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
Copy link
Copy Markdown
Contributor

@mat007 mat007 left a comment

Choose a reason for hiding this comment

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

Thanks, looks good!

@mat007 mat007 merged commit ba40ef0 into main Sep 21, 2021
@mat007 mat007 deleted the error-on-unsupported-flags branch September 21, 2021 04:27
@mat007
Copy link
Copy Markdown
Contributor

mat007 commented Sep 21, 2021

Ah sorry, I think I merged a bit hastily as they were some errors. 😬

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

aci api api ci Continuous integration cli cli ecs kube Kubernetes backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants