Giter Club home page Giter Club logo

Comments (1)

sakirma avatar sakirma commented on May 25, 2024

I could be wrong with the unit test. Having read the code, io.Discard is being used. But it does not make sense why my skaffold is receiving the env key instead of the value.

My skaffold looks like this:

apiVersion: skaffold/v4beta8
kind: Config
build:
  tagPolicy:
    customTemplate:
      template: "{{.USER}}_{{.HASH}}"
      components:
        - name: USER
          envTemplate:
            template: "{{.USER}}"
        - name: HASH
          sha256: {}
  artifacts:
    - image: "a image name comes here"
      context: .
      custom:
        buildCommand: "make docker_build_svc SVC={{.SERVICE}}"
        dependencies:
          paths:
            - "."
          ignore:
            - "svc/*/bin/**"
  local:
    push: false
deploy:
  helm:
    releases:
      - name: "{{.SERVICE}}"
        chartPath: "../core/charts/{{.SERVICE}}" # <---- this does not work
        namespace: nid
        upgradeOnChange: true
        valuesFiles:
          - "./default_svc_values.yaml"
          - "./services/{{.SERVICE}}.yaml"
        setValues:
          skaffold: "true"
          environment.LOG_FORMAT.value: "text"
        setValueTemplates:
          name: "{{.SERVICE}}"
          fullnameOverride: "{{.SERVICE}}"
          hosts[0]: "{{.SERVICE}}.{{.CLUSTER_HOST}}"
          image: "an image name comes here"
          imagePullPolicy: Never
          deploymentAnnotations.sidecar\.istio\.io/proxyCPU: "1m"
          deploymentAnnotations.sidecar\.istio\.io/proxyMemory: 16Mi
          istioVersion: "{{.ISTIO_VERSION}}"

The output that I am receiving is:

Starting deploy...
Loading images into kind cluster nodes...
 - an image name comes here -> Found
Images loaded in 49.08925ms
INFO[0002] Deploying with helm v3.12.2 ...               subtask=0 task=Deploy
INFO[0002] Building helm dependencies...                 subtask=0 task=Deploy
Error: could not find ../core/charts/{{.SERVICE}}: stat ../core/charts/{{.SERVICE}}: no such file or directory
deploying "wallet-gql": building helm dependencies: exit status 1

from skaffold.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.