spiegel_podman/test/e2e
Miloslav Trmač 5c95c0920f Add support for creating sigstore signatures, and providing passphrases
- Allow creating sigstore signatures via --sign-by-sigstore-private-key .
  Like existing --sign-by, it does not work remote (in this case
  because we would have to copy the private key to the server).
- Allow passing a passphrase (which is mandatory for sigstore private keys)
  via --sign-passphrase-file; if it is not provided, prompt interactively.
- Also, use that passphrase for --sign-by as well, allowing non-interactive
  GPG use. (But --sign-passphrase-file can only be used with _one of_
  --sign-by and --sign-by-sigstore-private-key.)

Note that unlike the existing code, (podman build) does not yet
implement sigstore (I'm not sure why it needs to, it seems not to
push images?) because Buildah does not expose the feature yet.

Also, (podman image sign) was not extended to support sigstore.

The test for this follows existing (podman image sign) tests
and doesn't work rootless; that could be improved by exposing
a registries.d override option.

The test for push is getting large; I didn't want to
start yet another registry container, but that would be an
alternative.  In the future, Ginkgo's Ordered/BeforeAll
would allow starting a registry once and using it for two
tests.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2022-08-02 16:52:56 +02:00
..
build test,manifest-run: declare TARGETPLATFORM before using it 2022-07-26 13:04:47 -04:00
cdi Add support for CDI device configuration 2021-04-20 09:18:52 -04:00
config Fix network mode in play kube 2021-11-12 18:32:01 +01:00
sign Add support for creating sigstore signatures, and providing passphrases 2022-08-02 16:52:56 +02:00
testdata Add support for creating sigstore signatures, and providing passphrases 2022-08-02 16:52:56 +02:00
attach_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
benchmarks_test.go benchmarks: fix create test 2022-07-26 14:43:08 -04:00
build_test.go Fix Remote filtering embedded directory test 2022-06-09 14:31:53 -04:00
checkpoint_image_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
checkpoint_test.go Skip one failing test on Ubuntu 2022-07-27 09:29:33 -04:00
commit_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
common_test.go integration test: fix network backend option with remote 2022-07-26 14:42:48 -04:00
config.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
config_amd64.go Update the registry server we test against from 2.6 to 2.8 2022-08-02 16:52:56 +02:00
config_ppc64le.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
container_clone_test.go Merge pull request #14059 from cdoern/clone 2022-05-05 05:51:19 -04:00
container_create_volume_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
container_inspect_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
containers_conf_test.go Semiperiodoc cleanup of obsolete FIXMEs 2022-07-26 14:43:23 -04:00
cp_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
create_staticip_test.go Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
create_staticmac_test.go Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
create_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
diff_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
events_test.go Show Health Status events 2022-06-27 10:44:53 -04:00
exec_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
exists_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
export_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
generate_kube_test.go Add ports and hostname correctly in kube yaml 2022-07-08 11:21:48 -04:00
generate_systemd_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
healthcheck_run_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
history_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
image_scp_test.go podman image scp remote support & podman image scp tagging 2022-06-28 08:54:19 -04:00
image_sign_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
images_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
import_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
info_test.go Report correct RemoteURI 2022-05-04 12:11:32 -04:00
init_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
inspect_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
kill_test.go First batch of resolutions to FIXMEs 2022-05-25 13:28:04 -04:00
libpod_suite_remote_test.go integration test: fix network backend option with remote 2022-07-26 14:42:48 -04:00
libpod_suite_test.go manifest_test: safer registry setup and teardown 2022-07-07 14:03:42 -06:00
load_test.go enable gocritic linter 2022-04-26 18:12:22 +02:00
login_logout_test.go Use existing REGISTRY_IMAGE variables in more places 2022-08-02 16:52:56 +02:00
logs_test.go podman logs k8s-file: do not reassemble partial log lines 2022-06-03 15:01:23 +02:00
manifest_test.go Manifest test cleanup: use defer() 2022-07-08 06:19:30 -06:00
mount_rootless_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
mount_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
namespace_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
negative_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
network_connect_disconnect_test.go test/e2e: network dis-/connect test remove unhelpful assertions 2022-06-07 15:17:12 +02:00
network_create_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
network_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
pause_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
play_build_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
play_kube_test.go Update init ctr default for play kube 2022-07-26 13:39:20 -04:00
pod_clone_test.go [minor] fix duplicate test name 2022-07-07 11:23:17 -06:00
pod_create_test.go fix namespace reporting 2022-07-07 09:51:20 -04:00
pod_infra_container_test.go pod create --share none should not create infra 2022-07-26 14:46:12 -04:00
pod_initcontainers_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_inspect_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_kill_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_pause_test.go Fix podman pod unpaue TODO 2022-07-05 10:32:49 -04:00
pod_pod_namespaces_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_prune_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_ps_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_restart_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_rm_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_start_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_stats_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_stop_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_top_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
port_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
prune_test.go Refactored networkPrune function 2022-07-08 08:33:20 +09:00
ps_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pull_test.go Podman pull --all-tags shorthand option 2022-07-26 13:27:55 -04:00
push_test.go Add support for creating sigstore signatures, and providing passphrases 2022-08-02 16:52:56 +02:00
rename_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
restart_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
rm_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
rmi_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
run_aardvark_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
run_apparmor_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_cgroup_parent_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_cleanup_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_cpu_test.go Docker uses "-c" to mean "--cpu-shares" in create and run 2022-07-26 13:05:59 -04:00
run_device_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_dns_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_entrypoint_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_env_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_exit_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_memory_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_networking_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
run_ns_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_passwd_test.go libpod: create /etc/passwd if missing 2022-07-26 13:58:18 -04:00
run_privileged_test.go Privileged containers can now restart if the host devices change 2022-06-06 14:14:22 -04:00
run_restart_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_seccomp_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_security_labels_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_selinux_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_signal_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_staticip_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
run_test.go Semiperiodoc cleanup of obsolete FIXMEs 2022-07-26 14:43:23 -04:00
run_userns_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_volume_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
run_working_dir_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
runlabel_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
save_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
search_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
secret_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
start_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
stats_test.go Non-running containers now report statistics via the podman stats 2022-06-13 15:03:22 -04:00
stop_test.go Podman stop --filter flag 2022-07-26 13:25:36 -04:00
system_connection_test.go fix system connection and scp testing 2022-06-23 11:26:19 -04:00
system_df_test.go Merge pull request #14805 from jakecorrenti/df-format-output 2022-07-05 13:34:45 +00:00
system_dial_stdio_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
system_reset_test.go Only allow Rootless runs of Podman Machine 2022-06-29 09:19:09 -04:00
system_service_test.go Report correct RemoteURI 2022-05-04 12:11:32 -04:00
systemd_activate_test.go golangci-lint: update to v1.46.2 2022-06-15 19:58:30 +02:00
systemd_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
tag_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
toolbox_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
top_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
tree_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
trust_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
unshare_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
untag_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
version_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
volume_create_test.go podman volume create --opt=o=timeout... 2022-06-09 16:44:21 -04:00
volume_exists_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
volume_inspect_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
volume_ls_test.go Use Regexp in volume ls --filter name 2022-06-27 21:34:39 +03:00
volume_plugin_test.go add podman volume reload to sync volume plugins 2022-06-23 18:36:30 +02:00
volume_prune_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
volume_rm_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
wait_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00