Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
test: common template rollout changes (#374)
Browse files Browse the repository at this point in the history
Co-authored-by: addonfactory <addonfactory@splunk.com>
  • Loading branch information
Ryan Faircloth and addonfactory committed Nov 2, 2021
1 parent 6ce894e commit 8b6ebe4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 630 deletions.
Empty file added .app-vetting.yaml
Empty file.
24 changes: 19 additions & 5 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: docker_action_meta
uses: docker/metadata-action@v3.5.0
uses: docker/metadata-action@v3.6.0
with:
images: ghcr.io/${{ github.repository }}/container
tags: |
Expand Down Expand Up @@ -145,7 +145,6 @@ jobs:
id: semgrep
uses: returntocorp/semgrep-action@v1
with:
publishDeployment: ${{ secrets.SEMGREP_DEPLOYMENT_ID }}
publishToken: ${{ secrets.SEMGREP_PUBLISH_TOKEN }}

snyk:
Expand Down Expand Up @@ -394,17 +393,32 @@ jobs:
- "future"
- "self-service"
- "splunk_appinspect"
- "manual"
steps:
- name: Checkout for manual tag
if: matrix.tags == 'manual'
uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: package-splunkbase
path: build/package/

- name: Scan
uses: splunk/appinspect-cli-action@v1
with:
app_path: build/package/
included_tags: ${{ matrix.tags }}
- name: upload-appinspect-for-manual
if: always() && matrix.tags == 'manual'
uses: actions/upload-artifact@v2
with:
name: appinspect_manual_checks.json
path: appinspect_result.json
- name: upload-manual-check-markdown
if: matrix.tags == 'manual'
uses: actions/upload-artifact@v2
with:
name: manual_check_markdown.txt
path: manual_check_markdown.txt

artifact-registry:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -435,12 +449,12 @@ jobs:
uses: docker/login-action@v1.10.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker meta
id: meta
uses: docker/metadata-action@v3.5.0
uses: docker/metadata-action@v3.6.0
with:
images: ghcr.io/${{ github.repository }}
tags: |
Expand Down
Loading

0 comments on commit 8b6ebe4

Please sign in to comment.