initial commit
This commit is contained in:
27
riscv/argo-workflows/templates/input-artifact-git.yaml
Normal file
27
riscv/argo-workflows/templates/input-artifact-git.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Workflow
|
||||
metadata:
|
||||
generateName: input-artifact-git-
|
||||
name: input-artifact-git
|
||||
namespace: argo
|
||||
spec:
|
||||
entrypoint: git-clone
|
||||
templates:
|
||||
- name: git-clone
|
||||
inputs:
|
||||
artifacts:
|
||||
- name: argo-source
|
||||
path: /src
|
||||
git:
|
||||
repo: https://gitea-riscv/allard/olproperties.git
|
||||
usernameSecret:
|
||||
name: github-creds
|
||||
key: username
|
||||
passwordSecret:
|
||||
name: github-creds
|
||||
key: password
|
||||
container:
|
||||
image: allardkrings/riscv64-maven
|
||||
command: [sh, -c]
|
||||
args: ["git status && ls && cat VERSION"]
|
||||
workingDir: /src
|
||||
Reference in New Issue
Block a user