-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Abstract away Docker into a ContainerBackend interface * Swagger-generated Podman API package * Fix podmanapi package compilation and document how it was generated * Further abstract Docker away ...and introduce ContainerBackendFromEnv test helper to pick up the backend from CIRRUS_CONTAINER_BACKEND environment variable. * Re-generate podmanapi using Swagger Codegen 3.0.23 * Podman support * Cleanup additional containers first * cirrus run: support multiple container backends * Rename internal/podmanapi/model_plugin_config_linux.go ...to fix the compilation on non-Linux platforms. * Rename DockerOptions to ContainerOptions * Rename "docker pull" scope to "image pull" * Run a single "podman system service" subprocess per each backend instance * Don't swallow error * .cirrus.yml: re-use alias name * cirrus run: rename --docker-no-pull to --container-no-pull * cirrus run: introduce --container-backend argument * Only include Podman support on Linux * Fix inverted logic
- Loading branch information
Showing
504 changed files
with
53,621 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# podmanapi | ||
|
||
The `podmanapi` package was generated using the Swagger Codegen 3.0.23 [downloaded from the Maven Repository](https://mvnrepository.com/artifact/io.swagger.codegen.v3/swagger-codegen-cli): | ||
|
||
``` | ||
java -jar swagger-codegen-cli-3.0.23.jar generate -l go -i https://storage.googleapis.com/libpod-master-releases/swagger-latest-master.yaml -o podmanapi | ||
``` | ||
|
||
The link to the [`swagger-latest-master.yaml`](https://storage.googleapis.com/libpod-master-releases/swagger-latest-master.yaml) was found in the auto-generated [API documentation page](https://podman.readthedocs.io/en/latest/_static/api.html). | ||
|
||
Afterwards: | ||
|
||
* the missing `os` imports were added | ||
* `model_plugin_config_linux.go` was renamed to `model_plugin_config_linux_.go` | ||
|
||
... to fix the compilation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.