Skip to content
Snippets Groups Projects
Verified Commit f3c50a20 authored by Dominik Kaminski's avatar Dominik Kaminski :fire:
Browse files

ci(gitlab): Use external nameserver to resolve

parent fe71ac86
No related branches found
No related tags found
No related merge requests found
Pipeline #111886 failed
...@@ -98,12 +98,12 @@ update_clamav_db: ...@@ -98,12 +98,12 @@ update_clamav_db:
- git config --global user.name "openDesk ClamAV DB Mirror" - git config --global user.name "openDesk ClamAV DB Mirror"
# Ensure database files are using Git LFS # Ensure database files are using Git LFS
- git lfs track "*.cvd" "*.ndb" "*.cdb" "*.hdb" "*.hsb" "*.ldb" - git lfs track "*.cvd" "*.ndb" "*.cdb" "*.hdb" "*.hsb" "*.ldb" "*.cdiff
- git add .gitattributes - git add .gitattributes
# Check if there are any changes, add, commit, and push if needed # Check if there are any changes, add, commit, and push if needed
- if ! [[ `git status --porcelain` ]]; then exit; fi - if ! [[ `git status --porcelain` ]]; then exit; fi
- git add *.cvd *.ndb *.cdb *.hdb *.hsb *.ldb - git add *.cvd *.ndb *.cdb *.hdb *.hsb *.ldb *.cdiff
- git commit -m "Update ClamAV database files on $(date)" - git commit -m "Update ClamAV database files on $(date)"
- git push https://gitlab-ci-token:${CI_PUSH_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git HEAD:${CI_COMMIT_REF_NAME} - git push https://gitlab-ci-token:${CI_PUSH_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git HEAD:${CI_COMMIT_REF_NAME}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.