SWCE / keyval-resource

a resource that passes key values between jobs
Apache License 2.0
39 stars 16 forks source link

key/values not propogating into downstream tasks #8

Open warroyo opened 6 years ago

warroyo commented 6 years ago

I am seeing that when i have 2+ tasks in a job the key values are not being passed to the next task. both tasks have inputs and outputs for the key/values

regevbr commented 6 years ago

@ezraroi can you please check your pipeline cf file and see how we handle this scenario?

ezraroi commented 6 years ago

It is working fine.. Example of a job: image

regevbr commented 6 years ago

@ezraroi are you sure that changes in the first task propagate to the second task? I remember it does but can you see it in the ui?

warroyo commented 6 years ago

@ezraroi what does your task.yml file look like?

ezraroi commented 6 years ago
platform: linux

image_resource:
  type: docker-image
  source:
    repository: hub.docker.intel.com/swce-docker/pipeline-base

inputs:
  - name: tools
  - name: repo
  - name: keyval

outputs:
  - name: out
  - name: keyvalout

caches:
  - path: gradle
  - path: maven
  - path: npm

run:
  path: tools/tasks/task.sh
ezraroi commented 6 years ago

@regevbr we don not change values between steps... image

regevbr commented 6 years ago

Bummer, i think that is why we have so many jobs cause i couldn't get the changes to pass between tasks...

pk0024703 commented 5 years ago

is this resource working between jobs, has anyone been successful in getting it configured?