-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add analytics event processing [IDE-736] (#712)
- Loading branch information
1 parent
69f162c
commit b9370c7
Showing
24 changed files
with
528 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,24 +133,30 @@ jobs: | |
chmod +x build/snyk-ls_linux_amd64_v1/snyk-ls | ||
build/snyk-ls_linux_amd64_v1/snyk-ls -licenses | ||
# we only want to upload when we consciously release, not on merge | ||
- name: Login to AWS | ||
if: {{ github.event_name == 'workflow_dispatch }} | ||
run: | | ||
.github/setup_aws_credentials.py \ | ||
--role-arn "arn:aws:iam::198361731867:role/Snyk-Assets-WriteOnly" \ | ||
--region "${{ secrets.AWS_REGION }}" | ||
- name: Upload binaries to static.snyk.io | ||
if: {{ github.event_name == 'workflow_dispatch }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
AWS_S3_BUCKET_NAME: ${{ secrets.AWS_S3_BUCKET_NAME }} | ||
run: | | ||
.github/upload-to-s3.sh | ||
# creating PR in cli repository needs ssh agent | ||
- uses: webfactory/[email protected] | ||
if: {{ github.event_name != 'workflow_dispatch }} | ||
with: | ||
ssh-private-key: ${{ secrets.TEAM_IDE_USER_SSH }} | ||
|
||
- name: Create PR in CLI to integrate LS | ||
if: {{ github.event_name != 'workflow_dispatch }} | ||
env: | ||
GH_TOKEN: ${{ secrets.HAMMERHEAD_GITHUB_PAT_SNYKLS }} | ||
GITHUB_TOKEN: ${{ secrets.HAMMERHEAD_GITHUB_PAT_SNYKLS }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.