Skip to content

v0.3.0

Choose a tag to compare

@bot-targa bot-targa released this 22 Jun 13:06
· 409 commits to main since this release
72b69c7

Changelog

2fcdfb7 Abstracted sleep function, improved tests and defined pipeline states
004bd9e Add macos to ci (#3)
40fe021 Added JSON client default timeout of 10s
695a553 Added flag to select additional CA certificate
e181866 Added further tests to verify ca-certificate usage
5683de7 Added initial version of deploy status command
3fae688 Added insecure connection option to login command
86544ce Added login command tests
cdb31e3 Added test of --ca-cert flag to commands
5336ff6 Added test of --insecure flag to commands
be599e4 Apply suggestions from code review
d63e2e8 Apply suggestions from code review
a221cc5 Apply suggestions from code review
ba9f114 Clarified access token and errors comparison in login test
50a54dd Command return error in case of pipeline failed or canceled
9e829a3 Deploy api migration (#24)
573f015 Extracted factory functions into their own package
66ee6d4 Extracted login sub-command into a standalone one
21dbc1c Fixed displaying multiple errors on commands error
7d932b7 Fixed improper setting of deploy flags
f049783 Fixed status check routine and added proper message when no triggered pipelines found
bb6ea22 Generalized http server mock to clarify tests implementation
22fb5b3 Hardcoded miactl app-id due to its uniqueness
b9a14c5 Implemented first version of deploy command
cb87645 Improved deploy command output
9a829aa Improved login command interaction
f20b049 Improved tests and simplified rendering object
230eeb8 Integrated the check status deploy logic into the sdk package
6cc7e30 Integrated the deploy trigger logic into the sdk package
3cb94b9 Introduced initial support to login using username and password
8ff4268 Introduced support for custom CA certificate in sdk client
9686145 Merge branch 'issue-16-deploy-history' of github.com:mia-platform/miactl into issue-16-deploy-history
4d34215 Merge branch 'master' into issue-16-deploy-history
6a5f912 Merge pull request #23 from mia-platform/issue-16-deploy-history
ae10c4a Merge pull request #25 from mia-platform/upgrade-deps
abc3398 Merge pull request #26 from AlessandroMinoccheri/fix-readme
49095d6 Merge pull request #28 from mia-platform/dependabot/go_modules/github.com/spf13/cobra-1.1.0
7d358dd Merge pull request #29 from mia-platform/dependabot/go_modules/github.com/spf13/cobra-1.1.1
fc042b1 Merge pull request #30 from mia-platform/dependabot/go_modules/github.com/stretchr/testify-1.7.0
402ed86 Merge pull request #31 from mia-platform/dependabot/go_modules/github.com/spf13/cobra-1.1.2
392807c Merge pull request #33 from mia-platform/dependabot/go_modules/github.com/spf13/cobra-1.1.3
bd91f3b Merge pull request #37 from mia-platform/dependabot/add-v2-config-file
612de90 Merge pull request #38 from mia-platform/feature/password-login
ed51319 Merge pull request #39 from mia-platform/dependabot/go_modules/github.com/olekukonko/tablewriter-0.0.5
3e8a404 Merge pull request #40 from mia-platform/feature/trigger-deploy
9c120c3 Merge pull request #41 from mia-platform/feature/deploy-status
91d13ef Merge pull request #42 from mia-platform/bugfix/login-path-fix
f25b11a Merge pull request #43 from mia-platform/feature/skip-certificate
672afdd Merge pull request #44 from mia-platform/dependabot/go_modules/gopkg.in/h2non/gock.v1-1.1.0
ec1ee66 Merge pull request #45 from mia-platform/feature/select-custom-certificate
4c2363b Merge pull request #46 from mia-platform/dependabot/go_modules/github.com/spf13/viper-1.8.0
127ce65 Modified client to support insecure connections
e40e514 Moved PipelinesConfig types in the deploy command package
f829c84 Moved factory to first level
564bea0 Refactored sdk to move login cmd logic inside it
99adaa8 Refactored trigger command and moved its functionality into the sdk package
443b859 Reintroduced ioutil to allow earlier version of go to test propertly
da2480e Removed else statement
089e13d Removed factory initialization in tests
d360440 Removed function to get endpoint path
921c37d Removed storing details of triggered pipelines to match updated deploy flow
01918ed Removed unnecessary condition on response status
51af3bb Removed unneeded arguments in tests
6e19d67 Removed unneeded check and moved base url verification in the pre-command phase
dbc2f8d Removed unneeded comment
5b84ee8 Removed unneeded defer
03c1b4a Removed unneeded struct
3ac0731 Removed unused function
5041507 Removed unused types
4bab20d Removed variables redundancy and fixed deploy path
10910a2 Renamed --certificate flag to --ca-cert to clarify which type of certificate should be provided
e9965f2 Reorganized sdk modules
12c6bd5 Update cmd/console/deploy/status.go
47f6295 Update cmd/get.go
ea1b2ba Update goreleaser.yml
644553a Update release.yml
25821d7 Update sdk/client.go
410efaf Update sdk/deploy_test.go
528243b Update sdk/deploy_test.go
ca37469 Update sdk/deploy_test.go
6b127e7 Update sdk/deploy_test.go
ad2f836 Update sdk/deploy_test.go
7110ed8 Updated deploy command to foster development of deploy status command
49ace12 Updated pipeline check status command according to updated flow
b48a62f Updated test server mock to clarify its usage and updated sdk deploy tests
8a9e941 Updated tests to exploit TLS connection with self-signed certificate
48e87b7 Upgrade to GitHub-native Dependabot
ad5044d add deploy item
719e790 add go version 1.15
2325b61 add(16): deploy client implementation
1ae12ae add(16): display environment of deploy
552e7c7 add(16): implemented DeployHistoryQuery
0bb1f6a added dot
250d744 added tests against marshaled deploy history data
4cd0478 aligned with remote
fa88935 build(deps): bump github.com/olekukonko/tablewriter from 0.0.4 to 0.0.5
542edae build(deps): bump github.com/spf13/cobra from 1.0.0 to 1.1.0
86296a5 build(deps): bump github.com/spf13/cobra from 1.1.0 to 1.1.1
8281130 build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.2
055ea66 build(deps): bump github.com/spf13/cobra from 1.1.2 to 1.1.3
ad13413 build(deps): bump github.com/spf13/viper from 1.7.1 to 1.8.0
87b6c8f build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0
b5d58c4 build(deps): bump gopkg.in/h2non/gock.v1 from 1.0.16 to 1.1.0
c0e2dce change on workflow run
ef451c9 command prep
b309055 completed doc
6f7c8c1 completed tests for sdk
21b78d6 defined DeployQuery struct
972e7e3 feat(16): added custom renderer for dates and used it in history
767ceeb feat(16): implemented get deployments command with project flag validation and sdk integration
3c1872b feat: update releaser file and workflow
72b69c7 feat: update releaser file and workflow
c7b96ee feat: upgrade to go v1.16
73767b9 fix readme file
b7eb4fe fix(16): typo
6e26ddf fix(login): login path changed from /oauth/token to /api/oauth/token
01b887d fix(status): added {{deployId}} required argument to the 'miactl console deploy status' command
b376ace full coverage
792c369 implementation of sdk
ce27ae5 implemented test
60bb2f6 refactor(16): extracted getProjectByID fn
c6b25d5 refactor(16): moved projectList response body in standalone constant
bd69cb5 refactor(16): renamed file
efb52dc refactor(16): renamed test
7127b5a refactor(16): testdata directory for sdk
0608c96 rem(16): printf
25d02b6 rem(16): remove unused import
6074e3c rem(16): removed useless execute
57a06ab removed useless control and updated test
7affe85 set smart-deploy as default strategy
995b8a5 test(16): updated test for client validation
5896aae tests
f26a236 updated tests
be92d76 upgrade deps
99a977f upgrade deps