Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Last active July 2, 2022 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vfarcic/4126890cbbad4eaeaa11153d7d4ad740 to your computer and use it in GitHub Desktop.
Save vfarcic/4126890cbbad4eaeaa11153d7d4ad740 to your computer and use it in GitHub Desktop.
# Source: https://gist.github.com/4126890cbbad4eaeaa11153d7d4ad740
################################################
# Automate Dependency Management With Renovate #
# https://youtu.be/bc1eamGq4Q4 #
################################################
# Additional Info:
# - Renovate: https://renovatebot.com
# - GitHub CLI - How to manage repositories more efficiently: https://youtu.be/BII6ZY2Rnlc
#########
# Setup #
#########
# Watch https://youtu.be/BII6ZY2Rnlc if you are not familiar with GitHub CLI
gh repo fork vfarcic/renovate-demo2 --clone
cd renovate-demo2
# Install Renovate GitHub App from https://github.com/marketplace/renovate
#####################################
# Manage Dependencies With Renovate #
#####################################
ls -1
# Open https://github.com/settings/installations
git pull
echo '
"kubernetes": {
"fileMatch": ["k8s/.+\\.yaml$"]
}
'
# Add to `renovate.json`
git add .
git commit -m "Added k8s to Renovate"
git push
cat k8s/hpa.yaml
# Open https://docs.renovatebot.com/configuration-options/
# Open https://docs.renovatebot.com/modules/platform/
# Open https://docs.renovatebot.com/modules/manager/
# Open https://docs.renovatebot.com/modules/datasource/
# Open https://docs.renovatebot.com/bazel
# Open https://www.mend.io/free-developer-tools/renovate/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment