@@ -23,7 +23,10 @@ concurrency:
23
23
jobs :
24
24
# This action extracts the new commits and performs checkpatch checks on it.
25
25
ci-checkpatch :
26
- runs-on : [self-hosted,esw_runner]
26
+ runs-on : [self-hosted,pg-embedded-runner]
27
+ container :
28
+ image : amr-registry-pre.caas.intel.com/pse-pswe-software-ba/embedded_coverity:ubuntu20.04.0_6
29
+ options : -v /mnt/nfs_share/site/proj/psg:/p/psg
27
30
# Check patch only can run at pull request as it is hard to determine the commit during the push event.
28
31
env :
29
32
GITHUB_EVENT_NAME : ${{ github.event_name }}
@@ -36,13 +39,14 @@ jobs:
36
39
37
40
- name : Checkpatch.pl
38
41
run : |
39
- git clone https://github.com/intel-sandbox/application.devops.github.pr.workflow
42
+ git config --global --add safe.directory /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}
43
+ git clone https://${{ secrets.GIT_USER }}:${{ secrets.GIT_TOKEN }}@github.com/intel-sandbox/application.devops.github.pr.workflow
40
44
cd application.devops.github.pr.workflow
41
45
git checkout master
42
- bash workflow_Checkpatch.sh ${{ github.workspace }} ${{ github.event.repository.name }} ${{ secrets.GITHUB_TOKEN }} ${{ github.event.pull_request.number }} ${{ github.head_ref }} ${{ github.base_ref }}
46
+ bash workflow_Checkpatch.sh ../ ${{ github.event.repository.name }} ${{ secrets.GITHUB_TOKEN }} ${{ github.event.pull_request.number }} ${{ github.head_ref }} ${{ github.base_ref }}
43
47
44
48
ci-coverity :
45
- runs-on : [self-hosted,build_server,pswe-ci-runner1.sj.altera.com ]
49
+ runs-on : [self-hosted,pg-embedded-runner ]
46
50
container :
47
51
image : amr-registry-pre.caas.intel.com/pse-pswe-software-ba/embedded_coverity:ubuntu20.04.0_6
48
52
env :
86
90
87
91
ci-coverity-parse-result :
88
92
needs : ci-coverity
89
- runs-on : [self-hosted,build_server,pswe-ci-runner1.sj.altera.com ]
93
+ runs-on : [self-hosted,pg-embedded-runner ]
90
94
container :
91
95
image : amr-registry-pre.caas.intel.com/pse-pswe-software-ba/embedded_coverity:ubuntu20.04.0_6
92
96
@@ -138,7 +142,7 @@ jobs:
138
142
# This action performs a build test using an ubuntu container.
139
143
ci-build :
140
144
# The type of runner that the job will run on
141
- runs-on : [self-hosted,build_server,pswe-ci-runner1.sj.altera.com ]
145
+ runs-on : [self-hosted,pg-embedded-runner ]
142
146
container :
143
147
image : amr-registry-pre.caas.intel.com/pse-pswe-software-ba/embedded_coverity:ubuntu20.04.0_6
144
148
env :
@@ -190,7 +194,7 @@ jobs:
190
194
191
195
# This action checks if there is any unaddressed comments or change request
192
196
ci-check-reviews :
193
- runs-on : [self-hosted,pswe-ci-runner1.sj.altera.com ]
197
+ runs-on : [self-hosted,pg-embedded-runner ]
194
198
steps :
195
199
- name : Check for unaddressed change requests
196
200
env :
@@ -208,7 +212,7 @@ jobs:
208
212
209
213
# This is the commit gate that ensures all required checks are passing before the PR is allowed to be merged.
210
214
ci-check-pr-status :
211
- runs-on : [self-hosted,pswe-ci-runner1.sj.altera.com ]
215
+ runs-on : [self-hosted,pg-embedded-runner ]
212
216
needs : [ci-coverity-parse-result, ci-verification, ci-checkpatch, ci-check-reviews]
213
217
steps :
214
218
- name : Check for unaddressed change requests
0 commit comments