Skip to content

Commit

Permalink
feat: remove docker execution, and put native as the only method
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ilgayev committed Nov 13, 2023
1 parent 710ee33 commit 7431704
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 967 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/verify-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true

jobs:
verify-standard:
verify:
runs-on: ubuntu-22.04
steps:
- name: Checkout Code
Expand All @@ -39,28 +39,6 @@ jobs:
curl -I https://cycode.com
wget --quiet --timeout 1 https://registry.npmjs.org || true
verify-standard-native:
runs-on: ubuntu-22.04
steps:
- name: Checkout Code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- name: Run Cimon
uses: ./
with:
client-id: ${{ secrets.CIMON_CLIENT_ID }}
secret: ${{ secrets.CIMON_SECRET }}
report-process-tree: true
fail-on-error: true
run-as-container: false
log-level: debug

- name: Test
run: |
curl -I https://api.github.com
curl -I https://cycode.com
wget --quiet --timeout 1 https://registry.npmjs.org || true
verify-fail-on-error:
runs-on: ubuntu-22.04
steps:
Expand Down
38 changes: 17 additions & 21 deletions README.md

Large diffs are not rendered by default.

18 changes: 0 additions & 18 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,6 @@ inputs:
description: Enable processing filesystem events and display them in the process tree report
required: false
default: 'false'
docker-image:
description: Docker image reference
required: true
default: docker.io/cycodelabs/cimon:v0.9.5
docker-image-pull:
description: Skip pulling image from registry (Used for debugging)
required: false
default: 'false'
docker-username:
description: Username to pull image from registry (Used for debugging)
required: false
docker-password:
description: Password to pull image from registry (Used for debugging)
required: false
log-level:
description: Log level (Used for debugging)
required: false
Expand All @@ -77,10 +63,6 @@ inputs:
description: Fail the CI if Cimon encountered an error
required: false
default: 'false'
run-as-container:
description: Run cimon as docker container (instead of running natively)
required: false
default: 'true'
release-path:
description: Path to Cimon release file (Used for debugging)
required: false
Expand Down
Loading

0 comments on commit 7431704

Please sign in to comment.