Skip to content

Commit

Permalink
[integration] Upload packages to artifactory
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelHassine committed Oct 22, 2023
1 parent bb9a2e0 commit a57bc14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
11 changes: 3 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect, useState, useMemo } from 'react';
import React, { useState, useMemo } from 'react';
import * as R from 'ramda';
import { createFragmentContainer, graphql } from 'react-relay';
import RGL, { WidthProvider } from 'react-grid-layout';
Expand Down

0 comments on commit a57bc14

Please sign in to comment.