File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 1313 env :
1414 REGISTRY_ADDRESS : " ttl.sh/ptime/test:latest"
1515 REGISTRY_USERNAME : " joe"
16- # TODO
1716 REGISTRY_PASSWORD : ${{ secrets.REGISTRY_TOKEN }}
1817 DT_ADDRESS : " https://deptrack-test.ocp.cloudscale.puzzle.ch/api/v1/bom"
1918 DT_PROJECT_UUID : " 93394d20-7c48-4ecf-8caa-7fe63ae1a275"
20- # TODO
2119 DT_API_KEY : ${{ secrets.DT_API_KEY }}
2220 with :
2321 # Dagger Version
3331 # Dagger module to call. Local or Git
3432 module : .
3533 # Arguments to pass to CLI
36- args : ci-integration --pass=true --dir=./ --registry-address=${{ env.REGISTRY_ADDRESS }} --registry-username=${{ env.REGISTRY_USERNAME }} --registry-password=env:${{ env.REGISTRY_PASSWORD }} --dt-address=${{ env.DT_ADDRESS }} --dt-project-uuid=${{ env.DT_PROJECT_UUID }} --dt-api-key=env:${{ env. DT_API_KEY }} export --path=./reports/
34+ args : ci-integration --pass=true --dir=./ --registry-address=${{ env.REGISTRY_ADDRESS }} --registry-username=${{ env.REGISTRY_USERNAME }} --registry-password=env:${{ env.REGISTRY_PASSWORD }} --dt-address=${{ env.DT_ADDRESS }} --dt-project-uuid=${{ env.DT_PROJECT_UUID }} --dt-api-key=env:DT_API_KEY export --path=./reports/
3735 - name : Unittest Report
38363937 with :
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ func (m *Ci) PublishToDeptrack(
168168 // deptrack API key
169169 apiKey * dagger.Secret ,
170170 // deptrack project UUID
171- projectUUID string ,
171+ projectUUID string ,
172172) (string , error ) {
173173 return dag .Container ().
174174 From ("curlimages/curl" ).
@@ -254,9 +254,9 @@ func (m *Ci) Ci(
254254 // deptrack address for publishing the SBOM https://deptrack.example.com/api/v1/bom
255255 dtAddress string ,
256256 // deptrack project UUID
257- dtProjectUUID string ,
258- // deptrack API key
259- dtApiKey * dagger.Secret ,
257+ dtProjectUUID string ,
258+ // deptrack API key
259+ dtApiKey * dagger.Secret ,
260260 // ignore linter failures
261261 // +optional
262262 // +default=false
@@ -277,7 +277,7 @@ func (m *Ci) Ci(
277277 }
278278
279279 return & Results {
280- TestReports : testReports ,
280+ TestReports : testReports ,
281281 LintOutput : lintOutput ,
282282 SecurityScan : securityScan ,
283283 VulnerabilityScan : vulnerabilityScan ,
@@ -300,9 +300,9 @@ func (m *Ci) CiIntegration(
300300 // deptrack address for publishing the SBOM https://deptrack.example.com/api/v1/bom
301301 dtAddress string ,
302302 // deptrack project UUID
303- dtProjectUUID string ,
304- // deptrack API key
305- dtApiKey * dagger.Secret ,
303+ dtProjectUUID string ,
304+ // deptrack API key
305+ dtApiKey * dagger.Secret ,
306306 // ignore linter failures
307307 // +optional
308308 // +default=false
You can’t perform that action at this time.
0 commit comments