Pin GitHub Actions to SHA + Dependabot (#62)
* feat(repo): Add dependabot * fix(ci): clean up * fix(gh-actions): pin to sha * fix(lint): fixing yaml lint * feat(repo): Add dependabot * fix(vagrant): up retry count to 60 because gh actions are sloooooow
This commit is contained in:
parent
56f8f21850
commit
74e1dc1dfe
11
.github/dependabot.yml
vendored
Normal file
11
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "pip"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
rebase-strategy: "auto"
|
||||||
|
ignore:
|
||||||
|
- dependency-name: "*"
|
||||||
|
update-types: ["version-update:semver-major"]
|
||||||
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -13,10 +13,10 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the codebase
|
- name: Check out the codebase
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # 3.0.2
|
||||||
|
|
||||||
- name: Set up Python 3.x
|
- name: Set up Python 3.x
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5 #4.0.2
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: Test
|
name: Test
|
||||||
"on":
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the codebase
|
- name: Check out the codebase
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # 3.0.2
|
||||||
|
|
||||||
- name: Install Ansible
|
- name: Install Ansible
|
||||||
run: brew install ansible
|
run: brew install ansible
|
||||||
@ -31,7 +31,7 @@ jobs:
|
|||||||
echo "* 192.168.30.0/24" | sudo tee -a /etc/vbox/networks.conf > /dev/null
|
echo "* 192.168.30.0/24" | sudo tee -a /etc/vbox/networks.conf > /dev/null
|
||||||
|
|
||||||
- name: Cache Vagrant boxes
|
- name: Cache Vagrant boxes
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # 3.0.8
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.vagrant.d/boxes
|
~/.vagrant.d/boxes
|
||||||
|
|||||||
2
vagrant/Vagrantfile
vendored
2
vagrant/Vagrantfile
vendored
@ -62,7 +62,7 @@ Vagrant.configure("2") do |config|
|
|||||||
"metal_lb_speaker_tag_version" => "v0.13.4",
|
"metal_lb_speaker_tag_version" => "v0.13.4",
|
||||||
"metal_lb_controller_tag_version" => "v0.13.4",
|
"metal_lb_controller_tag_version" => "v0.13.4",
|
||||||
"metal_lb_ip_range" => "192.168.30.80-192.168.30.90",
|
"metal_lb_ip_range" => "192.168.30.80-192.168.30.90",
|
||||||
"retry_count" => "30"}
|
"retry_count" => "60"}
|
||||||
}
|
}
|
||||||
ansible.host_vars = {
|
ansible.host_vars = {
|
||||||
"control1" => {
|
"control1" => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user