Compare commits

...

3 Commits

Author SHA1 Message Date
renovate-bot
ed7de3a399 ⬆️ Update dependency husky to v8
Some checks failed
renovate/artifacts Artifact file update failure
2022-05-10 08:58:03 +00:00
898e731351
Merge branch 'master' of ssh://git.sebclem.fr:222/ansible-roles/ansible-renovate-role 2022-05-10 10:39:11 +02:00
671a60164b
🔨 Remove docker user and add group-add 0 2022-05-10 10:38:28 +02:00
5 changed files with 4 additions and 9 deletions

View File

@ -1,7 +1,3 @@
{ {
"recommendations": [ "recommendations": ["redhat.ansible", "esbenp.prettier-vscode"]
"redhat.ansible",
"dhoeric.ansible-vault",
"esbenp.prettier-vscode"
]
} }

View File

@ -10,4 +10,4 @@ renovate_github_token: ""
renovate_log_level: info renovate_log_level: info
renovate_bot_username: renovate-bot renovate_bot_username: renovate-bot
renovate_webhook_secret: "" renovate_webhook_secret: ""
renovate_docker_user_group: "1000:1000" # renovate_docker_user_group: "1000:1000"

View File

@ -5,7 +5,7 @@
"author": "SebClem <seb6596@gmail.com>", "author": "SebClem <seb6596@gmail.com>",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"husky": "7.0.4", "husky": "8.0.1",
"lint-staged": "12.4.1", "lint-staged": "12.4.1",
"prettier": "2.6.2" "prettier": "2.6.2"
}, },

View File

@ -4,7 +4,6 @@ module.exports = {
endpoint: '{{ renovate_git_endpoint }}', endpoint: '{{ renovate_git_endpoint }}',
token: '{{ renovate_git_token }}', token: '{{ renovate_git_token }}',
platform: '{{ renovate_platform }}', platform: '{{ renovate_platform }}',
dockerUser: "{{ renovate_docker_user_group }}",
autodiscover: true, autodiscover: true,
onboardingConfig: { onboardingConfig: {
extends: ['config:base'], extends: ['config:base'],

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
docker run --pull always --rm -v "/etc/renovate/config.js:/usr/src/app/config.js" -v "/var/run/docker.sock:/var/run/docker.sock" -v /tmp:/tmp -u "{{ renovate_docker_user_group }}" --env GITHUB_COM_TOKEN="{{ renovate_github_token }}" --env LOG_LEVEL={{ renovate_log_level }} {{ renovate_image_name }}:{{ renovate_image_tag }} renovate "$@" docker run --pull always --group-add 0 --rm -v "/etc/renovate/config.js:/usr/src/app/config.js" -v "/var/run/docker.sock:/var/run/docker.sock" -v /tmp:/tmp -u "{{ renovate_docker_user_group }}" --env GITHUB_COM_TOKEN="{{ renovate_github_token }}" --env LOG_LEVEL={{ renovate_log_level }} {{ renovate_image_name }}:{{ renovate_image_tag }} renovate "$@"
docker image prune -f docker image prune -f