projectatomic / atomic-host-tests

A collection of single-host tests for Atomic Host
GNU General Public License v3.0
18 stars 21 forks source link

cleanup and consolidate roles #149

Open miabbott opened 7 years ago

miabbott commented 7 years ago

I was stepping (via --step) through the improved-sanity-tests and examining the test itself by hand and realized that we have more than a few instances of duplication in our roles directory.

We should attempt to identify roles that can be combined and made more flexible via passed in parameters.

Things that jump right out:

miabbott commented 7 years ago

As part of this work, we should try to structure the roles directory using sub-dirs that correspond to major pieces of functionality. For example:

roles/
├── atomic
│   ├── containers
│   ├── images
│   ├── install
│   ├── run
│   └── tasks
├── docker
│   ├── build
│   ├── rm
│   ├── rmi
│   ├── run
│   └── tasks
├── ostree
│   ├── admin
│   ├── log
│   ├── pull
│   ├── remote
│   └── tasks
└── rpm-ostree
    ├── compose
    ├── deploy
    ├── install
    ├── tasks
    └── upgrade

There could be even more sub-dirs under each one of those, too.

miabbott commented 7 years ago

(5) Cleanup/consolidate/reorg [a-h-t] roles