Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing Pipeline #1

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
21 changes: 21 additions & 0 deletions .pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: pipeline2
stages:
- name: clone
steps:
- sourceCodeConfig:
branch: master
branchCondition: only
sourceCodeCredentialId: user-rhjq4:cluster-5kdkp-github-tfiduccia
url: https://github.com/tfiduccia/pipeline-example.git
- name: build
steps:
- runScriptConfig:
image: node:latest
isShell: true
shellScript: ./build.js
- name: publish
steps:
- publishImageConfig:
buildContext: .
dockerfilePath: ./Dockerfile
tag: tfiduccia/pipeline-example:latest
15 changes: 15 additions & 0 deletions .rancher-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
stages:
- name: stage1
steps:
- runScriptConfig:
image: node:latest
shellScript: ./build.js
- name: stage2
steps:
- publishImageConfig:
dockerfilePath: ./Dockerfile
buildContext: .
tag: 'index.docker.io/tfiduccia/pipline-example: latest'
pushRemote: true
registry: index.docker.io
timeout: 60
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# pipeline-example
adding text to read.me
new stuff
this is for the pr request
more text for pr
aaaa
bbbbb