https://github.com/bidaya0/gbatect
docker-compose file to batect file conveter
https://github.com/bidaya0/gbatect
batect build-tool developer-experience docker docker-compose
Last synced: 9 months ago
JSON representation
docker-compose file to batect file conveter
- Host: GitHub
- URL: https://github.com/bidaya0/gbatect
- Owner: Bidaya0
- License: apache-2.0
- Archived: true
- Created: 2022-08-14T09:33:30.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-18T16:36:19.000Z (over 2 years ago)
- Last Synced: 2025-01-20T06:36:47.077Z (over 1 year ago)
- Topics: batect, build-tool, developer-experience, docker, docker-compose
- Language: Go
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
:warning: The project is archived because the upstream has stopped maintenance.
# gbatect
gbatect is a tool help users adopt [batect](https://github.com/batect/batect) , a Build And Testing Environments as Code Tool , use exists [docker-compose](https://docs.docker.com/compose/) configurations.
gbatect take the `docker-compose.yml` and translates it to `batect.yml`.
# Installation
get the latest version
```
curl -s https://api.github.com/repos/bidaya0/gbatect/releases/latest | grep 'tag_name' | cut -d\" -f4
```
download and install
```
sh -c "curl -L https://github.com/bidaya0/gbatect/releases/download/${GBATECT_VERSION}/gbatect-${GBATECT_VERSION}-${System}-amd64.tar.gz | tar xvz -C > /usr/local/bin/"
chmod +x /usr/local/bin/gbatect
```
validation install success
```
> gbatect
gbatect is a tool help users move exists docker-compose to batect.
gbatect take the docker-compose.yml and translates it to batect.yml.
Usage:
gbatect [command]
Available Commands:
convert convert docker-compose file to batect format
help Help about any command
Flags:
-h, --help help for gbatect
Use "gbatect [command] --help" for more information about a command.
```
# Roadmap
## N+1
- [ ] bidirectional conversion between docker-compose and batect
- [ ] basic support Kubernetes
- [ ] convert `docker run` command to batect container
## v0.0.2
- [ ] update exists batect.yml
- [ ] show diff between exists batect.yml and updated one
- [ ] update and keep origin format
- [ ] choose update parts of batect.yml
- [ ] serve as a web service
- [ ] offer online convert
## 0.0.1
- [x] Convert docker-compose.yml to batect.yml
- [x] Support all batect field types
- [x] basic output batect
- [x] basic cli
- [x] basic help document
- [x] project quality flow
- [x] coverage test
- [x] code style check
- [x] code scaner