Fix copy-pasta. Add description.
This commit is contained in:
parent
c73978c992
commit
30d55685bc
|
|
@ -6,15 +6,10 @@ spec:
|
|||
workspaces:
|
||||
- name: source
|
||||
steps:
|
||||
- image: harbor.internal.jpace121.net/k8s/ansible-podman:latest
|
||||
- image: harbor.internal.jpace121.net/k8s/limbo_builder:latest
|
||||
script: |
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
cp -r $(workspaces.ssh-directory.path) ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
chmod -R 400 ~/.ssh/*
|
||||
ssh-keyscan -H -p 2222 git.jpace121.net >> ~/.ssh/known_hosts
|
||||
|
||||
cd $(workspaces.source.path)
|
||||
just ci/build
|
||||
just ci/test
|
||||
|
|
@ -44,6 +44,8 @@ spec:
|
|||
params:
|
||||
- name: git-owner
|
||||
value: limbo
|
||||
- name: description
|
||||
value: "Auto trigger build via tekton."
|
||||
- name: git-repo-name
|
||||
value: $(params.gitea-repo-name)
|
||||
- name: name
|
||||
|
|
|
|||
Loading…
Reference in New Issue