28 lines
666 B
YAML
28 lines
666 B
YAML
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
|