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

skaffold in a DevPod #39

Open
vfarcic opened this issue Aug 9, 2019 · 2 comments
Open

skaffold in a DevPod #39

vfarcic opened this issue Aug 9, 2019 · 2 comments

Comments

@vfarcic
Copy link
Owner

vfarcic commented Aug 9, 2019

In my case, the issue with DevPod is before the part you modified in the latest PR @joostvdg . When I execute the command that follows...

export UUID=$(uuidgen)

skaffold run --profile dev

The output is:

WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] config version (skaffold/v1beta2) out of date: upgrading to latest (skaffold/v1beta11)
FATA[0000] creating runner: invalid skaffold config: required value not set: image

Is that not happening in your case? If it isn't, the issue might be only with me and that would be good news.

@joostvdg
Copy link
Collaborator

I only got:

WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.

And

WARN[0000] config version (skaffold/v1beta2) out of date: upgrading to latest (skaffold/v1beta11)

I will do another round trip through the chapter.

@joostvdg
Copy link
Collaborator

Started from scratch, copying the commands from:

This is what I get:

[root@joostvdg-go go-demo-6]# export UUID=$(uuidgen)
[root@joostvdg-go go-demo-6]#
[root@joostvdg-go go-demo-6]# skaffold run --profile dev
WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] Using SKAFFOLD_DEPLOY_NAMESPACE env variable is deprecated. Please use SKAFFOLD_NAMESPACE instead.
WARN[0000] config version (skaffold/v1beta2) out of date: upgrading to latest (skaffold/v1beta11)
Generating tags...
 - vfarcic/go-demo-6 -> 10.0.8.24:5000/vfarcic/go-demo-6:463882cb-d3b2-4073-8726-c169b10eed9d

Are you sure you used an up-to-date go-demo-6 with the pull + merge from the buildpack branch?

In the master branch, the skaffold.yaml contains the default image name which is invalid:

apiVersion: skaffold/v1beta2
kind: Config
build:
  artifacts:
  - image: changeme
    context: .
    docker: {}

That might be what you saw?

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

No branches or pull requests

2 participants