Releases: bitovi/github-actions-docker-to-azure-vm
Releases · bitovi/github-actions-docker-to-azure-vm
v1.0.1
Bug Fix
- Fixed an issue where the IP address of the new VM is not available right away, causing downstream Ansible failures.
Testing
Tested with this ops repo: bitovi/operations-example-docker-azure-vm
Additional Changes and Enhancements
- Elevated all Docker env vars into .docker_env file
- DRYed out a lot of path strings into variables
- Created isDebugMode and isDestroyMode helper functions for use throughout the codebase
- Ideally these can be elevated into commons or similar
- Helper funcs have unit tests!
- Need to build a workflow for the action repo to run them
- Changed a lot of hardcoded filenames in "running " to $(basename $0)
- Bumped required TF version to >0.13
- The magic Ansible config file from Leo
- Split main.tf into several more specific tf files
- Use azure_linux_vm instead of azure_vm
- Requires the use of the _openssh varieties of the ssh_key resources.
Development Links
- Fixes #10
- Closes DEVOPS-821
v1.0.0
Docker Compose to Azure VM works.
Some more complex features are still in development, but it works as an MVP.
Testing
Successfully tested using https://github.com/mcascone/bitops-mindmap/actions/workflows/deploy.yaml
- deploy
- destroy
Future Enhancements:
- Support Bastion for remote access
- Add inbound network security rules
- Elevate common functions and checks to common functions
- Support not destroying the resource group on stack_destroy
- Add DNS/CNAME customization
- Enable more complex/HA/redundant architectures
- Ensure/enforce Azure best practices in all configs
- Functionalize the script files
- silence/set/ignore unset tf var warnings
- Consume credentials as one secret and parse internally
What's Changed
- Docker to Azure v1 DEVOPS-796 by @mcascone in #2
- Full Changelog: https://github.com/bitovi/github-actions-docker-to-azure-vm/commits/v1