Skip to content
This repository was archived by the owner on Nov 18, 2023. It is now read-only.

Bidaya0/gbatect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

70fa07c · Nov 18, 2023

History

45 Commits
Nov 21, 2022
Aug 28, 2022
Aug 28, 2022
Nov 21, 2022
Aug 21, 2022
Aug 14, 2022
Aug 14, 2022
Nov 18, 2023
Aug 18, 2022
Aug 18, 2022
Aug 18, 2022
Aug 28, 2022
Aug 28, 2022
Aug 21, 2022
Aug 14, 2022

Repository files navigation

⚠️ The project is archived because the upstream has stopped maintenance.

gbatect

gbatect is a tool help users adopt batect , a Build And Testing Environments as Code Tool , use exists docker-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

  • Convert docker-compose.yml to batect.yml
    • Support all batect field types
    • basic output batect
  • basic cli
    • basic help document
  • project quality flow
    • coverage test
    • code style check
    • code scaner