Skip to content

Commit

Permalink
chore(snyk): remove the snyk image (#349)
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Chaudhary <[email protected]>
  • Loading branch information
ispeakc0de authored Apr 20, 2023
1 parent 749869e commit 35eff9e
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 63 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ jobs:
mongo-utils: ${{ steps.filter.outputs.mongo-utils }}
litmusctl: ${{ steps.filter.outputs.litmusctl }}
litmus-redis-load: ${{ steps.filter.outputs.litmus-redis-load }}
litmus-snyk-image: ${{ steps.filter.outputs.litmus-snyk-image }}
litmus-helm-agent: ${{ steps.filter.outputs.litmus-helm-agent }}
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -142,8 +141,6 @@ jobs:
- 'custom/litmusctl/**'
litmus-redis-load:
- 'custom/workflow-helper/redis-helper/load-gen/**'
litmus-snyk-image:
- 'custom/security/snyk/**'
litmus-helm-agent:
- 'custom/litmus-helm-agent/**'
Expand Down Expand Up @@ -257,17 +254,6 @@ jobs:
- name: Building cassandra-client image
run: make cassandra-client

litmus-snyk-image:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.litmus-snyk-image == 'true'
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Building litmus-snyk-image image
run: make litmus-snyk-image

litmus-argocli:
runs-on: ubuntu-latest
needs: changes
Expand Down
14 changes: 1 addition & 13 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:
mongo-utils: ${{ steps.filter.outputs.mongo-utils }}
litmusctl: ${{ steps.filter.outputs.litmusctl }}
litmus-redis-load: ${{ steps.filter.outputs.litmus-redis-load }}
litmus-snyk-image: ${{ steps.filter.outputs.litmus-snyk-image }}
litmus-helm-agent: ${{ steps.filter.outputs.litmus-helm-agent }}

steps:
Expand Down Expand Up @@ -150,8 +149,6 @@ jobs:
- 'custom/litmusctl/**'
litmus-redis-load:
- 'custom/workflow-helper/redis-helper/load-gen/**'
litmus-snyk-image:
- 'custom/security/snyk/**'
litmus-helm-agent:
- 'custom/litmus-helm-agent/**'
Expand Down Expand Up @@ -262,16 +259,7 @@ jobs:
run: |
make docker.buildx
make _push_litmus_git_app_checker
litmus-snyk-image:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.litmus-snyk-image == 'true'
steps:
- uses: actions/checkout@v2
- name: Building litmus-snyk-image image
run: make litmus-snyk-image

litmus-k8s:
runs-on: ubuntu-latest
needs: changes
Expand Down
12 changes: 0 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -425,16 +425,6 @@ _push_litmus_redis_load:

litmus-redis-load: deps _build_litmus_redis_load _push_litmus_redis_load

_build_litmus_snyk:
@echo "INFO: Building container image for litmuschaos/snyk"
cd custom/security/snyk/ && docker build -t litmuschaos/snyk:1.0 .

_push_litmus_snyk:
@echo "INFO: Publish container litmuschaos/litmuschaos/snyk"
cd custom/security/snyk/ && ./buildscripts/push

litmus-snyk-image: deps _build_litmus_snyk _push_litmus_snyk

PHONY: go-build
go-build: experiment-go-binary

Expand Down Expand Up @@ -465,5 +455,3 @@ _build_litmus_helm_agent:
_push_litmus_helm_agent:
@echo "INFO: Publish container litmuschaos/litmus-helm-agent"
cd custom/litmus-helm-agent/ && ./buildscripts/push

litmus-snyk-image: deps _build_litmus_snyk _push_litmus_snyk
10 changes: 0 additions & 10 deletions custom/security/snyk/Dockerfile

This file was deleted.

14 changes: 0 additions & 14 deletions custom/security/snyk/buildscripts/push

This file was deleted.

0 comments on commit 35eff9e

Please sign in to comment.