Fixed PR CI jobs
This commit is contained in:
parent
7a4b1c96bc
commit
d42758f54c
@ -39,6 +39,12 @@ spec:
|
||||
params:
|
||||
- name: TARGET
|
||||
value: "test"
|
||||
- name: REPO
|
||||
value: $(params.projectname)
|
||||
- name: PR_ID
|
||||
value: $(params.prid)
|
||||
- name: SHA
|
||||
value: $(params.gitrevision)
|
||||
resources:
|
||||
inputs:
|
||||
- name: src
|
||||
@ -55,6 +61,12 @@ spec:
|
||||
params:
|
||||
- name: TARGET
|
||||
value: "build"
|
||||
- name: REPO
|
||||
value: $(params.projectname)
|
||||
- name: PR_ID
|
||||
value: $(params.prid)
|
||||
- name: SHA
|
||||
value: $(params.gitrevision)
|
||||
resources:
|
||||
inputs:
|
||||
- name: src
|
||||
@ -75,6 +87,8 @@ spec:
|
||||
value: $(params.projectname)
|
||||
- name: PR_ID
|
||||
value: $(params.prid)
|
||||
- name: SHA
|
||||
value: $(params.gitrevision)
|
||||
resources:
|
||||
inputs:
|
||||
- name: src
|
||||
|
@ -14,7 +14,7 @@ spec:
|
||||
default: "pending"
|
||||
steps:
|
||||
- name: pr-status-update
|
||||
image: docker.cluster.fun/averagemarcus/gitea-pr-state:latest
|
||||
image: docker.cluster.fun/averagemarcus/gitea-pr-status:latest
|
||||
env:
|
||||
- name: ACCESS_TOKEN
|
||||
valueFrom:
|
||||
@ -22,6 +22,6 @@ spec:
|
||||
name: gitea-access-token
|
||||
key: access-token
|
||||
args:
|
||||
- "$(params.REPO)"
|
||||
- "AverageMarcus/$(params.REPO)"
|
||||
- "$(params.SHA)"
|
||||
- "$(params.STATE)"
|
||||
|
Loading…
Reference in New Issue
Block a user