Commit Graph

93 Commits

Author SHA1 Message Date
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
pyth0n1c 0d16526223 More verbose push to solve detached head issue? 2021-08-09 10:13:12 -07:00
pyth0n1c 4849999140 Python requirements install failed due to later checkout. 2021-08-09 10:07:11 -07:00
pyth0n1c 92de174e14 Removed the checkout repo action and replaced it with manual git commands 2021-08-09 10:02:37 -07:00
pyth0n1c f12120e587 setting ident 2021-08-06 17:40:19 -07:00
pyth0n1c 171b888422 adding prints for each step 2021-08-06 17:35:40 -07:00
pyth0n1c c8b0c088c0 Newer workflow for git ops 2021-08-06 17:29:15 -07:00
pyth0n1c cb344bcc99 more verbose git pull 2021-08-06 16:40:46 -07:00
pyth0n1c 1b2cf75356 Get rid of the clone, do it the way that we tried before. 2021-08-06 16:35:30 -07:00
pyth0n1c fb971af706 Compute the branch name and set is as a variable so that it can be passed to the push action. 2021-08-06 16:30:37 -07:00
pyth0n1c 58b2fc67f2 change from colon to slash in github repo path 2021-08-06 16:24:22 -07:00