Pavel Boldyrev
ab54aa1092
feat(core): Add API Token authentication ( #350 )
...
* feat(core): Add API Token authentication
* fix linter errrors
* update docs
2023-05-29 21:56:21 -04:00
dependabot[bot]
6e593607bb
chore(deps): bump github.com/sigstore/rekor from 1.1.1 to 1.2.0 in /tools ( #349 )
...
chore(deps): bump github.com/sigstore/rekor in /tools
Bumps [github.com/sigstore/rekor](https://github.com/sigstore/rekor ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/sigstore/rekor/releases )
- [Changelog](https://github.com/sigstore/rekor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sigstore/rekor/compare/v1.1.1...v1.2.0 )
---
updated-dependencies:
- dependency-name: github.com/sigstore/rekor
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 17:44:58 -04:00
Pavel Boldyrev
1f006aa82b
feat: API client cleanup and refactoring ( #323 )
...
* cleanup 1
* continue refactoring
* more refactoring
* move VMs under nodes
* move container and other apis under nodes
* cleanups
* enabled revive.exported linter & add comments to exported stuff
* enable godot linter
* enable wsl linter
* enable thelper linter
* enable govet linter
* cleanup after rebase
* cleanup after rebase
* extract SSH ops into a separate interface
* fix linter error
* move ssh code to its own package
* cleaning up VirtualEnvironmentClient receivers
* on the finish line
* not sure what else I forgot... 🤔
* fix ssh connection and upload
* renaming client interfaces
* final cleanups
2023-05-26 01:32:51 +00:00
dependabot[bot]
23585570ab
chore(deps): bump github.com/goreleaser/nfpm/v2 from 2.28.0 to 2.29.0 in /tools ( #347 )
2023-05-24 20:03:38 -04:00
GitHub Bot
b2b18470f9
chore(main): release 0.20.1 ( #346 )
2023-05-23 02:14:17 +00:00
Oto Petřík
20131b0ffc
fix(vm): Regression: wait for 'net.IsGlobalUnicast' IP address ( #100 ) ( #345 )
...
fix: Wait for 'net.IsGlobalUnicast' IP address, again (#100 )
VM can get IPv6 link-local address faster than a DHCP server response,
that results in 'ipv4_addresses' output being an empty list.
It is then impossible to provision the VM using 'connection.host' field
derived from 'self.ipv4_addresses'.
Once again change waiting for IP address to wait for better address than
IPv4 link-local addresses and IPv6 link-local addresses.
Should not break #182 , because it requires only one GlobalUnicast address per VM.
2023-05-22 22:12:06 -04:00
GitHub Bot
18fceb8734
chore(main): release 0.20.0 ( #338 )
2023-05-22 14:12:53 -04:00
dependabot[bot]
fc1e03f094
chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 ( #343 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 14:00:18 -04:00
zoop
9fa92423b5
feat: SSH-Agent Support ( #306 )
...
* chore: add agent configuration bool
* feat: add ssh-agent authentication mechanism for linux
* chore: make sure ssh-agent auth is only executed on linux
* chore: add ssh user override
* chore: add ssh configuration block, check ssh config during VirtualEnvironmentClient creation
* fix: handle case of empty ssh config block
* chore: add ssh password auth fallback logic
* fix: remove not needed runtime
* fix linter errors & re-format
* allow ssh agent on all POSIX systems
* add `agent_socket` parameter
* update docs and examples
---------
Co-authored-by: zoop <zoop@zoop.li>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-05-22 13:34:24 -04:00
Pavel Boldyrev
37494a01b6
Update Makefile
2023-05-19 12:42:44 -04:00
Kevin
1c920de71d
feat: bump Go to 1.20 to resolve MacOS DNS resolution issues ( #342 )
...
* feat: bump the go version
Bumping the go version ensures that MacOS DNS is resolved correctly as
per https://go-review.googlesource.com/c/go/+/446178 .
Resolves : #341
* bump go version in /tools and in readme
---------
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-05-19 12:37:22 -04:00
dependabot[bot]
0d8e6d3158
chore(deps): bump github.com/skeema/knownhosts from 1.1.0 to 1.1.1 ( #336 )
2023-05-15 17:43:48 -04:00
dependabot[bot]
b1cb49cf7a
chore(deps): bump golang.org/x/crypto from 0.8.0 to 0.9.0 ( #337 )
2023-05-15 17:34:39 -04:00
GitHub Bot
85ddac9053
chore(main): release 0.19.1 ( #332 )
2023-05-13 22:16:55 -04:00
Pavel Boldyrev
79e5a8ebb0
fix(vm): Regression: cannot create disks larger than 99G ( #335 )
2023-05-13 22:13:57 -04:00
dependabot[bot]
37a1234bb0
chore(deps): bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible in /tools ( #331 )
2023-05-11 17:02:21 -04:00
GitHub Bot
ba57a5da36
chore(main): release 0.19.0 ( #325 )
2023-05-10 22:12:02 -04:00
Pavel Boldyrev
8359c03aa8
fix(vm,lxc): Add validation for non-empty tags ( #330 )
2023-05-11 02:06:15 +00:00
Jordan Keith
4be9914757
feat(vm,lxc): Improved support for different disk size units ( #326 )
2023-05-10 07:46:16 -04:00
dependabot[bot]
d94a4ce7cf
chore(deps): bump github.com/goreleaser/goreleaser from 1.18.1 to 1.18.2 in /tools ( #327 )
...
chore(deps): bump github.com/goreleaser/goreleaser in /tools
Bumps [github.com/goreleaser/goreleaser](https://github.com/goreleaser/goreleaser ) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/goreleaser/goreleaser/releases )
- [Changelog](https://github.com/goreleaser/goreleaser/blob/main/.goreleaser.yaml )
- [Commits](https://github.com/goreleaser/goreleaser/compare/v1.18.1...v1.18.2 )
---
updated-dependencies:
- dependency-name: github.com/goreleaser/goreleaser
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-08 21:00:14 -04:00
dependabot[bot]
aea079e0b1
chore(deps): bump github.com/goreleaser/goreleaser from 1.17.2 to 1.18.1 in /tools ( #324 )
...
chore(deps): bump github.com/goreleaser/goreleaser in /tools
Bumps [github.com/goreleaser/goreleaser](https://github.com/goreleaser/goreleaser ) from 1.17.2 to 1.18.1.
- [Release notes](https://github.com/goreleaser/goreleaser/releases )
- [Changelog](https://github.com/goreleaser/goreleaser/blob/main/.goreleaser.yaml )
- [Commits](https://github.com/goreleaser/goreleaser/compare/v1.17.2...v1.18.1 )
---
updated-dependencies:
- dependency-name: github.com/goreleaser/goreleaser
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-05 20:51:35 -04:00
GitHub Bot
c3f1d25d7c
chore(main): release 0.18.2 ( #315 )
2023-05-04 20:27:19 -04:00
Pavel Boldyrev
f0b88e336c
fix(vm,lxc): Tags reordering on plan re-apply ( #322 )
2023-05-05 00:19:20 +00:00
Remko Molier
97ca22abbb
fix(vm): Fix IPv6 handling ( #319 )
...
* fix: Fix IPv6 handling in resource "virtual_environment_vm"
* also use "*IPv6Address" keys
---------
Co-authored-by: Remko Molier <remko.molier@kuehne-nagel.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-05-03 20:36:10 -04:00
dependabot[bot]
b8184e47c1
chore(deps): bump github.com/sigstore/rekor from 1.0.1 to 1.1.1 in /tools ( #320 )
2023-05-03 18:30:19 -04:00
Pavel Boldyrev
aa99290664
chore(make): Add lint
, release-build
targets ( #317 )
2023-05-01 03:37:35 +00:00
dependabot[bot]
2a03818d40
chore(deps): bump github.com/goreleaser/goreleaser from 1.17.1 to 1.17.2 in /tools ( #313 )
...
chore(deps): bump github.com/goreleaser/goreleaser in /tools
Bumps [github.com/goreleaser/goreleaser](https://github.com/goreleaser/goreleaser ) from 1.17.1 to 1.17.2.
- [Release notes](https://github.com/goreleaser/goreleaser/releases )
- [Changelog](https://github.com/goreleaser/goreleaser/blob/main/.goreleaser.yaml )
- [Commits](https://github.com/goreleaser/goreleaser/compare/v1.17.1...v1.17.2 )
---
updated-dependencies:
- dependency-name: github.com/goreleaser/goreleaser
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 21:39:40 -04:00
GitHub Bot
b33a8ce620
chore(main): release 0.18.1 ( #309 )
2023-04-24 11:09:21 -04:00
Fabian Heib
496bda4edc
fix(firewall): use correct default value for firewall ( #312 )
2023-04-23 15:26:25 -04:00
Pavel Boldyrev
7c9505d11f
fix(file): SSH file upload on Windows ( #308 )
...
* fix(file): SSH file upload on Windows
* update bug report template
2023-04-20 02:14:48 +00:00
GitHub Bot
20aacc2547
chore(main): release 0.18.0 ( #297 )
2023-04-18 01:41:04 +00:00
Pavel Boldyrev
8addb1d1d5
feat(vm): Wait for the VM creation task to complete ( #305 )
...
feat(vm): Add sync wait in VM create operation
2023-04-17 21:30:08 -04:00
dependabot[bot]
d24f60aaa2
chore(deps): bump github.com/goreleaser/goreleaser from 1.16.2 to 1.17.1 in /tools ( #303 )
...
chore(deps): bump github.com/goreleaser/goreleaser in /tools
Bumps [github.com/goreleaser/goreleaser](https://github.com/goreleaser/goreleaser ) from 1.16.2 to 1.17.1.
- [Release notes](https://github.com/goreleaser/goreleaser/releases )
- [Changelog](https://github.com/goreleaser/goreleaser/blob/main/.goreleaser.yaml )
- [Commits](https://github.com/goreleaser/goreleaser/compare/v1.16.2...v1.17.1 )
---
updated-dependencies:
- dependency-name: github.com/goreleaser/goreleaser
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 18:50:28 -04:00
dependabot[bot]
672249246f
chore(deps): bump nokogiri from 1.14.2 to 1.14.3 in /docs ( #299 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.2...v1.14.3 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-04-14 23:38:25 +00:00
dependabot[bot]
fc4a6e8ace
chore(deps): bump commonmarker from 0.23.8 to 0.23.9 in /docs ( #298 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.8 to 0.23.9.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.8...v0.23.9 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-14 19:36:31 -04:00
dependabot[bot]
a896b5051e
chore(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0 ( #296 )
2023-04-10 20:43:13 -04:00
GitHub Bot
5ffb7d5acc
chore(main): release 0.17.1 ( #292 )
2023-04-09 20:02:40 -04:00
Pavel Boldyrev
f4783f8cda
fix(firewall): Add support for firewall
flag for LXC/VM net adapters ( #295 )
2023-04-09 23:59:40 +00:00
Pavel Boldyrev
be3995e969
fix(core): Error when open SSH session on Windows ( #293 )
...
* fix(core): Error when open SSH session on Windows
* update PR template
2023-04-07 22:38:07 -04:00
Pavel Boldyrev
401b39782f
fix(file): "Permission denied" error when creating a file by a non-root user ( #291 )
...
* fix(file): "Permission denied" error when creating a file by a non-root user
* fix linter errors
2023-04-07 21:58:37 -04:00
GitHub Bot
b7e73ed360
chore(main): release 0.17.0 ( #289 )
2023-04-07 15:39:10 -04:00
Henri Williams
f9e263ad5e
feat(vm): add support for boot_order
argument for VM ( #219 )
...
* feat(vm): add support for 'boot_order and boot_disk flags for VM
* refactoring (1)
* refactor to use only boot_order argument
---------
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-04-07 15:35:38 -04:00
Pavel Boldyrev
2fa922930f
chore: cleanup and fix linter errors ( #290 )
2023-04-05 00:04:12 +00:00
Szczepan Wiśniowski
ed3dfeae99
fix(provider): Deprecate virtual_environment
block ( #288 )
...
refactor(provider): Allow specifying attributes outside of virtual_environment block
Also deprecate virtual_environment block, update docs and examples.
Fixes #117
Apparently CDKTF skips schemas without attributes, it has been fixed but it is available only in prerelease currently (https://github.com/hashicorp/terraform-cdk/pull/2736 )
Release-As: 0.17.0
2023-04-04 19:55:48 -04:00
GitHub Bot
e8d926218e
chore(main): release 0.17.0-rc2 ( #286 )
2023-04-03 20:47:08 -04:00
Pavel Boldyrev
1bfc29e2cc
fix(firewall): fw controls bugfixes ( #287 )
...
fix(firewall): fw controls bugfixes
- fix alias examples in docs
- docs & examples improvements
- add support for security group insertion
Release-As: 0.17.0-rc2
2023-04-04 00:42:35 +00:00
dependabot[bot]
fc08e19f86
chore(deps): bump activesupport from 7.0.4.2 to 7.0.4.3 in /docs ( #285 )
...
Bumps [activesupport](https://github.com/rails/rails ) from 7.0.4.2 to 7.0.4.3.
- [Release notes](https://github.com/rails/rails/releases )
- [Changelog](https://github.com/rails/rails/blob/v7.0.4.3/activesupport/CHANGELOG.md )
- [Commits](https://github.com/rails/rails/compare/v7.0.4.2...v7.0.4.3 )
---
updated-dependencies:
- dependency-name: activesupport
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-02 18:23:30 -04:00
GitHub Bot
9465f1472c
chore(main): release 0.17.0-rc1 ( #284 )
2023-04-02 18:04:52 -04:00
Pavel Boldyrev
98e1cff7fe
feat: Add firewall resources ( #246 )
...
* refactoring existing cluster / firewall API for better composition
* add basic security groups API
fix linter errors
* add rules API
* fix after renaming resourceVirtualEnvironmentClusterIPSet
* fix linter errors
* make linter happy
* even more refactoring
* tidy up datasources
* in refactoring spree
* update examples
* fix firewall resource/datasource & client error handling
* add ipset(s) datasource
* update docs
* add security group resource with rules
* docs
* fix security group update, TODO: rule update
* fix after rebase
* add rule update, extract common rule schema, refactor group
* fix linter errors
* bump linter for ci
* make alias and ipset reusable
* make security group reusable
* refactor datasources
* add security group datasources
* fix linter errors
* update docs
TODO: documentation for group datasources
* add sg docs, update doc index
* minor cleanup
* fix examples & tests
* stub for firewall-level options and rules
* extract firewall interface
* add firewall options and rules on the cluster level
TODO: issues with rule list management
* refactor all resources format AGAIN, now more flat, without complex subresources
* sort out hierarchy of APIs and remove duplication in API wrappers
* bring back security group
* finally, working rules
* restore cluster firewall option
* add containers support
* add options
* move rules back under security group, update docs
* fix vm_id / container_id attrs
* add examples
* cleanup
* more cleanup
Release-As: 0.17.0-rc1
2023-04-02 18:01:10 -04:00
GitHub Bot
960af3ab89
chore(main): release 0.16.0 ( #279 )
2023-04-02 17:03:14 -04:00