File tree Expand file tree Collapse file tree 3 files changed +31
-7
lines changed Expand file tree Collapse file tree 3 files changed +31
-7
lines changed Original file line number Diff line number Diff line change
1
+ on : [push, pull_request]
2
+ name : Test
3
+ jobs :
4
+ test :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - name : Install Go
8
+ uses : actions/setup-go@v2
9
+ with :
10
+ go-version : ' ^1.15.0'
11
+ - name : Checkout code
12
+ uses : actions/checkout@v2
13
+ - name : Install dependencies
14
+ run : go install .
15
+ - name : Check resources command
16
+ run : go run main.go resources --config config/config.example.yaml
17
+ - name : Test
18
+ run : go test .
Original file line number Diff line number Diff line change 1
1
# reka
2
2
> Never forget that instance running again
3
3
4
+ <br >
5
+
6
+ [ ![ Build Status] ( https://github.com/mensaah/reka/workflows/Test/badge.svg )] ( https://github.com/mensaah/reka/actions )
7
+
8
+
4
9
A Cloud Infrastructure Management Tool to stop, resume, clean and destroy resources based on tags
5
10
6
11
### Project Name
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ name: reka
9
9
# Providers to be enabled for reka
10
10
providers :
11
11
- aws
12
+ - gcp
12
13
# logPath: /path/to/logs/dir/
13
14
14
15
# Time to refresh resources in hours
@@ -61,18 +62,18 @@ rules:
61
62
startDay : Monday
62
63
stopDay : Friday
63
64
region : " us-east-2"
64
- - name : Delete all tests instances older than 24hrs (test)
65
- tags :
66
- env : test
67
- ci : true
68
- condition :
69
- terminationPolicy : older than 24hrs
65
+ # - name: Delete all tests instances older than 24hrs (test)
66
+ # tags:
67
+ # env: test
68
+ # ci: true
69
+ # condition:
70
+ # terminationPolicy: older than 24hrs
70
71
- name : Nuke all project A instances after Demo october 9th (staging)
71
72
tags :
72
73
env : staging
73
74
project : A
74
75
condition :
75
- terminationDate : october 9
76
+ terminationDate : " 2020-11-05 11:00 "
76
77
- name : Delete all unused instances older than 48hrs (staging)
77
78
tags :
78
79
env : staging
You can’t perform that action at this time.
0 commit comments