Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test test test #189

Open
wants to merge 317 commits into
base: 54-Validate-nested-props
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
317 commits
Select commit Hold shift + click to select a range
b0e2a7a
mfa configuration #91
Mar 21, 2018
65ad4bb
Update Stack Mode #90
Mar 22, 2018
04c871f
fix logging
piwowarc Apr 4, 2018
84b4988
update README.md
piwowarc Apr 4, 2018
b720412
update README.md
piwowarc Apr 4, 2018
b2fdfdf
Merge pull request #105 from Appliscale/issue_103
afronski Apr 5, 2018
ac858c4
add specification inconsistencies configuration file
Apr 10, 2018
257b42b
add specification inconsistencies configuration file
Apr 10, 2018
877c047
Update README.md
afronski Apr 20, 2018
2760e2f
Merge pull request #108 from Appliscale/hall-of-fame-update
afronski Apr 20, 2018
67fcf8c
readmewithlogo
May 16, 2018
b5b29d1
Merge branch 'master' into readmelogo
afronski May 16, 2018
cf073cc
Merge pull request #112 from Appliscale/readmelogo
afronski May 16, 2018
5662e65
check for specification inconsistencies in offline validator
May 17, 2018
7e25a3f
add mfa command
piwowarc Jun 8, 2018
4e099f2
update README.md
piwowarc Jun 8, 2018
d1ad751
update README.md
piwowarc Jun 8, 2018
66e7ba2
add logging
piwowarc Jun 8, 2018
ce92f03
Merge pull request #115 from Appliscale/issue_114
Jun 8, 2018
80113ef
configuration file not required
piwowarc Jun 14, 2018
9464183
Merge branch 'master' into update-stack-mode
Jun 14, 2018
d4f0d32
Merge pull request #117 from Appliscale/issue_116
Jun 14, 2018
1b419af
Merge branch 'master' into mfa-configuration
Jun 14, 2018
35a8de0
Update Stack Mode #90
Jun 14, 2018
cf62612
Merge branch 'master' into mfa-configuration
Jun 18, 2018
191727b
MFA Configuration
Jun 18, 2018
215354a
Merge branch 'mfa-configuration' into update-stack-mode
Jun 18, 2018
849651d
Update Stack Mode
Jun 18, 2018
f88b9b7
Merge pull request #101 from Appliscale/mfa-configuration
Jun 18, 2018
d63fd03
Merge pull request #102 from Appliscale/update-stack-mode
Jun 18, 2018
4caddec
Stack Execution Progress #17
Feb 9, 2018
80bab3d
Named Mode Args #84
Feb 28, 2018
573ba26
Stack Execution Progress #17
Feb 9, 2018
121f12f
Named Mode Args #84
Feb 28, 2018
bf6cf69
Stack Parameters #16
Mar 7, 2018
d19fe95
Stack Parameters #16
Mar 7, 2018
4a972ed
Stack Parameters #16
Mar 8, 2018
b13a6bd
Stack Parameters #16
Mar 8, 2018
16f24ea
Stack Parameters #16
Mar 7, 2018
16ce4bb
Stack Parameters #16
Mar 8, 2018
a51b9a9
Merge remote-tracking branch 'origin/stack-parameters' into stack-par…
Mar 8, 2018
c29ef5a
simplifying the obtainResources function
jlampar Mar 8, 2018
041d3bd
simplifying the obtainResources function
jlampar Mar 8, 2018
dba90c9
unwinding the mysterious SFB
jlampar Mar 8, 2018
8184213
moving generics into helpers
jlampar Mar 9, 2018
64abbff
finding allowed values
Apr 4, 2018
b85ab93
finding_allowed_values
Apr 6, 2018
d9188fa
formatting
Apr 9, 2018
11b321e
allowedValues
Apr 11, 2018
a5010e1
allowed_values_fix
Apr 16, 2018
e366545
allowed_values_fix2
Apr 18, 2018
7880275
remove redundant functionality
piwowarc Apr 5, 2018
ff2b65a
typo
piwowarc Apr 5, 2018
d74919f
update .gitignore
piwowarc Apr 5, 2018
fafb87c
stackpolicy
Apr 23, 2018
db4f68d
stackpolicyv2
Apr 25, 2018
49d0439
stackpolicynewflags
Apr 30, 2018
173b0b5
stackpolicyerrors
May 9, 2018
a0e2791
protectingstacks
May 10, 2018
805dd13
protectingstackmain
May 15, 2018
bcf91ac
protectingstackutilities
May 15, 2018
d13ed9d
protectingstackreadme
May 15, 2018
9edd410
protectingstackreadme2
May 15, 2018
4396683
add updatestack
piwowarc Jun 25, 2018
b2d4211
fix test
piwowarc Jun 25, 2018
bebc9c0
fix create parameters arguments
piwowarc Jun 25, 2018
99ddd6d
Merge pull request #119 from Appliscale/release_2_0_rebase_master
Jun 25, 2018
59addb3
change expiration date format
piwowarc Jun 25, 2018
6bc6d9d
Merge branch 'master' into issue_120
piwowarc Jun 26, 2018
baa76d8
Merge pull request #121 from Appliscale/issue_120
Jun 26, 2018
7b68151
fix tests
piwowarc Jun 26, 2018
7521e45
Merge branch 'master' into issue_53
piwowarc Jun 27, 2018
ebfc5cc
Deletion Policy String Validation
Jun 27, 2018
8735016
update README.md
piwowarc Jun 28, 2018
9563990
Merge branch 'master' into deletion-policy-string-validation
Jun 28, 2018
d80ba8c
Merge pull request #123 from Appliscale/deletion-policy-string-valida…
Jun 28, 2018
36c8470
Merge branch 'master' into issue_53
piwowarc Jun 29, 2018
79a5a3b
Merge pull request #122 from Appliscale/issue_53
Jun 29, 2018
bddfc17
Change Set Support, this closes #125
Jul 2, 2018
b1a9351
Merge branch 'master' into change-set-support
Jul 3, 2018
23a16c9
Merge pull request #126 from Appliscale/change-set-support
Jul 3, 2018
f515a75
add support for nested templates
piwowarc Jul 3, 2018
338dfd1
travis
Jul 3, 2018
92d6025
add ability to configure temporary files directory path
piwowarc Jul 3, 2018
f08e31b
rpmbuild
Jul 3, 2018
7c73026
AWS Services Proxy
Jul 3, 2018
5f2a940
Merge branch 'master' into travis
SylwiaGargula Jul 4, 2018
fed494c
travis rpm
Jul 4, 2018
19929bb
add default value in main.yaml
piwowarc Jul 4, 2018
c263b4b
Merge pull request #129 from Appliscale/aws-services-proxy
Jul 4, 2018
d6e5570
Merge branch 'travis' of https://github.com/Appliscale/perun into travis
Jul 4, 2018
a4000bb
Merge branch 'master' into issue_124
piwowarc Jul 4, 2018
e626e23
code cleanup
piwowarc Jul 4, 2018
0aeee35
travis and deb
Jul 4, 2018
6266217
Merge pull request #127 from Appliscale/issue_124
Jul 5, 2018
2e0e796
travis token
Jul 5, 2018
7f20ae4
with script
Jul 5, 2018
a182e8f
afterdeploy
Jul 5, 2018
49ca2aa
Testing Around Perun
Jul 6, 2018
a8a2702
Parameters documentation
Jul 6, 2018
4d074c8
Merge branch 'master' into unit-tests
Jul 6, 2018
1e0f7a5
Merge pull request #130 from Appliscale/unit-tests
Jul 6, 2018
3aac3b7
Merge branch 'master' into parameters-documentation
Jul 6, 2018
6505f11
Merge pull request #131 from Appliscale/parameters-documentation
Jul 6, 2018
a45c6f5
aftertests
Jul 9, 2018
a0cc3d8
onlyecho
Jul 10, 2018
94a71a0
newtokenTest
Jul 10, 2018
9173d3f
installRPM
Jul 10, 2018
52febcb
specfile
Jul 10, 2018
3ea202f
path
Jul 11, 2018
23116e3
SPECS
Jul 11, 2018
6fc3781
Update RPM and DPKG by Travis CI
Jul 11, 2018
3b7e109
Update RPM and DPKG by Travis CI after release
Jul 12, 2018
98c8b22
Update packages by Travis CI. Perun version
Jul 12, 2018
217502c
Merge branch 'master' into travis
SylwiaGargula Jul 12, 2018
c5dc5e2
Basic Styling Guidelines #9
Jul 20, 2018
47c0fa9
Basic Styling Guidelines #9
Jul 20, 2018
3ce4016
Basic Styling Guidelines #9
Jul 20, 2018
50718b1
Basic Styling Guidelines
Jul 24, 2018
71d042c
Merge pull request #132 from Appliscale/basic-styling-guidelines
Jul 24, 2018
ab93658
Merge branch 'master' into travis
SylwiaGargula Jul 25, 2018
d7b6d23
Merge pull request #128 from Appliscale/travis
maxiwoj Jul 25, 2018
bfb6910
Validation modes merge #137
Jul 25, 2018
7b3205a
Validation modes merge #137
Jul 25, 2018
c81dbc4
Merge pull request #139 from Appliscale/validation-merge
maxiwoj Jul 25, 2018
8dcb0a3
travis token
Jul 27, 2018
66e361e
Validation readme update
Jul 27, 2018
23e01cc
Update README.md
maxiwoj Jul 27, 2018
ba1c1e2
Merge pull request #141 from Appliscale/validation-readme-update
maxiwoj Jul 27, 2018
6e4bf87
Merge branch 'master' into travisToken
SylwiaGargula Jul 30, 2018
d5d7b84
removing conversion
Aug 1, 2018
0bf0153
Delete mock_aws_api.go=-package
SylwiaGargula Aug 1, 2018
7aba3e1
Remove Windows Pipeline Support
Aug 1, 2018
dfc0804
Merge pull request #142 from Appliscale/removeconversion
maxiwoj Aug 1, 2018
58df3d8
Merge branch 'master' into travisToken
SylwiaGargula Aug 1, 2018
a5bda5b
Remove Windows Pipeline Support
Aug 1, 2018
11b018e
Merge remote-tracking branch 'origin/remove-windows-pipeline-support'…
Aug 1, 2018
cc5a715
Merge pull request #143 from Appliscale/remove-windows-pipeline-support
maxiwoj Aug 1, 2018
5f187f6
Merge branch 'master' into travisToken
SylwiaGargula Aug 6, 2018
c9df720
Validation on Stack creation
Aug 6, 2018
1220c25
Merge pull request #140 from Appliscale/travisToken
maxiwoj Aug 6, 2018
03d2481
Merge branch 'master' into validation-on-stack-creation
Aug 7, 2018
9ff43e7
Validation on stack creation
Aug 7, 2018
4a88b6f
Merge pull request #146 from Appliscale/validation-on-stack-creation
maxiwoj Aug 7, 2018
801fdac
first run
Aug 8, 2018
522bab1
Merge branch 'master' into firstrun
SylwiaGargula Aug 20, 2018
7d85d9f
Intristic function bug fix
Aug 7, 2018
0d9167a
Intristic function bug fix
Aug 23, 2018
8548cc9
Merge pull request #147 from Appliscale/intristic-function-bug-fix
maxiwoj Aug 23, 2018
1ecb7ce
Merge branch 'master' into firstrun
SylwiaGargula Aug 24, 2018
1733df0
first run
Aug 8, 2018
b38cdff
first run
Aug 24, 2018
8584709
conflicts
Aug 24, 2018
0a4450e
Request info replacement
Aug 27, 2018
3df2613
Merge pull request #150 from Appliscale/request-info-replacement
maxiwoj Aug 27, 2018
241f4db
Parameters validation Fix
Aug 27, 2018
2f33593
Merge pull request #151 from Appliscale/parameters-validation-fix
maxiwoj Aug 28, 2018
ea2925f
Remove config-install
Aug 28, 2018
7cb15c6
Remove config-install from .travis.yml
Aug 28, 2018
da33987
main.yaml for travis
Aug 28, 2018
aedd2e4
main.yaml for travis
Aug 28, 2018
52669ba
profile
Aug 28, 2018
182552b
creatingfiles
Aug 30, 2018
9f21717
Delete Change Set #153
Aug 31, 2018
fc195e8
Merge pull request #154 from Appliscale/delete-change-set
maxiwoj Aug 31, 2018
a8725bf
Merge branch 'master' into firstrun
SylwiaGargula Sep 3, 2018
12ec5e7
Merge pull request #148 from Appliscale/firstrun
maxiwoj Sep 3, 2018
0cefb53
fix bug
piwowarc Sep 5, 2018
bc87f52
update README.md
piwowarc Sep 5, 2018
37345f7
Merge pull request #155 from Appliscale/issue_152
maxiwoj Sep 5, 2018
b329e63
remowing main.yaml from release.sh
Sep 5, 2018
6be9486
Merge pull request #156 from Appliscale/mainYaml
maxiwoj Sep 12, 2018
fffa174
Configuration file test
Sep 17, 2018
d37bca5
Configuration Files Test
Sep 17, 2018
862c81a
Merge branch 'master' into configuration-file-test
Sep 17, 2018
68f0214
Merge pull request #157 from Appliscale/configuration-file-test
maxiwoj Sep 17, 2018
4c598c0
Unit Tests
Sep 20, 2018
449dfb8
dpkg
Sep 24, 2018
ac31802
Merge pull request #161 from Appliscale/packages
maxiwoj Sep 24, 2018
f0ab715
unit tests
Sep 25, 2018
994fc71
travis homebrew
Sep 25, 2018
99445ce
Unit Tests
Sep 25, 2018
126eaa0
formula.sh
Sep 26, 2018
d9101c3
Merge pull request #162 from Appliscale/homebrew
maxiwoj Sep 26, 2018
ef8b2a2
mocklogger
Sep 27, 2018
a868bae
mockLogger
Oct 3, 2018
6cfa786
Update README.md
maxiwoj Oct 4, 2018
f5af5eb
Update LICENSE
maxiwoj Oct 4, 2018
bfd7dd0
Merge pull request #163 from Appliscale/maxiwoj-patch-1
maxiwoj Oct 4, 2018
ae8232c
Merge branch 'master' into license-update
maxiwoj Oct 4, 2018
7dd212f
Go Docs
Oct 4, 2018
85817fd
Merge pull request #164 from Appliscale/license-update
maxiwoj Oct 4, 2018
16cede4
tests for creatingfiles
Oct 8, 2018
1186196
formatting
Oct 8, 2018
631f56c
Merge pull request #166 from Appliscale/unit-tests-first-run
maxiwoj Oct 8, 2018
68e70a0
godocs
Oct 10, 2018
8745162
Unit Tests
Oct 10, 2018
3668985
Unit Tests
Oct 12, 2018
939d1b2
Merge branch 'master' into unit-tests
maxiwoj Oct 15, 2018
fce2597
Merge pull request #167 from Appliscale/unit-tests
maxiwoj Oct 15, 2018
b07a014
description
Oct 15, 2018
f388a31
Merge branch 'master' into godocs
SylwiaGargula Oct 15, 2018
c24878f
Merge pull request #165 from Appliscale/godocs
maxiwoj Oct 15, 2018
f77c64b
Update README.md
maxiwoj Oct 22, 2018
644f9d7
Readme update
Oct 23, 2018
9f8bc33
Merge pull request #170 from Appliscale/readme-update
maxiwoj Oct 24, 2018
b9eeb2f
User Data Parsing Fix
Oct 26, 2018
9079fef
aws credentials
Oct 29, 2018
e757fc9
Merge pull request #171 from Appliscale/user-data-parsing-fix
maxiwoj Oct 29, 2018
aab9f09
aws credentials
Nov 14, 2018
00058de
remove environment variables
Nov 14, 2018
43fc1bc
tests - empty region
Nov 14, 2018
82e3226
aws credentials
Nov 21, 2018
72ede55
estimateCost mode
Nov 21, 2018
6c03afb
tests
Nov 28, 2018
a80e1f5
parsewriter
Nov 29, 2018
8683e69
without one test
Dec 3, 2018
34c9bd4
Merge branch 'master' into AWScredentials
SylwiaGargula Dec 3, 2018
bf9737a
Merge pull request #173 from Appliscale/estimateCost
maxiwoj Dec 3, 2018
4f5064f
logger and offline modes
Dec 4, 2018
0812608
Merge branch 'AWScredentials' of https://github.com/Appliscale/perun …
Dec 4, 2018
8fd7a78
Merge branch 'master' into AWScredentials
SylwiaGargula Dec 4, 2018
86457c2
import os
Dec 4, 2018
ed85607
creating files
Dec 5, 2018
9428471
Merge pull request #172 from Appliscale/AWScredentials
maxiwoj Dec 10, 2018
1463f3d
Fn::ImportValue
Dec 19, 2018
d38c347
importValue
Dec 19, 2018
16c789c
Merge branch 'master' into ImportValueBug
SylwiaGargula Jan 2, 2019
5dc47c9
Merge pull request #174 from Appliscale/ImportValueBug
maxiwoj Jan 2, 2019
2ad511c
Validation Namings
Jan 9, 2019
7f88303
Merge pull request #176 from Appliscale/validation_namings
maxiwoj Jan 15, 2019
936bb82
General Rules Validation Mechanism
Jan 15, 2019
1af5d8d
General Rules Validation Mechanism
Jan 17, 2019
9ce279a
Makefile GOPATH Evaluation Fix
Jan 17, 2019
1bf986a
Merge pull request #180 from Appliscale/Makefile-GOPATH-evaluation-fix
maxiwoj Jan 17, 2019
683dd53
Merge branch 'master' into general-rules-validation-mechanism
maxiwoj Jan 17, 2019
5ce4fb8
Merge pull request #178 from Appliscale/general-rules-validation-mech…
maxiwoj Jan 17, 2019
9c79288
Hackaton update test fix
maxiwoj Jan 17, 2019
53eddf6
Merge pull request #181 from Appliscale/maxiwoj-patch-1
maxiwoj Jan 17, 2019
ac57b1e
cost estimation mode review
Jan 21, 2019
30df153
Merge branch 'master' into TemplateCost
SylwiaGargula Jan 21, 2019
2e63218
Merge pull request #183 from Appliscale/TemplateCost
maxiwoj Jan 31, 2019
e3d46c4
regions
Feb 13, 2019
bad3f4f
regions
Feb 13, 2019
5899313
getAllRegions
Feb 18, 2019
3a0d400
mfa
Feb 18, 2019
a1e8ae8
error during mfa
Feb 18, 2019
11b3d24
Merge pull request #187 from Appliscale/ErrorDuringMFA
maxiwoj Feb 28, 2019
0a58c22
Merge branch 'master' into ResourceSpecificationURL
SylwiaGargula Mar 4, 2019
a4d1c73
Merge pull request #186 from Appliscale/ResourceSpecificationURL
maxiwoj Mar 4, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .Makefile.swp
Binary file not shown.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,5 @@ perun
# Local perun configuration:
.perun

# This is a temporary file which is being created when FixFunctions is called from intrinsicsolver package.
preprocessed.yml

# Internal Visual Studio Code config
.vscode
35 changes: 33 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,41 @@
language: go

sudo: required

go:
- 1.9.x

install: make config-install get-deps
env:
global:
- secure: "roiMALXQRkKKlPP+cbtac795XeHHnPrKvc6M8HjVa5gzL1SZXHDn/zvcvTc//AAMBFxZXb9+V+USrU3vNyzULIoh5j7nTOutPtik4WYLIfwADVgSxpiEG9jDBYp3DLlXMAMb5uJWRuG4DSSxpUGPFujQr9+aaUa0Lz6tsPUpE2/yaQfR5GmrAVteevkEZ0h18BxiRKsf4cRIGEQpwOSAQ+x66MlaEAn/kkprS4K9imniHeDRnz4TM75SAI7VZh9Fglv6gf8HTZ73EV1sGzsbG8+k1eO53UxMYR7YneB86ihKjRFuXSXzT8K0RdoACY6Muf81kwP5JUP3SLMaNgRTrdGmzOZ+yhJzfuey0b7i2llvGHrfKCmEIUzTYC5KZgvwblqwU97u55baJpAwQJgwPOKBO2RUvyzdK00t39kj+PpGrmyrW9evQ7mGk7o7txn4K1LJfCTn/fll1Y3B1poyiflYfQ4vlj7RgKSwAgIs36+yPhYF/m1K9I+jy8BRHPCZek3JJIMnKaW3OEBzpCRBoxxmMFomN8tq2Ygde5TUVxukAbZNIrlaPPWB5ZB6ZQ1hKol0yddkqOKxivGPQJaZthlt7eHpx4rAG+ZY1e706pG3iqYcTEVJTjPPzCaKdSpbFg3oKGet3ClimF0ycNpJRFQs2eveI3AkhVCN2Z4IWX8=" #Github

install:
- 'mkdir -p $HOME/.config/perun'
- 'cp defaults/main.yaml $HOME/.config/perun/main.yaml'
- make get-deps

script:
- make code-analysis
- make test
- make test

before_deploy:
- 'mkdir -p release'
- 'GOOS=linux GOARCH=amd64 go build -o release/perun-linux-amd64'
- 'GOOS=darwin GOARCH=amd64 go build -o release/perun-darwin-amd64'
- 'tar -C release -czf release/perun-linux-amd64.tar.gz perun-linux-amd64'
- 'tar -C release -czf release/perun-darwin-amd64.tar.gz perun-darwin-amd64'

deploy:
provider: releases
api_key:
secure: eLTZravNiDVvQ1dekb7NvWYJBIG2X6CzfHEqUKJ2JCDlKSqYXrvqZF/B3XxmYvmF1tEAmAa08LMDzzzApl9IML1DVSoW8i6uy+uetg+xbvumAf9fq14nMd0JQEEA1qruE7pwjyQs7h9gXYtyAR01CPhj/xNUQmYV1i8NCTHoljBkO+NsMFyi3WMbW7HTRQZQZXbPBagI06L3tSOCfN/w5KVmRsKFQ3lvmnzs+mTrIvOy2CBQC+0Cp3PQ/p7yyhEWRFd5J6n2jYGxneetnBq0FAfbOF4RIwvrWuu9XI/znxhYMOB5lra0qUwuG+prJStB6oaQ/vHStRcxQorV75Jtm4u/EHcFmmaxTQvPksdZQ8VSIbFonz1qbnuurP5sloiAR1RnJQtQWZKj7I7ioknEBh4kqCGvLUIbt0VpHTNoPKN0a8GYiPSE9UO6J+CNS+FR5mahW3xsHx5dHMV+R4mxcbt16dlg0g8m4tah06bd3P/t91kkgliTWmkHDMX4ES4hh+ribMnsLB0k7iqtuoO2P+gFn80CR5ooAX9Z3u8P8MaEovuPSaO7DqsGfX3uCaFInyBpc5EteCNwgN9dGAfh4mscJlijx28qgJ5quNU56fhcfQ8DoC5nXTM7RRRSu0OB1xSDa9OEf5Nh1AlkDwQKxjAYD+ujYFCXxqSWcntUbqE=
file:
- release/perun-linux-amd64.tar.gz
- release/perun-darwin-amd64.tar.gz
skip_cleanup: true
on:
tags: true

after_deploy:
- chmod +x release.sh
- ./release.sh $TRAVIS_TAG $Github
2 changes: 2 additions & 0 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@
- AWS API.
- https://github.com/go-ini/ini
- For handling AWS credential files.
- https://github.com/awslabs/goformation
- Library for working with AWS CloudFormation templates (capable of resolving the intrinsic functions).
14 changes: 11 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,22 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2017 Appliscale
Copyright 2018 Appliscale

Maintainers and Contributors:

- Piotr Figwer ([email protected])
- Wojciech Gawroński ([email protected])
- Kacper Patro ([email protected])

- Maksymilian Wojczuk ([email protected])
- Sylwia Gargula ([email protected])
- Mateusz Piwowarczyk ([email protected])
- Jakub Lamparski ([email protected])
- Michał Połcik ([email protected])
- Tomasz Raus ([email protected])
- Aleksander Mamla
- Paweł Pikuła
- Wojciech Gawroński

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
18 changes: 11 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
.PHONY: config-install get-deps code-analysis test all
.PHONY: get-deps code-analysis test all

all: get-deps code-analysis test

config-install:
mkdir -p "$(HOME)/.config/perun"
cp defaults/main.yaml "$(HOME)/.config/perun/main.yaml"

get-deps:
go get -t -v ./...
go install ./...
Expand All @@ -15,5 +11,13 @@ get-deps:
code-analysis: get-deps
go vet -v ./...

test: get-deps
go test -v -cover ./...
test: get-deps create-mocks
go test -cover ./...

create-mocks: get-mockgen
`go env GOPATH`/bin/mockgen -source=./awsapi/cloudformation.go -destination=./stack/stack_mocks/mock_aws_api.go -package=stack_mocks CloudFormationAPI
`go env GOPATH`/bin/mockgen -source=./logger/logger.go -destination=./checkingrequiredfiles/mocks/mock_logger.go -package=mocks LoggerInt

get-mockgen:
go get github.com/golang/mock/gomock
go install github.com/golang/mock/mockgen
Loading