cloud-native-toolkit / planning

The is the planning repo to manage the cross project Epics and Issues. Tasks and Bugs
3 stars 1 forks source link

Pipeline Tekton Error - TypeScript Graph QL Error #240

Open balasgit opened 4 years ago

balasgit commented 4 years ago

Describe the bug STEP 2: COPY dist ${HOME}/dist error building at STEP "COPY dist ${HOME}/dist": no files found matching "/workspace/source/dist": no such file or directory

To Reproduce https://github.com/IBM/template-graphql-typescript/generate Create from Template and CLone from Repo Change the name Deploy the apps via Tekton pipeline igc pipeline -n dev-aus-cp --tekton

Expected behavior Pipeline should be successful

Screenshots image

IBM Cloud Select the services and tools affected

Desktop (please complete the following information):

Additional context {"level":"info","ts":1585601402.0753891,"logger":"fallback-logger","caller":"logging/config.go:69","msg":"Fetch GitHub commit ID from kodata failed: \"KO_DATA_PATH\" does not exist or is empty"} STEP 1: FROM registry.access.redhat.com/ubi8/nodejs-10 Getting image source signatures Copying blob sha256:a8c836295c17de926f3362b1e7db37eb490901cbf8091aa7b9b8b53405fbfd88 Copying blob sha256:4f2e142420ca29120b15980321be7d44f1a1f18cb69036269ca205167e07cac3 Copying blob sha256:09b6da4767ca8166580c0ba93550db4df0e648afe41606f7681d222f130e7968 Copying blob sha256:219ba35fc5a01bbc2a9585f521ed80f5cc788d4a68388927205b567cf0c1beda Copying blob sha256:c82edda4182dc97c1bb0a0a84929f95fa98dd39113bb6b66dc079cc8a47f8530 Copying config sha256:44bb20e5a0cc165f5580c03e31bdac7d930e967de216fca8e79da95604acabf0 Writing manifest to image destination Storing signatures STEP 2: COPY dist ${HOME}/dist error building at STEP "COPY dist ${HOME}/dist": no files found matching "/workspace/source/dist": no such file or directory

balasgit commented 4 years ago

image

seansund commented 4 years ago

Can you share the logs from the test stages?

balasgit commented 4 years ago

test(4).log build(1).log

Here are the logs from the Test and Build stages from the pipeline which i retested with latest build..

I dont want to create another ticket but here is the summary of the 5 Code Patterns for OCP 4.3

image

Expectations:

  1. GitOps stage should nt fail
  2. Heath check
  3. Build Error