continuous-testing 1.1.2

A continuous testing tool
continuous-testing-1.1.2 is not a library.
Visit the last successful build: continuous-testing-0.1.3

A continuous integration testing project

Template of the project

Docker, Packer Git and lib notify must be installed on your system.

Install docker

curl -fsSL https://get.docker.com/rootless | sh

Configure packer

packer plugins install github.com/hashicorp/docker

Install continuous testing

cargo install continuous-testing fd-find

demonstration

Initialize tracking

again init

Structure for rust executable

.
├── continuous
  ├── d
  │  ├── d.pkr.hcl
  │  ├── README.md
  │  └── scripts-gen
  ├── go
  │  ├── go.pkr.hcl
  │  ├── main.go
  │  ├── README.md
  │  └── scripts-gen
  ├── rust
  │  ├── beta
  │  ├── nightly
  │  ├── README.md
  │  ├── rust.pkr.hcl
  │  ├── scripts-gen
  │  └── stable
  ├── sh
  │  ├── bash.pkr.hcl
  │  ├── README.md
  │  └── scripts-gen
  └── README.md
├── src
  └── main.rs
└── Cargo.toml

Structure for rust library

.
├── continuous
  ├── d
  │  ├── d.pkr.hcl
  │  ├── README.md
  │  └── scripts-gen
  ├── go
  │  ├── go.pkr.hcl
  │  ├── main.go
  │  ├── README.md
  │  └── scripts-gen
  ├── rust
  │  ├── beta
  │  ├── nightly
  │  ├── README.md
  │  ├── rust.pkr.hcl
  │  ├── scripts-gen
  │  └── stable
  ├── sh
  │  ├── bash.pkr.hcl
  │  ├── README.md
  │  └── scripts-gen
  └── README.md
├── src
  └── lib.rs
└── Cargo.toml

File structure for d

.
├── continuous
  ├── d
  │  ├── beta
  │  ├── d.pkr.hcl
  │  ├── nightly
  │  ├── README.md
  │  ├── scripts-gen
  │  └── stable
  ├── go
  │  ├── go.pkr.hcl
  │  ├── main.go
  │  ├── README.md
  │  └── scripts-gen
  ├── rust
  │  ├── README.md
  │  ├── rust.pkr.hcl
  │  └── scripts-gen
  ├── sh
  │  ├── bash.pkr.hcl
  │  ├── README.md
  │  └── scripts-gen
  └── README.md
├── source
  └── app.d
└── dub.json

File structure for go

.
├── continuous
  ├── d
  │  ├── d.pkr.hcl
  │  ├── README.md
  │  └── scripts-gen
  ├── go
  │  ├── beta
  │  ├── go.pkr.hcl
  │  ├── main.go
  │  ├── nightly
  │  ├── README.md
  │  ├── scripts-gen
  │  └── stable
  ├── rust
  │  ├── README.md
  │  ├── rust.pkr.hcl
  │  └── scripts-gen
  ├── sh
  │  ├── bash.pkr.hcl
  │  ├── README.md
  │  └── scripts-gen
  └── README.md
└── go.mod

Usage

git add .
git commit -m "msg"

The continuous directory

The continuous directory is now a git repository.

The latest release branch take the name of your environment variable $USER.

You can back to an old release if you want or create your branch.

All providers scripts are based on archlinux from my docker hub to simplify testing.

D Rust Go Bash

Manually switch to release

cd continuous && git checkout -b new-branch-name $tag || exit 1