Skip to content

Commit

Permalink
Move all ci content (demisto#34396)
Browse files Browse the repository at this point in the history
* commit test

* delete all ci content without gitlab-ci file

* delete all scripts under Utils and Tests

* change ref to test_move_all_ci_content

* Empty commit

* Empty commit

* Empty commit

* Empty commit

* change mv to rsync for merge what that is under infra/Tests to Tests

* change rsync to cp with rm for merge what that is under infra/Tests to Tests

* Empty commit

* Adding logic for choosing a branch that exists in infra

* commit test

* change the checking if branch name exist

* commit test

* commit test

* remove all comments

* test

* commit test

* commit test

* commit

* test test

* commit

* commit

* revert all rules with regex

* Empty commit

* Empty commit

* Empty commit

* Empty commit

* Empty commit

* change the download_conf_repos file that not copy some files to content

* Empty commit

* add cp to google_secret_manager_handler and merge_and_delete_dev_secrets files

* Empty commit

* Empty commit

* Empty commit

* Empty commit

* Empty commit

* add conditions for include on gitlab-ci

* commit

* check if variable is undefined

* commit

* workaround to fail run validation

* commit

* Empty commit

* add conf.json

* commit

* Empty commit

* Empty commit

* Empty commit

* run content build on custom sdk

* Empty commit

* commit

* commit

* Empty commit

* test for regular build (FireEyeHX update docker)

* Empty commit

* commit

* commit

* commit

* commit

* commit

* commit

* fix request_contributor_review workflow

* commit

* corrections

* runs on move_all_ci_content

* Empty commit

* update poetry

* Empty commit

* commit

* add script_runner file

* delete script_runner file

* update poetry

* delete some files

* fix pre-commit in github workflow

* Empty commit

* commit

* commit

* commit

* commit

* disable coverage-pytest-analyze hooks in pre commit

* delete FireEye HX test

* END

---------

Co-authored-by: azonenfeld <[email protected]>
  • Loading branch information
israelpoli and aaron1535 authored May 21, 2024
1 parent ad52e9b commit 6db1d58
Show file tree
Hide file tree
Showing 785 changed files with 4,133 additions and 227,790 deletions.
9 changes: 3 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,9 @@ references:
poetry --version
# Check if CircleCI's config file and poetry files files are up to date
# if poetry isn't up-to-date, checkout from origin/master.
./Tests/scripts/is_file_up_to_date.sh .circleci/config.yml $CIRCLE_BRANCH
./Tests/scripts/is_file_up_to_date.sh poetry.lock $CIRCLE_BRANCH true
./Tests/scripts/is_file_up_to_date.sh pyproject.toml $CIRCLE_BRANCH true
./Tests/scripts/is_file_up_to_date.sh Tests/Marketplace/core_packs_list.json $CIRCLE_BRANCH true
./Tests/scripts/is_file_up_to_date.sh Tests/Marketplace/core_packs_mpv2_list.json $CIRCLE_BRANCH true
./Tests/scripts/is_file_up_to_date.sh Tests/Marketplace/core_packs_xpanse_list.json $CIRCLE_BRANCH true
./.circleci/is_file_up_to_date.sh .circleci/config.yml $CIRCLE_BRANCH
./.circleci/is_file_up_to_date.sh poetry.lock $CIRCLE_BRANCH true
./.circleci/is_file_up_to_date.sh pyproject.toml $CIRCLE_BRANCH true
echo 'export CIRCLE_ARTIFACTS="/home/circleci/project/artifacts"' >> $BASH_ENV
echo 'export PATH="/home/circleci/.local/bin:${PWD}/node_modules/.bin:${PATH}"' >> $BASH_ENV # disable-secrets-detection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BRANCH=$2
SHOULD_CHECKOUT=$3

if [[ -n $BRANCH ]]; then
BRANCH=$(git branch --show-current 2>/dev/null) || BRANCH=$(git rev-parse --head)
BRANCH=$(git branch --show-current 2>/dev/null) || BRANCH=$(git rev-parse --head)
fi

# Checks if there's any diff from master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-contributor-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ jobs:
echo "PR number is: $PR_NUMBER"
echo "Target branch name is: $BRANCH_NAME"
echo "Starting check of contributor packs"
poetry run python ./Utils/request_contributor_review.py --pr_number $PR_NUMBER --github_token $GITHUB_TOKEN --email_api_token $SENDGRID_EMAIL_API_KEY
poetry run python ./Utils/github_workflow_scripts/request_contributor_review.py --pr_number $PR_NUMBER --github_token $GITHUB_TOKEN --email_api_token $SENDGRID_EMAIL_API_KEY
echo "Finished check of contributor packs"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Integrations/*/*_unified.yml
Beta_Integrations/*/*_unified.yml
Packs/*/*/*/*_unified.yml
conftest.py
!Tests/scripts/dev_envs/pytest/conftest.py
!Tests/scripts/pytest/conftest.py
!Tests/tests_e2e/conftest.py
venv
failed_unittests.txt
Expand Down
Loading

0 comments on commit 6db1d58

Please sign in to comment.