pyth0n1c
5ecb9f5fbd
Tests were failing on GH Actions that should not have been failing. This is likely due to not enough time waiting for indexing to fail. Doubled the time we wait between indexing complete check. Also moved from hourly tests of all detections to daily.
2022-01-13 15:50:07 -08:00
pyth0n1c
cc90aca4b9
Fixed spacing in printouts for
...
detection-testing.yml
2022-01-13 10:35:23 -08:00
pyth0n1c
928797252d
Changed from
...
github.event.action to
github.event_name
2022-01-13 10:32:49 -08:00
pyth0n1c
da5e00e580
Added spaces to fix format of
...
github.event.action
2022-01-13 10:25:07 -08:00
pyth0n1c
77b5fde422
Fixed scheduled action for nightly test.
...
Now, it will hopefully only run the test of
the entire repo on the SCHEDULED
github.event.action, not on scheduled
event of any commit to the develop branch.
We have changed the schedule interval to
hourly for testing purposes today and will
change it back to nightly after today's testing.
2022-01-13 10:22:25 -08:00
pyth0n1c
8d669b66f8
Removing previous file that was added accidentally in last commit. Updating the detection-testing.yml file to remove ls of non-existant directory as intended
2022-01-12 16:17:38 -08:00
pyth0n1c
2cb3390164
Migrated the docker detection testing from
...
build-and-validate.yml into detection-testing.yml
workflow. Removed the unused AWS batch
testing workflow. This makes much more sense
2022-01-12 16:05:22 -08:00
d1vious
4bbe1891c3
moving under bin
2021-11-03 21:43:47 -04:00
pyth0n1c
fd2b5f1a88
Made an extra job that will not run
...
for dependabot
2021-09-08 12:55:34 -07:00
pyth0n1c
0d180eb74a
Don't run detection testing if the actor
...
is dependabot
2021-09-08 11:44:23 -07:00
pyth0n1c
2a33d7377f
Updated boto3 version in requirements.txt.
...
Removed extra python requirements
installation in detection-testing.
2021-09-02 16:10:16 -07:00
pyth0n1c
edff0a09f0
Updated requirements for the build-and-validate
...
workflow and the wheel install and pip upgrade
everywhere else. Going to run detection testing
on this and see if it's good.
2021-09-02 15:51:24 -07:00
pyth0n1c
756cb6e1d7
Using pip freeze to get all the new requirements
2021-09-02 15:30:24 -07:00
pyth0n1c
3b08a85330
Fixed testing so that it only runs on Push and Create/Reopen PR.
2021-08-31 11:56:18 -07:00
pyth0n1c
bddb7a7835
Fixed correct branch and PR number for both pushes and PRs for detection testing.
2021-08-30 14:41:20 -07:00
pyth0n1c
289360bc8d
Print out more env variables associated with pull request.
2021-08-30 14:35:20 -07:00
pyth0n1c
9ad3e184e2
Priting out pr number and ohter variables
2021-08-30 14:24:51 -07:00
pyth0n1c
8429e51863
Testing what is being passed to detectrion testing.
2021-08-30 14:18:46 -07:00
pyth0n1c
5bb24d5fc9
Fixed variable name for pull request number.
2021-08-30 13:22:47 -07:00
pyth0n1c
851e0bd536
Removed duplicate id from detection-testing.yml
2021-08-30 13:15:28 -07:00
pyth0n1c
c76f9c7c61
Fixed github actions testing behavior for Push vs PR for detection testing. Now checking out of proper source branch and running main.py on the proper source brach and PR number.
2021-08-30 13:14:15 -07:00
pyth0n1c
3d6b2e074d
Fixed detection testing to run on PR and push instead of just push. We were bailing on PR
2021-08-30 12:08:51 -07:00
pyth0n1c
7500d66b32
Fixing bad github_ref substitution due to spacing.
2021-08-30 12:03:47 -07:00
pyth0n1c
196a7a07f9
Wrong escape sequence for GITHUB_REF
2021-08-30 12:00:05 -07:00
pyth0n1c
621ecc8ab2
Testing the syntax for the source branch for a pull request.
2021-08-30 11:57:40 -07:00
pyth0n1c
a4b14ffc14
Reworking test flows after fixing 'waiting on result' issue. Rework detect6ion testing so that it runs on prs and pushes with approval and never runs on tags.
2021-08-27 10:44:10 -07:00
pyth0n1c
000e3ff036
Split validate-and-build into two separate files. Changed detection-testing to run on each commit instead of only tag. Detection testing also runs on current branch, not just develop.
2021-08-26 11:14:39 -07:00
pyth0n1c
0dd4c8ef65
Put requirement on tag validation for detection-testing.
2021-08-17 10:36:08 -07:00
pyth0n1c
87e1ef6dca
Changed all of the python versions from 3.9.5 to 3.9. We want the latest patch. If we just include the MAJOR.MINOR, the latest patch will always be used.
2021-08-16 13:06:13 -07:00
pyth0n1c
f2fa2bf079
Apparently, unless specified otherwise, exit returns most recent return code. Explicitly have it return 0 on success.
2021-08-10 11:56:02 -07:00
pyth0n1c
67c4c1fdb2
More verbose tag checking.
2021-08-10 11:51:30 -07:00
pyth0n1c
9c22253318
Adding the tag check to the semgrep.yml. Printing our the GITHUB_REF before checking it, because we seem to be failing for some reason on regular pushes.
2021-08-10 11:45:57 -07:00
pyth0n1c
ed50f77308
Changing the way that we validate the tag name for a tagged release.
2021-08-09 17:22:45 -07:00
pyth0n1c
274c1dd9a9
Just added a check for tag validation and put it at the beginning of all the workflows.
2021-08-09 16:33:10 -07:00
pyth0n1c
2ca826e4d9
Uncommented all the tests from before that were commented... making sure that the file lints and runs correctly before merging it into the develop branch.
2021-08-09 15:30:11 -07:00
pyth0n1c
981a894c34
Wrong argument to checkout - ref not branch
2021-08-09 13:53:09 -07:00
pyth0n1c
ce714fb714
Forgot to add username and email before committing.
2021-08-09 13:46:01 -07:00
pyth0n1c
607b5955ec
After our discussion, making everything much simpler by always pushing to develop. Test to see if this works.
2021-08-09 13:43:12 -07:00
pyth0n1c
81fb796b51
show-ref not git-ref
2021-08-09 11:21:15 -07:00
pyth0n1c
8557f7f4ed
git-ref printout
2021-08-09 11:18:06 -07:00
pyth0n1c
6b55e8765c
Fixed git ref?
2021-08-09 11:11:59 -07:00
pyth0n1c
d34a8c1cbc
fixed path so it isn't deleted
2021-08-09 11:06:12 -07:00
pyth0n1c
f58f77b552
Changed the path to the branch
2021-08-09 11:01:42 -07:00
pyth0n1c
e57c890f35
changed the path we are pushing to...
2021-08-09 10:55:09 -07:00
pyth0n1c
ddfeeea2ea
Deleted from the repo then updated what should be contained in the test file.
2021-08-09 10:49:55 -07:00
pyth0n1c
a1fee0c2d1
Added -f to push statement.
2021-08-09 10:42:22 -07:00
pyth0n1c
ad2530b790
Ensure that we are checking out the remote branch we want to modify...
2021-08-09 10:35:01 -07:00
pyth0n1c
cfa3f2a5f9
Full refspec path
2021-08-09 10:29:30 -07:00
pyth0n1c
234649a36e
Adding the github actor to the checkout step
2021-08-09 10:26:30 -07:00
pyth0n1c
85b69db698
Adding github token during original pull
2021-08-09 10:19:40 -07:00