-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[integration] Upload packages to artifactory
- Loading branch information
1 parent
bb9a2e0
commit a57bc14
Showing
2 changed files
with
4 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,11 +102,7 @@ jobs: | |
steps: | ||
- attach_workspace: | ||
at: ~/ | ||
- add_ssh_keys | ||
- run: sudo apt-get update -qq && sudo apt install curl | ||
- run: ssh-keyscan -H opencti.io >> ~/.ssh/known_hosts | ||
- run: git config --global user.email "[email protected]" && git config --global user.name "OpenCTI CircleCI" | ||
- run: git remote add opencti ssh://[email protected]:/~/git-OLOszi5F.git && git push --force opencti master | ||
- run: mkdir release | ||
- run: rm -Rf ./opencti-platform/opencti-graphql/.yarn/cache | ||
- run: cp -a ./opencti-platform/opencti-graphql release/opencti | ||
|
@@ -118,7 +114,7 @@ jobs: | |
command: tar -zcvf "opencti-$(date '+%Y%m%d').tar.gz" opencti | ||
- run: | ||
working_directory: ~/opencti/release | ||
command: scp "opencti-$(date '+%Y%m%d').tar.gz" [email protected]:/dns/io/opencti/releases/ | ||
command: curl [email protected]:$JFROG_TOKEN -T opencti-$(date '+%Y%m%d').tar.gz "https://filigran.jfrog.io/artifactory/opencti/opencti-$(date '+%Y%m%d').tar.gz" | ||
- slack/notify: | ||
event: fail | ||
template: basic_fail_1 | ||
|
@@ -135,8 +131,7 @@ jobs: | |
- attach_workspace: | ||
at: ~/ | ||
- add_ssh_keys | ||
- run: sudo apt-get update -qq && sudo apt install curl | ||
- run: ssh-keyscan -H opencti.io >> ~/.ssh/known_hosts | ||
- run: sudo apt-get update -qq && sudo apt install curl | ||
- run: mkdir release | ||
- run: rm -Rf ./opencti-platform/opencti-graphql/.yarn/cache | ||
- run: cp -a ./opencti-platform/opencti-graphql release/opencti | ||
|
@@ -148,7 +143,7 @@ jobs: | |
command: tar -zcvf "opencti-$(date '+%Y%m%d')_musl.tar.gz" opencti | ||
- run: | ||
working_directory: ~/opencti_musl/release | ||
command: scp "opencti-$(date '+%Y%m%d')_musl.tar.gz" [email protected]:/dns/io/opencti/releases/ | ||
command: curl [email protected]:$JFROG_TOKEN -T opencti-$(date '+%Y%m%d').tar.gz "https://filigran.jfrog.io/artifactory/opencti/opencti-$(date '+%Y%m%d').tar.gz" | ||
- slack/notify: | ||
event: fail | ||
template: basic_fail_1 | ||
|
2 changes: 1 addition & 1 deletion
2
opencti-platform/opencti-front/src/private/components/workspaces/dashboards/Dashboard.jsx
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