|
65 | 65 | contains(steps.check-files.outputs.changed_files, 'argocd/applications/values.yaml') || |
66 | 66 | contains(steps.check-files.outputs.changed_files, 'on-prem-installers') || |
67 | 67 | contains(steps.check-files.outputs.changed_files, 'orch-configs') || |
68 | | - contains(steps.check-files.outputs.changed_files, 'installer/generate_cluster_yaml.sh') }} |
| 68 | + contains(steps.check-files.outputs.changed_files, 'on-prem-installers/onprem/generate_cluster_yaml.sh') }} |
69 | 69 | onboarding: ${{ contains(steps.check-files.outputs.changed_files, 'argocd/applications/templates/infra-') || contains(steps.check-files.outputs.changed_files, 'argocd/applications/values.yaml') }} |
70 | 70 | shell: ${{ contains(steps.check-files.outputs.changed_files, '.sh') || contains(steps.check-files.outputs.changed_files, '.bash') }} |
71 | 71 | terraform: ${{ contains(steps.check-files.outputs.changed_files, '.hcl') || contains(steps.check-files.outputs.changed_files, '.tf') || contains(steps.check-files.outputs.changed_files, '.tfvars') }} |
@@ -408,39 +408,6 @@ jobs: |
408 | 408 | with: |
409 | 409 | registry: 080137407410.dkr.ecr.us-west-2.amazonaws.com |
410 | 410 |
|
411 | | - - name: Build Cloud Installer and release bundle artifacts |
412 | | - run: | |
413 | | - mage installer:build |
414 | | - mage installer:bundle |
415 | | -
|
416 | | - - name: Scan Cloud Installer Image |
417 | | - uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # 0.34.2 |
418 | | - with: |
419 | | - image-ref: 080137407410.dkr.ecr.us-west-2.amazonaws.com/edge-orch/common/orchestrator-installer-cloudfull:${{ env.versionTag }} |
420 | | - format: table |
421 | | - output: "trivy-orchestrator-installer-cloudfull.txt" |
422 | | - ignore-unfixed: true |
423 | | - vuln-type: 'os,library' |
424 | | - severity: 'HIGH,CRITICAL' |
425 | | - exit-code: '0' |
426 | | - |
427 | | - - name: Calculate MD5 Checksum |
428 | | - id: checksum |
429 | | - run: | |
430 | | - md5sum_value=$(md5sum "trivy-orchestrator-installer-cloudfull.txt" | cut -d " " -f 1) |
431 | | - echo "md5sum is $md5sum_value" |
432 | | - echo "md5sum_value=$md5sum_value" >> "$GITHUB_ENV" |
433 | | -
|
434 | | - - name: Upload Trivy Image Scan Report |
435 | | - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
436 | | - with: |
437 | | - name: trivy-scan-report-orchestrator-installer-cloudfull-${{ env.md5sum_value }} |
438 | | - path: trivy-orchestrator-installer-cloudfull.txt |
439 | | - |
440 | | - - name: Publish Cloud Installer artifact |
441 | | - if: github.event_name == 'push' && ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/main-pass-validation' ) |
442 | | - run: mage publish:cloudInstaller |
443 | | - |
444 | 411 | - name: Build release manifest artifact |
445 | 412 | if: github.event_name == 'push' && ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/main-pass-validation' ) |
446 | 413 | run: | |
|
0 commit comments