openshift / pipelines-vote-api Goto Github PK
View Code? Open in Web Editor NEWThis project forked from openshift-pipelines/vote-api
Voting app for Red Hat OpenShift Pipeline examples - API
License: Apache License 2.0
This project forked from openshift-pipelines/vote-api
Voting app for Red Hat OpenShift Pipeline examples - API
License: Apache License 2.0
The Pipeline run fines untill apply-manifests then fails on update deployment because :
STEP-APPLY
Applying manifests in k8s directory
deployment.apps/pipelines-vote-api created
service/pipelines-vote-api created
STEP-PATCH
Error from server (NotFound): deployments.apps "vote-api" not found
```sh
This looks like a regression as before , the pipeline would have created the resources below (**without the pipelines- prefix** :
deployment.apps/vote-api created
service/vote-api created
Steps to reproduce :
oc create -f https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/01_pipeline/01_apply_manifest_task.yaml
oc create -f https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/01_pipeline/02_update_deployment_task.yaml
oc create -f https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/01_pipeline/03_persistent_volume_claim.yaml
oc apply -f https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/01_pipeline/04_pipeline.yaml
# Lets start a pipeline to build and deploy backend application using tkn:
tkn pipeline start build-and-deploy \
-w name=shared-workspace,volumeClaimTemplateFile=https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/01_pipeline/03_persistent_volume_claim.yaml \
-p deployment-name=vote-api \
-p git-url=https://github.com/openshift/pipelines-vote-api/ \
-p git-revision=master \
-p IMAGE=image-registry.openshift-image-registry.svc:5000/$projectname/vote-api
# Similarly, start a pipeline to build and deploy frontend application:
tkn pipeline start build-and-deploy \
-w name=shared-workspace,volumeClaimTemplateFile=https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/01_pipeline/03_persistent_volume_claim.yaml \
-p deployment-name=vote-ui \
-p git-url=https://github.com/openshift/pipelines-vote-ui \
-p git-revision=master \
-p IMAGE=image-registry.openshift-image-registry.svc:5000/$projectname/vote-ui
tkn pipeline list
tkn pipelinerun ls
tkn pipeline logs -f
# get the route of the application by executing the following command and access the application
oc get route vote-ui --template='http://{{.spec.host}}'
Tekton CLI on WSL2 ( on Windows 11) :
tkn version
Client version: 0.22.0
Pipeline version: v0.24.3
Triggers version: v0.14.2
Red Hat OpenShift Pipelines1.5.2 provided by Red Hat installed on Azure RedHat OpenShift 4.8.18
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.