Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -641,20 +641,6 @@ workflows:
requires:
- prepare-build

- regression-tests:
name: regression-tests
context:
- team_hammerhead-cli
- devex_cli_docker_hub
filters:
branches:
ignore:
- main
- '/release.*/'
requires:
- build linux amd64
test_snyk_command: ./binary-releases/snyk-linux

- acceptance-tests:
name: acceptance-tests linux static arm64
go_target_os: linux
Expand Down Expand Up @@ -1486,36 +1472,6 @@ jobs:
- store_artifacts:
path: test/reports

regression-tests:
parameters:
test_snyk_command:
type: string
default: /mnt/ramdisk/snyk/binary-files/snyk-linux
executor: docker-amd64
working_directory: /mnt/ramdisk/snyk
steps:
- prepare-workspace
- run:
name: Install ShellSpec Deps
command: |
./test/smoke/install-shellspec.sh --yes
sudo ln -s ~/.local/lib/shellspec/shellspec /usr/local/bin/shellspec
- run:
name: Installing test fixture dependencies
working_directory: ./test/fixtures/basic-npm
command: npm i
- run:
name: Installing Snyk CLI
command: |
sudo ln -s $(realpath << parameters.test_snyk_command >>) /usr/local/bin/snyk
snyk --version
- run:
name: Running ShellSpec tests
working_directory: ./test/smoke
command: |
echo "Checkout the README in test/smoke folder for more details about this step"
shellspec -f d -e REGRESSION_TEST=1 -e PIP_BREAK_SYSTEM_PACKAGES=1

sign:
parameters:
go_os:
Expand Down
199 changes: 0 additions & 199 deletions .github/workflows/smoke-tests.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test/acceptance/workspaces/**/Package.resolved
test/**/.gradle
.iac-data
.dccache
!test/smoke/.iac-data
!test/jest/unit/iac/fixtures/.iac-data
test-output
test-results
tap-output
Expand Down
41 changes: 0 additions & 41 deletions scripts/run-smoke-tests-locally.sh

This file was deleted.

4 changes: 2 additions & 2 deletions test/jest/unit/iac/file-scanner.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ describe('scanFiles', () => {
it('returns the expected violated policies', async () => {
const policyEngineCoreDataPath = path.resolve(
__dirname,
path.normalize('../../../smoke/.iac-data'),
path.normalize('./fixtures/.iac-data'),
);
const policyEngineMetaDataPath = path.resolve(
__dirname,
path.normalize('../../../smoke/.iac-data'),
path.normalize('./fixtures/.iac-data'),
);

const spy = jest
Expand Down
1 change: 0 additions & 1 deletion test/smoke/.shellspec

This file was deleted.

Loading