Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/demisto/dockerfiles into …
Browse files Browse the repository at this point in the history
…Generic_SQL_docker
  • Loading branch information
dorschw committed Feb 4, 2024
2 parents 21a9cfa + 5ce5697 commit 7d2303a
Show file tree
Hide file tree
Showing 407 changed files with 36,034 additions and 23,475 deletions.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
jobs:
docker_build:
docker:
- image: devdemisto/dockerbuild:1.0.0.43365
- image: devdemisto/dockerbuild:1.0.0.84796
steps:
- checkout
- run:
Expand All @@ -10,6 +10,12 @@ jobs:
- run:
name: Validate Dependabot Config
command: ./docker/verify_dependabot.sh
- run:
name: Validate deprecated_images.json
command: python ./utils/validate_deprecated_dockers_json.py --exclude python --docker_dir docker --deprecated_path docker/deprecated_images.json
- run:
name: Run Pytest
command: export PYTHONPATH=$(pwd) && pytest
- setup_remote_docker:
version: 20.10.17
- add_ssh_keys:
Expand All @@ -23,6 +29,7 @@ jobs:
- store_artifacts:
path: artifacts
destination: docker_images
version: 2.1
workflows:
version: 2
full_build:
Expand Down
7 changes: 3 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/docker/*.json @glicht @anara123
/docker/verify_licenses.py @glicht @anara123

/docker/py3-native/Dockerfile @GuyAfik @JudahSchwartz @samuelFain
/docker/py3-native/pyproject.toml @GuyAfik @JudahSchwartz @samuelFain
/docker/py3-native/verify.py @GuyAfik @JudahSchwartz @samuelFain
/docker/py3-native/README.md @GuyAfik @JudahSchwartz @samuelFain
/docker/py3-native/Dockerfile @GuyAfik @samuelFain
/docker/py3-native/pyproject.toml @GuyAfik @samuelFain
/docker/py3-native/README.md @GuyAfik @samuelFain
112 changes: 35 additions & 77 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ updates:
directory: /docker/python
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/hashicorp
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/powershell-core
schedule:
Expand Down Expand Up @@ -85,10 +81,6 @@ updates:
directory: /docker/duoadmin
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/iputils
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/zeep
schedule:
Expand All @@ -109,10 +101,6 @@ updates:
directory: /docker/python3-deb
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/cloaken
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/boto3py3
schedule:
Expand All @@ -133,10 +121,6 @@ updates:
directory: /docker/netutils
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/uptycs
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/nltk
schedule:
Expand All @@ -145,14 +129,6 @@ updates:
directory: /docker/teams
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/pyjwt3
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/oauthlib
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/chromium
schedule:
Expand All @@ -173,10 +149,6 @@ updates:
directory: /docker/m2crypto
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/nmap
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/devo
schedule:
Expand All @@ -197,10 +169,6 @@ updates:
directory: /docker/marketo
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/winrm
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/dxl
schedule:
Expand All @@ -213,10 +181,6 @@ updates:
directory: /docker/google-cloud-translate
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/akamai
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/matplotlib
schedule:
Expand Down Expand Up @@ -297,10 +261,6 @@ updates:
directory: /docker/resilient
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/dnspython
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/py3ews
schedule:
Expand Down Expand Up @@ -331,6 +291,8 @@ updates:
interval: daily
- package-ecosystem: pip
directory: /docker/ntlm
ignore:
- dependency-name: "requests-ntlm"
schedule:
interval: daily
- package-ecosystem: pip
Expand Down Expand Up @@ -361,10 +323,6 @@ updates:
directory: /docker/argus-toolbelt
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/ssl-analyze
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/xslxwriter
schedule:
Expand All @@ -381,6 +339,8 @@ updates:
directory: /docker/ml
schedule:
interval: daily
ignore:
- dependency-name: scikit-learn
- package-ecosystem: pip
directory: /docker/fastapi
schedule:
Expand Down Expand Up @@ -451,10 +411,6 @@ updates:
directory: /docker/smbprotocol
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/opencti-v4
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/xgboost
schedule:
Expand Down Expand Up @@ -497,6 +453,9 @@ updates:
interval: daily
- package-ecosystem: pip
directory: /docker/py-ews
ignore:
- dependency-name: "requests-ntlm"
- dependency-name: "exchangelib"
schedule:
interval: daily
- package-ecosystem: pip
Expand Down Expand Up @@ -551,14 +510,6 @@ updates:
directory: /docker/vmware
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/azure-kusto-data
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/confluent-kafka
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/syslog
schedule:
Expand All @@ -575,6 +526,8 @@ updates:
directory: /docker/mlurlphishing
schedule:
interval: daily
ignore:
- dependency-name: scikit-learn
- package-ecosystem: pip
directory: /docker/py3-tools
schedule:
Expand Down Expand Up @@ -615,14 +568,6 @@ updates:
directory: /docker/gdetect
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/pydantic-jwt3
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/duoadmin3
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/pycountry
schedule:
Expand All @@ -643,10 +588,6 @@ updates:
directory: /docker/ippysocks-py3
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/joe-security
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/armorblox
schedule:
Expand All @@ -655,10 +596,6 @@ updates:
directory: /docker/keeper-ksm
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/cymruwhois
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/octoxlabs
schedule:
Expand All @@ -671,6 +608,9 @@ updates:
directory: /docker/panw-iot
schedule:
interval: daily
ignore:
- dependency-name: "pyasn1"
# Ignore all updates for pyasn1
- package-ecosystem: pip
directory: /docker/illumio
schedule:
Expand Down Expand Up @@ -712,14 +652,32 @@ updates:
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/fp-smc
directory: /docker/ldap
schedule:
interval: daily
interval: daily
- package-ecosystem: pip
directory: /docker/websockets
directory: /docker/auth-utils
schedule:
interval: daily
interval: daily
- package-ecosystem: pip
directory: /docker/ldap
directory: /docker/cyjax
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/elasticsearch
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/confluent-kafka
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/pytmv1
ignore:
- dependency-name: "pytmv1"
schedule:
interval: daily
- package-ecosystem: pip
directory: /docker/qrcode
schedule:
interval: daily
32 changes: 32 additions & 0 deletions .github/workflows/handle-new-contribution.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Handle New Contribution

on:
pull_request_target:
types: [opened, ready_for_review]

permissions:
contents: write
pull-requests: write
repository-projects: write

jobs:
assign_and_label:
runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.fork == true
steps:
- name: Add an assignee and a Contribution label
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
PR_URL: ${{github.event.pull_request.html_url}}
run: |
echo "get content_roles.json using curl"
contrib_tl=$( curl https://raw.githubusercontent.com/demisto/content/master/.github/content_roles.json | jq .CONTRIBUTION_TL -r )
echo "$contrib_tl"
echo "Finished retrieving the contribution TL username"
if [ $contrib_tl ]; then
echo "Add an assignee and a Contribution label"
gh pr edit --add-assignee "$contrib_tl" --add-label Contribution "$PR_URL"
else
echo "There was a problem with retrieving the GitHub user name of the contribution TL."
fi
2 changes: 1 addition & 1 deletion .github/workflows/native-docker-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@v41
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-script-update-notifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@v41
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
Expand Down
5 changes: 2 additions & 3 deletions .gitlab/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ variables:
GH_BRANCH: $CI_COMMIT_BRANCH
GH_COMMIT: $CI_COMMIT_SHA
trigger_job:
except:
- master
trigger:
strategy: depend
project: xsoar/Dockerfiles-CICD
project: ${CI_PROJECT_NAMESPACE}/dockerfiles-cicd

Loading

0 comments on commit 7d2303a

Please sign in to comment.