buildpacks / tekton-integration

Buildpacks + Tekton
22 stars 3 forks source link

Update tekton task to Platform API 0.2 #2

Closed jromero closed 4 years ago

jromero commented 4 years ago

Update tekton template to adhere to Platform API version 0.2.

Additional Considerations

Acceptance Criteria

AC1. Platform API verification

Given the tekton task is configured for Platform API version 0.2
When I provide a builder with lifecycle implementing to Platform API version 0.3
Then task should fail with error message:
`Lifecycle's Platform API version is 0.3 which is incompatible with Platform API version 0.2`

Notes

Relates to:

Blocked by:

zmackie commented 4 years ago

Is there any sort of versioning associated with the template? Maybe that's something we should do (if possible).

jromero commented 4 years ago

I was thinking about this... We could create a yaml file per platform API version (or keep older versions in a directory). Otherwise I can't think of a versioning mechanism since it's not our repository.

natalieparellano commented 4 years ago

Acceptance steps:

To test persistent cache:

cc @micahyoung

dfreilich commented 4 years ago

@natalieparellano Was this taken care of?

natalieparellano commented 4 years ago

Yep!