Compare commits
44 commits
rawhide
...
centos-rel
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97991f0caf | ||
|
|
c6a8933373 | ||
|
|
8c30ff072a | ||
|
|
7fd15342f5 | ||
|
|
556c89e3f2 | ||
|
|
e48d668fd2 | ||
|
|
054991ff9c | ||
|
|
681258f807 | ||
|
|
32faa4d5b4 | ||
|
|
2b0c2a9505 | ||
|
|
786f853eed | ||
|
|
53cd28aec0 | ||
|
|
4c4350aa4c | ||
|
|
673aa59188 | ||
|
|
32c6bc15a9 | ||
|
|
87e04b4b9a | ||
|
|
ebaff1a55e | ||
|
|
bc731a110c | ||
|
|
c966745051 | ||
|
|
2a5fe87a24 | ||
|
|
d3886bb02e | ||
|
|
19a0a91035 | ||
|
|
cb037f3273 | ||
|
|
0aec3a8165 | ||
|
|
90bb9e99ec | ||
|
|
58f8ab245d | ||
|
|
13dc2c9b38 | ||
|
|
6009b4eaac | ||
|
|
4000f6b905 | ||
|
|
9fcf25a30f | ||
|
|
66c7bbdf51 | ||
|
|
c813b56991 | ||
|
|
a8555fbe96 | ||
|
|
269ba7f4a4 | ||
|
|
740bb18c4e | ||
|
|
749efd55a5 | ||
|
|
0e13b110e6 | ||
|
|
a12a53ae2b | ||
|
|
3c5638e0d6 | ||
|
|
8f1f5a3284 | ||
|
|
2b977dae7e | ||
|
|
52ccad4069 | ||
|
|
8aaf23bd79 | ||
|
|
9abba20d38 |
46 changed files with 2462 additions and 828 deletions
|
|
@ -1 +0,0 @@
|
|||
1
|
||||
470
.gitignore
vendored
470
.gitignore
vendored
|
|
@ -274,464 +274,12 @@
|
|||
/buildah-96a136e.tar.gz
|
||||
/buildah-2df08f0.tar.gz
|
||||
/buildah-a99139c.tar.gz
|
||||
/buildah-3f5436f.tar.gz
|
||||
/buildah-5c98d3c.tar.gz
|
||||
/buildah-d88c26b.tar.gz
|
||||
/buildah-1ce1130.tar.gz
|
||||
/buildah-ab0286f.tar.gz
|
||||
/buildah-36dcedb.tar.gz
|
||||
/buildah-ebf6f51.tar.gz
|
||||
/buildah-c2c52ba.tar.gz
|
||||
/buildah-51415ec.tar.gz
|
||||
/buildah-c1a2d4f.tar.gz
|
||||
/buildah-b288b7a.tar.gz
|
||||
/buildah-fa68ed6.tar.gz
|
||||
/buildah-3ad937b.tar.gz
|
||||
/buildah-5a1c733.tar.gz
|
||||
/buildah-376e52e.tar.gz
|
||||
/buildah-ff72568.tar.gz
|
||||
/buildah-6b5f8ba.tar.gz
|
||||
/buildah-689f8ed.tar.gz
|
||||
/buildah-5671417.tar.gz
|
||||
/buildah-ecf5b72.tar.gz
|
||||
/buildah-e930951.tar.gz
|
||||
/buildah-57db70c.tar.gz
|
||||
/buildah-1a1a728.tar.gz
|
||||
/buildah-15773bd.tar.gz
|
||||
/buildah-b643073.tar.gz
|
||||
/buildah-cc80ccc.tar.gz
|
||||
/buildah-34f1ae6.tar.gz
|
||||
/buildah-4da1d5d.tar.gz
|
||||
/buildah-9f2a682.tar.gz
|
||||
/buildah-3f6ad0f.tar.gz
|
||||
/buildah-f54c965.tar.gz
|
||||
/buildah-9bf6b5e.tar.gz
|
||||
/buildah-20a33e0.tar.gz
|
||||
/buildah-9cac447.tar.gz
|
||||
/buildah-4ce6fba.tar.gz
|
||||
/buildah-10b0e7a.tar.gz
|
||||
/buildah-e9969bc.tar.gz
|
||||
/buildah-6abc01c.tar.gz
|
||||
/buildah-d2c1fd8.tar.gz
|
||||
/buildah-04150e0.tar.gz
|
||||
/buildah-c3b1ec6.tar.gz
|
||||
/buildah-61e32a5.tar.gz
|
||||
/buildah-a32fc96.tar.gz
|
||||
/buildah-d3d9cec.tar.gz
|
||||
/buildah-fc06a4d.tar.gz
|
||||
/buildah-bf04bf1.tar.gz
|
||||
/buildah-cf933c8.tar.gz
|
||||
/buildah-e2c33f3.tar.gz
|
||||
/buildah-c771c56.tar.gz
|
||||
/buildah-96f9993.tar.gz
|
||||
/buildah-e400691.tar.gz
|
||||
/buildah-f50b55d.tar.gz
|
||||
/buildah-b298906.tar.gz
|
||||
/buildah-797e618.tar.gz
|
||||
/buildah-7a7e1f0.tar.gz
|
||||
/buildah-13330a4.tar.gz
|
||||
/buildah-68b2aa5.tar.gz
|
||||
/buildah-d6f11ba.tar.gz
|
||||
/buildah-389d49b.tar.gz
|
||||
/buildah-0f7148b.tar.gz
|
||||
/buildah-120c37f.tar.gz
|
||||
/buildah-1d3db17.tar.gz
|
||||
/buildah-049fdf4.tar.gz
|
||||
/buildah-fa4eec7.tar.gz
|
||||
/buildah-cddb66e.tar.gz
|
||||
/buildah-691c394.tar.gz
|
||||
/buildah-c2dc46a.tar.gz
|
||||
/buildah-66701d4.tar.gz
|
||||
/buildah-b023cde.tar.gz
|
||||
/buildah-751f92e.tar.gz
|
||||
/buildah-999fa43.tar.gz
|
||||
/buildah-eaad6b4.tar.gz
|
||||
/buildah-1ff7043.tar.gz
|
||||
/buildah-8e26456.tar.gz
|
||||
/buildah-332a889.tar.gz
|
||||
/buildah-141b5a1.tar.gz
|
||||
/buildah-20e92ff.tar.gz
|
||||
/buildah-1967973.tar.gz
|
||||
/buildah-fba62fd.tar.gz
|
||||
/buildah-ec970d5.tar.gz
|
||||
/buildah-89bc2a6.tar.gz
|
||||
/buildah-147d106.tar.gz
|
||||
/buildah-f995696.tar.gz
|
||||
/buildah-a880001.tar.gz
|
||||
/buildah-e3bb278.tar.gz
|
||||
/buildah-7535655.tar.gz
|
||||
/buildah-85ab067.tar.gz
|
||||
/buildah-985e8dc.tar.gz
|
||||
/buildah-c5244fe.tar.gz
|
||||
/buildah-9ff68b3.tar.gz
|
||||
/buildah-6a555a0.tar.gz
|
||||
/buildah-1e6a70c.tar.gz
|
||||
/buildah-cd88667.tar.gz
|
||||
/buildah-92ff215.tar.gz
|
||||
/buildah-8fd3148.tar.gz
|
||||
/buildah-4cf37c2.tar.gz
|
||||
/buildah-ed0a329.tar.gz
|
||||
/buildah-d55a9f8.tar.gz
|
||||
/buildah-357d4ae.tar.gz
|
||||
/buildah-2a82d07.tar.gz
|
||||
/buildah-e47145c.tar.gz
|
||||
/buildah-c038827.tar.gz
|
||||
/buildah-8fc5b01.tar.gz
|
||||
/buildah-8d6869b.tar.gz
|
||||
/buildah-bc8feee.tar.gz
|
||||
/buildah-70b101f.tar.gz
|
||||
/buildah-db59421.tar.gz
|
||||
/buildah-e28c43d.tar.gz
|
||||
/buildah-068b6f5.tar.gz
|
||||
/buildah-acc7c35.tar.gz
|
||||
/buildah-0662a4e.tar.gz
|
||||
/buildah-188269a.tar.gz
|
||||
/buildah-2959a6b.tar.gz
|
||||
/buildah-e6815a1.tar.gz
|
||||
/buildah-9588a82.tar.gz
|
||||
/buildah-41b7852.tar.gz
|
||||
/buildah-6941254.tar.gz
|
||||
/buildah-726e24d.tar.gz
|
||||
/buildah-8d41b83.tar.gz
|
||||
/buildah-c42f440.tar.gz
|
||||
/buildah-20c2a54.tar.gz
|
||||
/buildah-d792c70.tar.gz
|
||||
/buildah-45543bf.tar.gz
|
||||
/buildah-dbec497.tar.gz
|
||||
/buildah-e7be041.tar.gz
|
||||
/buildah-b555b7d.tar.gz
|
||||
/buildah-a3dec02.tar.gz
|
||||
/buildah-47ce18b.tar.gz
|
||||
/buildah-55fa8f5.tar.gz
|
||||
/buildah-4e23b7a.tar.gz
|
||||
/buildah-3af1491.tar.gz
|
||||
/buildah-9def9c0.tar.gz
|
||||
/buildah-f7731c2.tar.gz
|
||||
/buildah-b7e6731.tar.gz
|
||||
/buildah-720e5d6.tar.gz
|
||||
/buildah-bf14e6c.tar.gz
|
||||
/buildah-09d1c24.tar.gz
|
||||
/buildah-b09fdc3.tar.gz
|
||||
/buildah-c46f6e0.tar.gz
|
||||
/buildah-ca0819f.tar.gz
|
||||
/buildah-a925f79.tar.gz
|
||||
/buildah-2055fe9.tar.gz
|
||||
/buildah-0c3234f.tar.gz
|
||||
/buildah-6417a9a.tar.gz
|
||||
/buildah-6e277a2.tar.gz
|
||||
/buildah-ec4bbe6.tar.gz
|
||||
/buildah-0a063c4.tar.gz
|
||||
/buildah-82ff48a.tar.gz
|
||||
/buildah-4131dfa.tar.gz
|
||||
/buildah-3177db5.tar.gz
|
||||
/buildah-f89b081.tar.gz
|
||||
/buildah-f1cf92b.tar.gz
|
||||
/buildah-843d15d.tar.gz
|
||||
/buildah-665dc2f.tar.gz
|
||||
/buildah-10542ed.tar.gz
|
||||
/buildah-3b9c6a3.tar.gz
|
||||
/buildah-aba0d4d.tar.gz
|
||||
/buildah-c61925b.tar.gz
|
||||
/buildah-a5fabab.tar.gz
|
||||
/buildah-e54da62.tar.gz
|
||||
/buildah-e48ff81.tar.gz
|
||||
/buildah-11ad04e.tar.gz
|
||||
/buildah-d3804fa.tar.gz
|
||||
/buildah-c18e043.tar.gz
|
||||
/buildah-17ceb60.tar.gz
|
||||
/buildah-1db2cde.tar.gz
|
||||
/buildah-25c294c.tar.gz
|
||||
/buildah-912ca5a.tar.gz
|
||||
/buildah-2fc064e.tar.gz
|
||||
/buildah-e9a6703.tar.gz
|
||||
/buildah-31a01b4.tar.gz
|
||||
/buildah-9c031e0.tar.gz
|
||||
/buildah-20e41b7.tar.gz
|
||||
/buildah-c3070ba.tar.gz
|
||||
/buildah-310c02b.tar.gz
|
||||
/buildah-f5dbfc1.tar.gz
|
||||
/buildah-c554675.tar.gz
|
||||
/buildah-e48fa75.tar.gz
|
||||
/buildah-f7ff4c1.tar.gz
|
||||
/buildah-7a88d7e.tar.gz
|
||||
/buildah-c404c89.tar.gz
|
||||
/buildah-db3ced9.tar.gz
|
||||
/buildah-81e2659.tar.gz
|
||||
/buildah-f4970e6.tar.gz
|
||||
/buildah-0d5ab1d.tar.gz
|
||||
/buildah-0b9a534.tar.gz
|
||||
/buildah-bea8692.tar.gz
|
||||
/buildah-8169acd.tar.gz
|
||||
/buildah-3af27b4.tar.gz
|
||||
/buildah-63567cb.tar.gz
|
||||
/buildah-42a48f9.tar.gz
|
||||
/buildah-f35e7d4.tar.gz
|
||||
/buildah-7b0dfb8.tar.gz
|
||||
/buildah-7610123.tar.gz
|
||||
/buildah-828035f.tar.gz
|
||||
/buildah-b438050.tar.gz
|
||||
/buildah-6a7ace0.tar.gz
|
||||
/buildah-f80da42.tar.gz
|
||||
/buildah-0f6c2a9.tar.gz
|
||||
/buildah-3184920.tar.gz
|
||||
/buildah-9bd70ac.tar.gz
|
||||
/buildah-7957c13.tar.gz
|
||||
/buildah-4fc49ce.tar.gz
|
||||
/buildah-ab1adf1.tar.gz
|
||||
/buildah-75e94a2.tar.gz
|
||||
/buildah-de0f541.tar.gz
|
||||
/buildah-dbf0777.tar.gz
|
||||
/buildah-0ac2a67.tar.gz
|
||||
/buildah-f7a3515.tar.gz
|
||||
/buildah-2c46b4b.tar.gz
|
||||
/buildah-ac0182c.tar.gz
|
||||
/buildah-fce9668.tar.gz
|
||||
/buildah-58e6b4f.tar.gz
|
||||
/buildah-28d7d44.tar.gz
|
||||
/buildah-d83657c.tar.gz
|
||||
/buildah-49a5768.tar.gz
|
||||
/buildah-555eb26.tar.gz
|
||||
/buildah-2928303.tar.gz
|
||||
/buildah-bfe6da5.tar.gz
|
||||
/buildah-efc5ec2.tar.gz
|
||||
/buildah-aa3128e.tar.gz
|
||||
/buildah-33768fc.tar.gz
|
||||
/buildah-1f8bf4d.tar.gz
|
||||
/buildah-b47ffb9.tar.gz
|
||||
/buildah-d0f43a0.tar.gz
|
||||
/buildah-552cbd3.tar.gz
|
||||
/buildah-17bb22f.tar.gz
|
||||
/buildah-58541a3.tar.gz
|
||||
/buildah-678da1d.tar.gz
|
||||
/buildah-411a885.tar.gz
|
||||
/buildah-d273b9e.tar.gz
|
||||
/buildah-0f4a259.tar.gz
|
||||
/buildah-f2f857a.tar.gz
|
||||
/buildah-0e06e45.tar.gz
|
||||
/buildah-b3f6ed8.tar.gz
|
||||
/buildah-5955652.tar.gz
|
||||
/buildah-7fb1282.tar.gz
|
||||
/buildah-dc504d9.tar.gz
|
||||
/buildah-73ae001.tar.gz
|
||||
/buildah-71a5615.tar.gz
|
||||
/buildah-f09e52c.tar.gz
|
||||
/buildah-746b5a6.tar.gz
|
||||
/buildah-ed75e66.tar.gz
|
||||
/buildah-415715a.tar.gz
|
||||
/buildah-9913b9f.tar.gz
|
||||
/buildah-7389cc7.tar.gz
|
||||
/buildah-7699b6e.tar.gz
|
||||
/buildah-a970ffb.tar.gz
|
||||
/buildah-9229549.tar.gz
|
||||
/buildah-d33bb41.tar.gz
|
||||
/buildah-7719296.tar.gz
|
||||
/buildah-c7ed3ca.tar.gz
|
||||
/buildah-1087564.tar.gz
|
||||
/buildah-18c0b33.tar.gz
|
||||
/buildah-5368ec3.tar.gz
|
||||
/buildah-d0c958d.tar.gz
|
||||
/buildah-272f241.tar.gz
|
||||
/buildah-aa37929.tar.gz
|
||||
/buildah-05aa527.tar.gz
|
||||
/buildah-e016fa8.tar.gz
|
||||
/buildah-570b43f.tar.gz
|
||||
/buildah-2e1d92e.tar.gz
|
||||
/buildah-af10f8c.tar.gz
|
||||
/buildah-587e617.tar.gz
|
||||
/buildah-dd26b13.tar.gz
|
||||
/buildah-02b3b50.tar.gz
|
||||
/buildah-92463b5.tar.gz
|
||||
/buildah-acb97f1.tar.gz
|
||||
/buildah-75ae8be.tar.gz
|
||||
/buildah-c50e236.tar.gz
|
||||
/buildah-ac96369.tar.gz
|
||||
/buildah-1d67d26.tar.gz
|
||||
/buildah-10d622b.tar.gz
|
||||
/buildah-1678745.tar.gz
|
||||
/buildah-5b867f2.tar.gz
|
||||
/buildah-d69f76a.tar.gz
|
||||
/buildah-ef8adfd.tar.gz
|
||||
/buildah-8c01c17.tar.gz
|
||||
/buildah-356fd7e.tar.gz
|
||||
/buildah-6747061.tar.gz
|
||||
/buildah-6e56bea.tar.gz
|
||||
/buildah-bec005d.tar.gz
|
||||
/buildah-7734b68.tar.gz
|
||||
/buildah-5f1031f.tar.gz
|
||||
/buildah-b9fdee0.tar.gz
|
||||
/buildah-00aa7f0.tar.gz
|
||||
/buildah-ffef8a6.tar.gz
|
||||
/buildah-24e0eb7.tar.gz
|
||||
/buildah-00b8e9f.tar.gz
|
||||
/buildah-d899c7c.tar.gz
|
||||
/buildah-f3c5c03.tar.gz
|
||||
/buildah-5129d28.tar.gz
|
||||
/buildah-02b914b.tar.gz
|
||||
/buildah-f01ddd6.tar.gz
|
||||
/buildah-6d3b8d3.tar.gz
|
||||
/buildah-ddcbb30.tar.gz
|
||||
/buildah-10c10ee.tar.gz
|
||||
/buildah-1b3dc91.tar.gz
|
||||
/buildah-911e6ea.tar.gz
|
||||
/buildah-8d89b80.tar.gz
|
||||
/buildah-cfb3372.tar.gz
|
||||
/buildah-80181e8.tar.gz
|
||||
/buildah-2e1bbc2.tar.gz
|
||||
/buildah-b595a98.tar.gz
|
||||
/buildah-f17ccd0.tar.gz
|
||||
/buildah-d10dbf3.tar.gz
|
||||
/buildah-6f554d8.tar.gz
|
||||
/buildah-3f5ba7e.tar.gz
|
||||
/buildah-d460e2e.tar.gz
|
||||
/buildah-371e4ca.tar.gz
|
||||
/buildah-1a04337.tar.gz
|
||||
/buildah-4925e86.tar.gz
|
||||
/buildah-2f20868.tar.gz
|
||||
/buildah-0c5bfcd.tar.gz
|
||||
/buildah-6002877.tar.gz
|
||||
/buildah-0ec651f.tar.gz
|
||||
/buildah-7f340f9.tar.gz
|
||||
/buildah-d0af90d.tar.gz
|
||||
/buildah-e1dfdd3.tar.gz
|
||||
/buildah-044ea34.tar.gz
|
||||
/buildah-800a3ed.tar.gz
|
||||
/buildah-8f63761.tar.gz
|
||||
/buildah-885e9c1.tar.gz
|
||||
/buildah-9eb048a.tar.gz
|
||||
/buildah-0508fba.tar.gz
|
||||
/buildah-3679b9f.tar.gz
|
||||
/buildah-2e59c37.tar.gz
|
||||
/buildah-6421c84.tar.gz
|
||||
/buildah-457c75c.tar.gz
|
||||
/buildah-0a064b3.tar.gz
|
||||
/buildah-013883e.tar.gz
|
||||
/buildah-e1c7a5c.tar.gz
|
||||
/buildah-d5326ef.tar.gz
|
||||
/buildah-de6c0da.tar.gz
|
||||
/buildah-a6eeca7.tar.gz
|
||||
/buildah-d47032f.tar.gz
|
||||
/buildah-1b49e62.tar.gz
|
||||
/buildah-72ef182.tar.gz
|
||||
/buildah-1296778.tar.gz
|
||||
/buildah-a5e80a5.tar.gz
|
||||
/buildah-d5c503c.tar.gz
|
||||
/buildah-eb42398.tar.gz
|
||||
/buildah-b51f63a.tar.gz
|
||||
/buildah-06d974b.tar.gz
|
||||
/buildah-c15269d.tar.gz
|
||||
/buildah-1688944.tar.gz
|
||||
/buildah-c0915a5.tar.gz
|
||||
/buildah-0ade935.tar.gz
|
||||
/buildah-0d8da0a.tar.gz
|
||||
/buildah-35300f3.tar.gz
|
||||
/buildah-17d8e1b.tar.gz
|
||||
/buildah-8614456.tar.gz
|
||||
/buildah-d5d782f.tar.gz
|
||||
/buildah-e481c9b.tar.gz
|
||||
/buildah-5352624.tar.gz
|
||||
/buildah-ced3c7b.tar.gz
|
||||
/buildah-fd48180.tar.gz
|
||||
/buildah-3b8acfb.tar.gz
|
||||
/buildah-9cdde41.tar.gz
|
||||
/buildah-30ed95a.tar.gz
|
||||
/buildah-b2f7e27.tar.gz
|
||||
/buildah-0a38651.tar.gz
|
||||
/buildah-ecbb651.tar.gz
|
||||
/buildah-915de2e.tar.gz
|
||||
/buildah-98f7b3d.tar.gz
|
||||
/buildah-2e5732b.tar.gz
|
||||
/buildah-61f5dff.tar.gz
|
||||
/v1.19.6.tar.gz
|
||||
/buildah-2f99c2e.tar.gz
|
||||
/buildah-9428d03.tar.gz
|
||||
/buildah-1065fd2.tar.gz
|
||||
/buildah-c4fc67f.tar.gz
|
||||
/buildah-d78dfd1.tar.gz
|
||||
/buildah-22fc573.tar.gz
|
||||
/buildah-135d63d.tar.gz
|
||||
/buildah-a0853c3.tar.gz
|
||||
/buildah-5119393.tar.gz
|
||||
/buildah-162fbaf.tar.gz
|
||||
/buildah-2ab877e.tar.gz
|
||||
/buildah-f30b420.tar.gz
|
||||
/buildah-f629ded.tar.gz
|
||||
/buildah-2a83637.tar.gz
|
||||
/buildah-19d3065.tar.gz
|
||||
/buildah-df14b1c.tar.gz
|
||||
/buildah-d677bf0.tar.gz
|
||||
/buildah-23e2b79.tar.gz
|
||||
/buildah-8a6d840.tar.gz
|
||||
/buildah-4fa566e.tar.gz
|
||||
/buildah-bbbe10a.tar.gz
|
||||
/buildah-d08dbe7.tar.gz
|
||||
/buildah-9c7f50b.tar.gz
|
||||
/buildah-8d08247.tar.gz
|
||||
/buildah-d99221f.tar.gz
|
||||
/buildah-30c07b7.tar.gz
|
||||
/buildah-814868e.tar.gz
|
||||
/buildah-5181b9c.tar.gz
|
||||
/buildah-802a904.tar.gz
|
||||
/buildah-6d5d1ae.tar.gz
|
||||
/buildah-ec35bc4.tar.gz
|
||||
/v1.22.0.tar.gz
|
||||
/v1.23.0.tar.gz
|
||||
/v1.23.1.tar.gz
|
||||
/v1.23.2.tar.gz
|
||||
/v1.24.0.tar.gz
|
||||
/v1.24.1.tar.gz
|
||||
/v1.24.2.tar.gz
|
||||
/v1.25.0.tar.gz
|
||||
/v1.25.1.tar.gz
|
||||
/v1.26.0.tar.gz
|
||||
/v1.26.1.tar.gz
|
||||
/v1.26.2.tar.gz
|
||||
/v1.26.3.tar.gz
|
||||
/v1.26.4.tar.gz
|
||||
/v1.27.0.tar.gz
|
||||
/v1.27.1.tar.gz
|
||||
/v1.27.2.tar.gz
|
||||
/v1.28.0.tar.gz
|
||||
/v1.28.2.tar.gz
|
||||
/v1.29.0.tar.gz
|
||||
/v1.29.1.tar.gz
|
||||
/v1.30.0.tar.gz
|
||||
/v1.31.0.tar.gz
|
||||
/v1.31.1.tar.gz
|
||||
/v1.31.2.tar.gz
|
||||
/v1.31.3.tar.gz
|
||||
/v1.32.0.tar.gz
|
||||
/v1.32.1.tar.gz
|
||||
/v1.32.2.tar.gz
|
||||
/v1.33.2.tar.gz
|
||||
/v1.34.0.tar.gz
|
||||
/v1.34.1.tar.gz
|
||||
/v1.35.0.tar.gz
|
||||
/v1.35.1.tar.gz
|
||||
/v1.35.2.tar.gz
|
||||
/v1.35.3.tar.gz
|
||||
/v1.35.4.tar.gz
|
||||
/v1.36.0.tar.gz
|
||||
/v1.37.0.tar.gz
|
||||
/v1.37.1.tar.gz
|
||||
/v1.37.2.tar.gz
|
||||
/v1.37.3.tar.gz
|
||||
/v1.37.4.tar.gz
|
||||
/v1.37.5.tar.gz
|
||||
/v1.38.0.tar.gz
|
||||
/v1.38.1.tar.gz
|
||||
/v1.39.0.tar.gz
|
||||
/v1.39.1.tar.gz
|
||||
/v1.39.2.tar.gz
|
||||
/v1.39.3.tar.gz
|
||||
/v1.39.4.tar.gz
|
||||
/v1.40.0.tar.gz
|
||||
/v1.40.1.tar.gz
|
||||
/v1.41.0.tar.gz
|
||||
/v1.41.1.tar.gz
|
||||
/v1.41.2.tar.gz
|
||||
/v1.41.3.tar.gz
|
||||
/v1.41.4.tar.gz
|
||||
/v1.41.5.tar.gz
|
||||
/v1.42.0.tar.gz
|
||||
/v1.42.1.tar.gz
|
||||
/v1.42.2.tar.gz
|
||||
/buildah-2c5da1b.tar.gz
|
||||
/buildah-413bd1f.tar.gz
|
||||
/buildah-0bafbfe.tar.gz
|
||||
/buildah-bdd78ad.tar.gz
|
||||
/buildah-21b4778.tar.gz
|
||||
/buildah-9513cb8.tar.gz
|
||||
/buildah-6cc4656.tar.gz
|
||||
/v1.13.2.tar.gz
|
||||
/v1.14.0.tar.gz
|
||||
|
|
|
|||
149
.packit.yaml
149
.packit.yaml
|
|
@ -1,149 +0,0 @@
|
|||
---
|
||||
# See the documentation for more information:
|
||||
# https://packit.dev/docs/configuration/
|
||||
|
||||
downstream_package_name: buildah
|
||||
upstream_tag_template: v{version}
|
||||
|
||||
# These files get synced from upstream to downstream (Fedora / CentOS Stream) on every
|
||||
# propose-downstream job. This is done so tests maintained upstream can be run
|
||||
# downstream in Zuul CI and Bodhi.
|
||||
# Ref: https://packit.dev/docs/configuration#files_to_sync
|
||||
files_to_sync:
|
||||
- src: rpm/gating.yaml
|
||||
dest: gating.yaml
|
||||
delete: true
|
||||
- src: plans/
|
||||
dest: plans/
|
||||
delete: true
|
||||
mkpath: true
|
||||
- src: tests/tmt/
|
||||
dest: tests/tmt/
|
||||
delete: true
|
||||
mkpath: true
|
||||
- src: .fmf/
|
||||
dest: .fmf/
|
||||
delete: true
|
||||
- .packit.yaml
|
||||
|
||||
packages:
|
||||
buildah-fedora:
|
||||
pkg_tool: fedpkg
|
||||
specfile_path: rpm/buildah.spec
|
||||
buildah-centos:
|
||||
pkg_tool: centpkg
|
||||
specfile_path: rpm/buildah.spec
|
||||
buildah-eln:
|
||||
specfile_path: rpm/buildah.spec
|
||||
|
||||
srpm_build_deps:
|
||||
- make
|
||||
|
||||
jobs:
|
||||
- job: copr_build
|
||||
trigger: pull_request
|
||||
packages: [buildah-fedora]
|
||||
notifications: &copr_build_failure_notification
|
||||
failure_comment:
|
||||
message: "Ephemeral COPR build failed. @containers/packit-build please check."
|
||||
# Fedora aliases documentation: https://packit.dev/docs/configuration#aliases
|
||||
# python3-fedora-distro-aliases provides `resolve-fedora-aliases` command
|
||||
targets: &fedora_copr_targets
|
||||
- fedora-all-x86_64
|
||||
- fedora-all-aarch64
|
||||
enable_net: true
|
||||
# Disable osh diff scan until Go support is available
|
||||
# Ref: https://github.com/openscanhub/known-false-positives/pull/30#issuecomment-2858698495
|
||||
osh_diff_scan_after_copr_build: false
|
||||
|
||||
# Ignore until golang is updated in distro buildroot to 1.23.3+
|
||||
- job: copr_build
|
||||
trigger: ignore
|
||||
packages: [buildah-eln]
|
||||
notifications: *copr_build_failure_notification
|
||||
targets:
|
||||
fedora-eln-x86_64:
|
||||
additional_repos:
|
||||
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
|
||||
fedora-eln-aarch64:
|
||||
additional_repos:
|
||||
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/"
|
||||
enable_net: true
|
||||
|
||||
# Ignore until golang is updated in distro buildroot to 1.23.3+
|
||||
- job: copr_build
|
||||
trigger: ignore
|
||||
packages: [buildah-centos]
|
||||
notifications: *copr_build_failure_notification
|
||||
targets: ¢os_copr_targets
|
||||
- centos-stream-9-x86_64
|
||||
- centos-stream-9-aarch64
|
||||
- centos-stream-10-x86_64
|
||||
- centos-stream-10-aarch64
|
||||
enable_net: true
|
||||
|
||||
# Run on commit to main branch
|
||||
- job: copr_build
|
||||
trigger: commit
|
||||
packages: [buildah-fedora]
|
||||
notifications:
|
||||
failure_comment:
|
||||
message: "podman-next COPR build failed. @containers/packit-build please check."
|
||||
branch: main
|
||||
owner: rhcontainerbot
|
||||
project: podman-next
|
||||
enable_net: true
|
||||
|
||||
# Tests on Fedora for main branch PRs
|
||||
- job: tests
|
||||
trigger: pull_request
|
||||
packages: [buildah-fedora]
|
||||
targets:
|
||||
- fedora-all-x86_64
|
||||
tf_extra_params:
|
||||
environments:
|
||||
- artifacts:
|
||||
- type: repository-file
|
||||
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
|
||||
|
||||
# Ignore until golang is updated in distro buildroot to 1.23.3+
|
||||
# Tests on CentOS Stream for main branch PRs
|
||||
- job: tests
|
||||
trigger: ignore
|
||||
packages: [buildah-centos]
|
||||
targets:
|
||||
- centos-stream-9-x86_64
|
||||
- centos-stream-10-x86_64
|
||||
tf_extra_params:
|
||||
environments:
|
||||
- artifacts:
|
||||
- type: repository-file
|
||||
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/centos-stream-$releasever/rhcontainerbot-podman-next-centos-stream-$releasever.repo
|
||||
|
||||
# Sync to Fedora
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
packages: [buildah-fedora]
|
||||
update_release: false
|
||||
dist_git_branches: &fedora_targets
|
||||
- fedora-all
|
||||
|
||||
# Sync to CentOS Stream
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
packages: [buildah-centos]
|
||||
update_release: false
|
||||
dist_git_branches:
|
||||
- c10s
|
||||
|
||||
# Fedora Koji build
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
packages: [buildah-fedora]
|
||||
sidetag_group: podman-releases
|
||||
# Dependents are not rpm dependencies, but the package whose bodhi update
|
||||
# should include this package.
|
||||
# Ref: https://packit.dev/docs/fedora-releases-guide/releasing-multiple-packages
|
||||
dependents:
|
||||
- podman
|
||||
dist_git_branches: *fedora_targets
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 1.12.0.post1.dev20+g7d30dac21.
|
||||
1445
buildah.spec
1445
buildah.spec
File diff suppressed because it is too large
Load diff
16
gating.yaml
16
gating.yaml
|
|
@ -1,16 +0,0 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts:
|
||||
- bodhi_update_push_stable
|
||||
- bodhi_update_push_testing
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
discover:
|
||||
how: fmf
|
||||
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
prepare:
|
||||
- when: distro == centos-stream or distro == rhel
|
||||
how: shell
|
||||
script: |
|
||||
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm
|
||||
dnf -y config-manager --set-enabled epel
|
||||
order: 10
|
||||
- when: initiator == packit
|
||||
how: shell
|
||||
script: |
|
||||
COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo"
|
||||
if compgen -G $COPR_REPO_FILE > /dev/null; then
|
||||
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
|
||||
fi
|
||||
dnf -y upgrade --allowerasing
|
||||
order: 20
|
||||
|
||||
provision:
|
||||
how: artemis
|
||||
hardware:
|
||||
memory: ">= 16 GB"
|
||||
cpu:
|
||||
cores: ">= 4"
|
||||
threads: ">=8"
|
||||
disk:
|
||||
- size: ">= 512 GB"
|
||||
|
||||
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (v1.42.2.tar.gz) = adb1de700db9b589639f6fd02cad95d9bedacb9d0363838315f33c978a8c900570d55af95073992ff69cff4f2a9d18776c5d786af294aaa1604144580c957414
|
||||
SHA512 (v1.14.0.tar.gz) = c2fe27ccff81cc22dcb398f6d57f618015a1f534510888966483002d552c5f233b8899f639dac15d0f299c6c618e6f1d9889e65c745ce4709e7abd9498258a86
|
||||
|
|
|
|||
10
tests/binary.yml
Normal file
10
tests/binary.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
# test buildah
|
||||
- hosts: all
|
||||
become: true
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- binary
|
||||
- prepare-env
|
||||
- cli
|
||||
209
tests/callback_plugins/log.py
Normal file
209
tests/callback_plugins/log.py
Normal file
|
|
@ -0,0 +1,209 @@
|
|||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Inspired from: https://github.com/redhat-openstack/khaleesi/blob/master/plugins/callbacks/human_log.py
|
||||
# Further improved support Ansible 2.0
|
||||
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
try:
|
||||
from ansible.plugins.callback import CallbackBase
|
||||
BASECLASS = CallbackBase
|
||||
except ImportError: # < ansible 2.1
|
||||
BASECLASS = DEFAULT_MODULE.CallbackModule
|
||||
|
||||
import os, sys
|
||||
try:
|
||||
reload # Python 2.7
|
||||
except NameError:
|
||||
try:
|
||||
from importlib import reload # Python 3.4+
|
||||
except ImportError:
|
||||
from imp import reload
|
||||
reload(sys)
|
||||
|
||||
try:
|
||||
import simplejson as json
|
||||
except ImportError:
|
||||
import json
|
||||
|
||||
# Fields to reformat output for
|
||||
FIELDS = ['cmd', 'command', 'msg', 'stdout',
|
||||
'stderr', 'failed', 'reason']
|
||||
|
||||
|
||||
class CallbackModule(CallbackBase):
|
||||
|
||||
"""
|
||||
Ansible callback plugin for human-readable result logging
|
||||
"""
|
||||
CALLBACK_VERSION = 2.0
|
||||
CALLBACK_TYPE = 'notification'
|
||||
CALLBACK_NAME = 'human_log'
|
||||
CALLBACK_NEEDS_WHITELIST = False
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
# pylint: disable=non-parent-init-called
|
||||
BASECLASS.__init__(self, *args, **kwargs)
|
||||
if os.getenv("TEST_ARTIFACTS") is not None:
|
||||
self.artifacts = os.getenv("TEST_ARTIFACTS")
|
||||
else:
|
||||
self.artifacts = './artifacts'
|
||||
self.result_file = os.path.join(self.artifacts, 'test.log')
|
||||
if not os.path.exists(self.artifacts):
|
||||
os.makedirs(self.artifacts)
|
||||
with open(self.result_file, 'w'): pass
|
||||
|
||||
def human_log(self, data, taskname, status):
|
||||
if type(data) == dict:
|
||||
with open(self.result_file, 'a') as f:
|
||||
f.write("################################################################\n")
|
||||
f.write('The status is "%s" for task: %s.\n' % (status, taskname))
|
||||
f.write("Ansible outputs: \n\n")
|
||||
for field in FIELDS:
|
||||
no_log = data.get('_ansible_no_log', False)
|
||||
if field in data.keys() and data[field] and no_log != True:
|
||||
output = self._format_output(data[field], field)
|
||||
# The following two lines are a hack to make it work with UTF-8 characters
|
||||
if type(output) != list:
|
||||
output = output.encode('utf-8', 'replace')
|
||||
if type(output) == bytes:
|
||||
output = output.decode('utf-8')
|
||||
|
||||
f.write("{0}: {1}".format(field, output.replace("\\n","\n"))+"\n")
|
||||
|
||||
|
||||
def _format_output(self, output, field):
|
||||
# Strip unicode
|
||||
try:
|
||||
if type(output) == unicode:
|
||||
output = output.encode(sys.getdefaultencoding(), 'replace')
|
||||
except NameError:
|
||||
pass
|
||||
|
||||
# If output is a dict
|
||||
if type(output) == dict:
|
||||
return json.dumps(output, indent=2, sort_keys=True)
|
||||
|
||||
# If output is a list of dicts
|
||||
if type(output) == list and type(output[0]) == dict:
|
||||
# This gets a little complicated because it potentially means
|
||||
# nested results, usually because of with_items.
|
||||
real_output = list()
|
||||
for index, item in enumerate(output):
|
||||
copy = item
|
||||
if type(item) == dict:
|
||||
for field in FIELDS:
|
||||
if field in item.keys():
|
||||
copy[field] = self._format_output(item[field], field)
|
||||
real_output.append(copy)
|
||||
return json.dumps(output, indent=2, sort_keys=True)
|
||||
|
||||
# If output is a list of strings
|
||||
if type(output) == list and type(output[0]) != dict:
|
||||
if field == "cmd":
|
||||
return ' '.join(output)
|
||||
return '\n'.join(output)
|
||||
|
||||
# Otherwise it's a string, (or an int, float, etc.) just return it
|
||||
return str(output)
|
||||
|
||||
####### V2 METHODS ######
|
||||
def v2_on_any(self, *args, **kwargs):
|
||||
pass
|
||||
|
||||
def v2_runner_on_failed(self, result, ignore_errors=False):
|
||||
self.human_log(result._result, result._task.name, "FAIL")
|
||||
|
||||
def v2_runner_on_ok(self, result):
|
||||
if result._task.name == "":
|
||||
return
|
||||
self.human_log(result._result, result._task.name, "PASS")
|
||||
|
||||
def v2_runner_on_skipped(self, result):
|
||||
pass
|
||||
|
||||
def v2_runner_on_unreachable(self, result):
|
||||
self.human_log(result._result, result._task.name, "UNREACHABLE")
|
||||
|
||||
def v2_runner_on_no_hosts(self, task):
|
||||
pass
|
||||
|
||||
def v2_runner_on_async_poll(self, result):
|
||||
self.human_log(result._result, result._task.name, "")
|
||||
|
||||
def v2_runner_on_async_ok(self, host, result):
|
||||
self.human_log(result._result, result._task.name, "PASS")
|
||||
|
||||
def v2_runner_on_async_failed(self, result):
|
||||
self.human_log(result._result, result._task.name, "FAIL")
|
||||
|
||||
def v2_playbook_on_start(self, playbook):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_notify(self, result, handler):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_no_hosts_matched(self):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_no_hosts_remaining(self):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_task_start(self, task, is_conditional):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_vars_prompt(self, varname, private=True, prompt=None,
|
||||
encrypt=None, confirm=False, salt_size=None,
|
||||
salt=None, default=None):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_setup(self):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_import_for_host(self, result, imported_file):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_not_import_for_host(self, result, missing_file):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_play_start(self, play):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_stats(self, stats):
|
||||
pass
|
||||
|
||||
def v2_on_file_diff(self, result):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_item_ok(self, result):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_item_failed(self, result):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_item_skipped(self, result):
|
||||
pass
|
||||
|
||||
def v2_playbook_on_include(self, included_file):
|
||||
pass
|
||||
|
||||
def v2_playbook_item_on_ok(self, result):
|
||||
pass
|
||||
|
||||
def v2_playbook_item_on_failed(self, result):
|
||||
pass
|
||||
|
||||
def v2_playbook_item_on_skipped(self, result):
|
||||
pass
|
||||
1
tests/github.sh
Executable file
1
tests/github.sh
Executable file
|
|
@ -0,0 +1 @@
|
|||
ansible-playbook -i inventory github.yml "$@"
|
||||
19
tests/github.yml
Normal file
19
tests/github.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
# test buildah
|
||||
- hosts: localhost
|
||||
become: true
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: prepare-env
|
||||
tags:
|
||||
- env
|
||||
- role: github-buildah
|
||||
tags:
|
||||
- github-buildah
|
||||
- role: github-runc
|
||||
tags:
|
||||
- github-runc
|
||||
- role: cli
|
||||
tags:
|
||||
- cli
|
||||
15
tests/roles/binary/tasks/buildah.yml
Normal file
15
tests/roles/binary/tasks/buildah.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
- name: pull latest buildah source from github
|
||||
git:
|
||||
repo: https://github.com/projectatomic/buildah
|
||||
dest: "{{ HOME }}/go/src/github.com/projectatomic/buildah"
|
||||
|
||||
- name: make binary for buildah
|
||||
command: make
|
||||
args:
|
||||
chdir: "{{ HOME }}/go/src/github.com/projectatomic/buildah"
|
||||
|
||||
- name: install buildah to /usr/local/bin
|
||||
command: make install
|
||||
args:
|
||||
chdir: "{{ HOME }}/go/src/github.com/projectatomic/buildah"
|
||||
4
tests/roles/binary/tasks/main.yml
Normal file
4
tests/roles/binary/tasks/main.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- import_tasks: runc.yml
|
||||
|
||||
- import_tasks: buildah.yml
|
||||
16
tests/roles/binary/tasks/runc.yml
Normal file
16
tests/roles/binary/tasks/runc.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
- name: pull latest runc source from github
|
||||
git:
|
||||
repo: https://github.com/opencontainers/runc
|
||||
dest: "{{ HOME }}/go/src/github.com/opencontainers/runc"
|
||||
|
||||
- name: building runc for buildah runtime
|
||||
command: make
|
||||
args:
|
||||
chdir: "{{ HOME }}/go/src/github.com/opencontainers/runc"
|
||||
|
||||
- name: copy runc to /usr/bin
|
||||
copy:
|
||||
remote_src: True
|
||||
src: "{{ HOME }}/go/src/github.com/opencontainers/runc/runc"
|
||||
dest: /usr/bin/runc
|
||||
58
tests/roles/cli/tasks/add.yaml
Normal file
58
tests/roles/cli/tasks/add.yaml
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
---
|
||||
- name: buildah add
|
||||
command: buildah add nginxc /tmp/buildah/bud/Dockerfile
|
||||
|
||||
- name: check buildah add
|
||||
command: ls {{mount.stdout}}/Dockerfile
|
||||
|
||||
- name: buildah add to destination
|
||||
command: buildah add nginxc /tmp/buildah/bud/Dockerfile /home
|
||||
|
||||
- name: check buildah add to
|
||||
command: ls {{mount.stdout}}/home/Dockerfile
|
||||
|
||||
- name: buildah add URL
|
||||
command: buildah add nginxc https://github.com/projectatomic/buildah/raw/master/README.md
|
||||
|
||||
- name: check buildah add URL
|
||||
command: ls {{mount.stdout}}/README.md
|
||||
|
||||
- name: buildah add URL to destination
|
||||
command: buildah add nginxc https://github.com/projectatomic/buildah/raw/master/README.md /home
|
||||
|
||||
- name: check buildah add URL to destination
|
||||
command: ls {{mount.stdout}}/home/README.md
|
||||
|
||||
- name: create /tmp/buildah/addcopy
|
||||
file: path=/tmp/buildah/addcopy state=directory
|
||||
|
||||
- name: Download buildah README.md
|
||||
get_url:
|
||||
url: https://github.com/projectatomic/buildah/raw/master/README.md
|
||||
dest: /tmp/buildah/addcopy/
|
||||
|
||||
- name: buildah add dir
|
||||
command: buildah add nginxc /tmp/buildah
|
||||
|
||||
- name: check buildah add dir
|
||||
command: ls {{mount.stdout}}/addcopy/README.md
|
||||
|
||||
- name: buildah add dir to destination
|
||||
command: buildah add nginxc /tmp/buildah /home
|
||||
|
||||
- name: check buildah add dir to destination
|
||||
command: ls {{mount.stdout}}/home/addcopy/README.md
|
||||
|
||||
- name: buildah add a tarball file
|
||||
command: buildah add nginxc /var/www/html/bud/Dockerfile.tar.gz /home
|
||||
|
||||
- name: check buildah has added content of tarball to container
|
||||
command: ls {{mount.stdout}}/home/hello
|
||||
|
||||
- name: buildah add with option chown
|
||||
command: buildah add --chown bin:bin nginxc /tmp/buildah/bud /home
|
||||
|
||||
- name: check user after add with option chown
|
||||
raw: buildah run nginxc -- ls -l /home/hello
|
||||
register: ast
|
||||
failed_when: '"bin" not in ast.stdout'
|
||||
103
tests/roles/cli/tasks/bud.yaml
Normal file
103
tests/roles/cli/tasks/bud.yaml
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
---
|
||||
- name: buildah bud with image's format oci
|
||||
command: buildah bud --format=oci --tag testing/fmtoci /tmp/buildah/bud
|
||||
|
||||
- name: buildah bud with image's format docker
|
||||
command: buildah bud -t testing/fmtdocker --format=docker /tmp/buildah/bud
|
||||
|
||||
- name: buildah bud localfile
|
||||
command: buildah bud -t testing/hello --pull /tmp/buildah/bud
|
||||
|
||||
- name: buildah bud -f localfile
|
||||
command: buildah bud -t testing/hello2 -f /tmp/buildah/bud/Dockerfile /tmp/buildah/bud
|
||||
|
||||
- name: buildah bud URL
|
||||
command: buildah bud -t testing/hello3 http://localhost/bud/Dockerfile.tar.gz
|
||||
|
||||
- name: buildah build-using-dockerfile localfile
|
||||
command: buildah build-using-dockerfile -t testing/hello4 /tmp/buildah/bud
|
||||
|
||||
- lineinfile:
|
||||
path: /tmp/buildah/bud/Dockerfile
|
||||
regexp: '^COPY'
|
||||
line: 'COPY $foo /'
|
||||
|
||||
- name: buildah bud with build-arg
|
||||
command: buildah bud -t testing/hello5 --build-arg foo=hello /tmp/buildah/bud
|
||||
|
||||
- name: create container from bud images
|
||||
command: buildah from docker.io/testing/{{ item }}
|
||||
with_items:
|
||||
- hello
|
||||
- hello2
|
||||
- hello3
|
||||
- hello4
|
||||
- hello5
|
||||
|
||||
- name: list containers
|
||||
command: buildah containers
|
||||
register: ctrs
|
||||
|
||||
- name: run containers from bud images
|
||||
command: buildah run {{ item }}-working-container
|
||||
register: hello
|
||||
with_items:
|
||||
- hello
|
||||
- hello2
|
||||
- hello3
|
||||
- hello4
|
||||
- hello5
|
||||
|
||||
- name: verify string hello in container hellos
|
||||
fail:
|
||||
msg: '"Hello from Docker" not found after container run'
|
||||
when: '"Hello from Docker" not in item.stdout'
|
||||
with_items: "{{ hello.results }}"
|
||||
|
||||
- name: buildah rm containers of hello
|
||||
command: buildah rm {{ item }}-working-container
|
||||
with_items:
|
||||
- hello
|
||||
- hello2
|
||||
- hello3
|
||||
- hello4
|
||||
- hello5
|
||||
|
||||
|
||||
- name: buildah bud --quiet
|
||||
command: buildah bud --quiet -t testing/hello6 /tmp/buildah/bud
|
||||
register: budquiet
|
||||
failed_when: '"STEP" in budquiet.stdout'
|
||||
|
||||
- name: buildah bud -q
|
||||
command: buildah bud -q -t testing/hello7 /tmp/buildah/bud
|
||||
register: budq
|
||||
failed_when: '"STEP" in budq.stdout'
|
||||
|
||||
- lineinfile:
|
||||
path: /tmp/buildah/bud/Dockerfile
|
||||
regexp: "^FROM"
|
||||
line: "FROM localhost:5000/buildah/busybox"
|
||||
|
||||
- name: verify bud image from local docker registry without tls-verify is failed
|
||||
command: buildah bud -t testing/hellofail /tmp/buildah/bud
|
||||
register: st
|
||||
failed_when: st.rc != 1
|
||||
|
||||
- name: buildah bud image from local docker registry is successful
|
||||
command: buildah bud --tls-verify=false -t testing/hello8 /tmp/buildah/bud
|
||||
|
||||
- name: buildah rmi hello images
|
||||
command: buildah rmi {{ item }}
|
||||
with_items:
|
||||
- testing/hello
|
||||
- testing/hello2
|
||||
- testing/hello3
|
||||
- testing/hello4
|
||||
- testing/hello5
|
||||
- testing/hello6
|
||||
- testing/hello7
|
||||
- testing/hello8
|
||||
- testing/fmtoci
|
||||
- testing/fmtdocker
|
||||
- localhost:5000/buildah/busybox
|
||||
11
tests/roles/cli/tasks/cleanup.yaml
Normal file
11
tests/roles/cli/tasks/cleanup.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
- block:
|
||||
- name: remove all buildah containers after testing
|
||||
command: buildah rm -a
|
||||
|
||||
- name: remove all images after testing
|
||||
command: buildah rmi -a
|
||||
|
||||
always:
|
||||
- include_role:
|
||||
name: tear-down
|
||||
59
tests/roles/cli/tasks/commit.yaml
Normal file
59
tests/roles/cli/tasks/commit.yaml
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
---
|
||||
- name: buildah commit an image by name
|
||||
command: buildah commit nginxc-2 commitbyname/nginxbyname
|
||||
|
||||
- name: check commit images by name is existed
|
||||
command: buildah images commitbyname/nginxbyname
|
||||
|
||||
- name: get container ID
|
||||
shell: buildah containers | grep nginxc-2 | awk '{print $1}'
|
||||
register: cid
|
||||
|
||||
- name: buildah commit an image by ID
|
||||
command: buildah commit {{ cid.stdout }} commitbyid/nginxbyid
|
||||
|
||||
- name: check commit images by ID is existed
|
||||
command: buildah images commitbyid/nginxbyid
|
||||
|
||||
- name: buildah from commit image
|
||||
command: buildah from docker.io/commitbyid/nginxbyid
|
||||
|
||||
- name: check container nginxbyid exists by inspect
|
||||
command: buildah inspect nginxbyid-working-container
|
||||
|
||||
- name: buildah commit to docker-distribution
|
||||
command: buildah commit --tls-verify=false nginxbyid-working-container docker://localhost:5000/commit/nginx
|
||||
|
||||
- name: buildah commit quiet
|
||||
command: buildah commit --quiet --tls-verify=false nginxbyid-working-container docker://localhost:5000/commit/nginx
|
||||
register: quietcommit
|
||||
failed_when: '"Getting" in quietcommit.stdout'
|
||||
|
||||
- name: create container from commit images on docker-distribution
|
||||
command: buildah from --tls-verify=false docker://localhost:5000/commit/nginx
|
||||
|
||||
- name: buildah commit with rm container
|
||||
command: buildah commit --rm -q --tls-verify=false nginxbyid-working-container docker://localhost:5000/commit/nginx
|
||||
|
||||
- name: verify the container is removed after commit
|
||||
command: buildah inspect nginxbyid-working-container
|
||||
register: commitrm
|
||||
failed_when: commitrm.rc != 1
|
||||
|
||||
- name: buildah commit format oci
|
||||
command: buildah commit --disable-compression --format=oci nginx-working-container nginxoci
|
||||
|
||||
- name: buildah commit format docker
|
||||
command: buildah commit -D -f docker nginx-working-container nginxdocker
|
||||
|
||||
- name: remove containers from commit images
|
||||
command: buildah rm nginx-working-container
|
||||
|
||||
- name: remove images from commit
|
||||
command: buildah rmi {{ item }}
|
||||
with_items:
|
||||
- localhost:5000/commit/nginx
|
||||
- commitbyid/nginxbyid
|
||||
- commitbyname/nginxbyname
|
||||
- nginxoci
|
||||
- nginxdocker
|
||||
48
tests/roles/cli/tasks/config.yaml
Normal file
48
tests/roles/cli/tasks/config.yaml
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
---
|
||||
- name: buildah config annotation
|
||||
command: buildah config --annotation annotation=test-annotation nginxc
|
||||
|
||||
- name: buildah config arch
|
||||
command: buildah config --arch x86_64 nginxc
|
||||
|
||||
- name: buildah config author
|
||||
command: buildah config --author "Guohua Ouyang" nginxc
|
||||
|
||||
- name: buildah config cmd
|
||||
command: buildah config --cmd "nginx -g 'daemon off;'" nginxc
|
||||
|
||||
- name: buildah config createdby
|
||||
command: buildah config --created-by "manualcreated" nginxc
|
||||
|
||||
- name: buildah config label
|
||||
command: buildah config --label label=test-label nginxc
|
||||
|
||||
- name: buildah config port
|
||||
command: buildah config --port 8001 nginxc
|
||||
|
||||
- name: buildah config user
|
||||
command: buildah config --user www-data nginxc
|
||||
|
||||
- name: buildah config workingdir
|
||||
command: buildah config --workingdir /opt nginxc
|
||||
|
||||
- name: buildah config env
|
||||
command: buildah config --env foo=bar nginxc
|
||||
|
||||
- name: buildah config os
|
||||
command: buildah config --os unix nginxc
|
||||
|
||||
- name: verify the container after config
|
||||
shell: buildah inspect nginxc | grep '{{ item }}'
|
||||
with_items:
|
||||
- test-annotation
|
||||
- x86_64
|
||||
- test-label
|
||||
- Ouyang
|
||||
- daemon off
|
||||
- manualcreated
|
||||
- 8001
|
||||
- www-data
|
||||
- opt
|
||||
- foo=bar
|
||||
- unix
|
||||
18
tests/roles/cli/tasks/containers.yaml
Normal file
18
tests/roles/cli/tasks/containers.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
- name: buildah containers
|
||||
shell: buildah containers | grep nginxc
|
||||
|
||||
- name: buildah containers -q
|
||||
shell: buildah containers -q | grep -v nginxc
|
||||
|
||||
- name: buildah containers -n
|
||||
shell: buildah containers -n | grep -v NAME
|
||||
|
||||
- name: buildah containers --notruncate
|
||||
command: buildah containers -- notruncate
|
||||
|
||||
- name: buildah containers --all
|
||||
command: buildah containers --all
|
||||
|
||||
- name: buildah containers --json
|
||||
command: buildah containers --json
|
||||
44
tests/roles/cli/tasks/copy.yaml
Normal file
44
tests/roles/cli/tasks/copy.yaml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
---
|
||||
- name: buildah copy
|
||||
command: buildah copy nginxc-2 /tmp/buildah/bud/Dockerfile
|
||||
|
||||
- name: check buildah copy
|
||||
command: ls {{mount.stdout}}/Dockerfile
|
||||
|
||||
- name: buildah copy to destination
|
||||
command: buildah copy nginxc-2 /tmp/buildah/bud/Dockerfile /home
|
||||
|
||||
- name: check buildah copy to
|
||||
command: ls {{mount.stdout}}/home/Dockerfile
|
||||
|
||||
- name: buildah copy URL
|
||||
command: buildah copy nginxc-2 https://github.com/projectatomic/buildah/raw/master/README.md
|
||||
|
||||
- name: check buildah copy URL
|
||||
command: ls {{mount.stdout}}/README.md
|
||||
|
||||
- name: buildah copy URL to destination
|
||||
command: buildah copy nginxc-2 https://github.com/projectatomic/buildah/raw/master/README.md /home
|
||||
|
||||
- name: check buildah copy URL to destination
|
||||
command: ls {{mount.stdout}}/home/README.md
|
||||
|
||||
- name: buildah copy dir
|
||||
command: buildah copy nginxc-2 /tmp/buildah
|
||||
|
||||
- name: check buildah copy dir
|
||||
command: ls {{mount.stdout}}/addcopy/README.md
|
||||
|
||||
- name: buildah copy dir to destination
|
||||
command: buildah copy nginxc-2 /tmp/buildah /home
|
||||
|
||||
- name: check buildah copy dir to destination
|
||||
command: ls {{mount.stdout}}/home/addcopy/README.md
|
||||
|
||||
- name: buildah copy with option chown
|
||||
command: buildah copy --chown nginx:nginx nginxc-2 /tmp/buildah/bud /home
|
||||
|
||||
- name: check user after copy with option chown
|
||||
command: buildah run nginxc-2 -- ls -l /home/hello
|
||||
register: cst
|
||||
failed_when: '"nginx" not in cst.stdout'
|
||||
23
tests/roles/cli/tasks/from.yaml
Normal file
23
tests/roles/cli/tasks/from.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
- name: remove all containers before pull
|
||||
command: buildah rm --all
|
||||
|
||||
- name: buildah from without pull
|
||||
command: buildah from --name nginxc docker.io/nginx
|
||||
|
||||
- name: buildah from with pull
|
||||
command: buildah from --pull --name nginxc-2 docker.io/nginx
|
||||
|
||||
- name: buildah from with pull always
|
||||
command: buildah from --pull-always docker.io/busybox
|
||||
|
||||
- name: remove busybox-working-container
|
||||
command: buildah rm busybox-working-container
|
||||
|
||||
- name: remove exist image so it will pull again
|
||||
command: buildah rmi busybox
|
||||
|
||||
- name: buildah from with quiet
|
||||
command: buildah from --quiet docker.io/busybox
|
||||
register: quietpull
|
||||
failed_when: '"Getting" in quietpull.stdout'
|
||||
65
tests/roles/cli/tasks/images.yaml
Normal file
65
tests/roles/cli/tasks/images.yaml
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
---
|
||||
- name: verify buildah images digests
|
||||
command: buildah images --digests
|
||||
register: digest
|
||||
failed_when: '"sha256" not in digest.stdout'
|
||||
|
||||
- name: verify buildah images output json
|
||||
command: buildah images --json
|
||||
register: json
|
||||
failed_when: '"id" not in json.stdout'
|
||||
|
||||
- name: verify buildah images noheading
|
||||
command: buildah images --noheading
|
||||
register: head
|
||||
failed_when: '"IMAGE" in head.stdout'
|
||||
|
||||
- name: verify buildah images quiet
|
||||
command: buildah images --quiet
|
||||
register: quiet
|
||||
failed_when: '"NAME" in quiet.stdout'
|
||||
|
||||
- name: verify buildah images format output
|
||||
command: buildah images --format "{% raw %}{{.ID}} {{.Name}} {{.CreatedAt}} {{.Size}}{% endraw %}"
|
||||
register: format
|
||||
|
||||
- lineinfile:
|
||||
path: /tmp/buildah/bud/Dockerfile
|
||||
insertafter: '^FROM'
|
||||
line: 'LABEL project=buildah'
|
||||
|
||||
- name: buildah bud with LABEL in Dockerfile
|
||||
command: buildah bud --tls-verify=false -t testing/label /tmp/buildah/bud
|
||||
|
||||
- name: verify buildah images filter by label
|
||||
command: buildah images -f "label=project=buildah"
|
||||
register: label
|
||||
failed_when: '"testing/label" not in label.stdout'
|
||||
|
||||
- name: buildah bud an image to test filter since/before
|
||||
command: buildah bud -t testing/since /tmp/buildah/bud
|
||||
|
||||
- name: verify buildah images filter by since
|
||||
command: buildah images -f "since=label"
|
||||
register: since
|
||||
failed_when: '"testing/label" in since.stdout and "testing/since" in since.stdout'
|
||||
|
||||
- name: verify buildah images filter by before
|
||||
command: buildah images -f "before=since"
|
||||
register: before
|
||||
failed_when: '"testing/label" not in before.stdout and "testing/since" in before.stdout'
|
||||
|
||||
- name: buildah build an image to test filter dangling
|
||||
command: buildah bud -t testing/label /tmp/buildah/bud
|
||||
|
||||
- name: verify buildah images filter by dangling
|
||||
command: buildah images -f "dangling=true" -q
|
||||
register: dangling
|
||||
|
||||
- name: remove testing images after buildah images
|
||||
command: buildah rmi {{ item }}
|
||||
with_items:
|
||||
- testing/label
|
||||
- testing/since
|
||||
- "{{ dangling.stdout }}"
|
||||
- localhost:5000/buildah/busybox
|
||||
25
tests/roles/cli/tasks/inspect.yaml
Normal file
25
tests/roles/cli/tasks/inspect.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
- name: buildah inspect an image by name
|
||||
command: buildah inspect docker.io/library/nginx:latest
|
||||
|
||||
- name: get image ID
|
||||
command: buildah images -q docker.io/library/nginx:latest
|
||||
register: imgid
|
||||
|
||||
- name: buildah inspect an image by ID
|
||||
command: buildah inspect --type image {{ imgid.stdout }}
|
||||
|
||||
- name: buildah inspect image with format
|
||||
command: buildah inspect -t image -f {% raw %}'{{ .FromImageID }}'{% endraw %} {{ imgid.stdout }}
|
||||
register: inspectid
|
||||
failed_when: 'inspectid.stdout != imgid.stdout'
|
||||
|
||||
- name: buildah inspect container by name
|
||||
command: buildah inspect -t container nginxc-2
|
||||
|
||||
- name: buildah inspect container with format
|
||||
shell: buildah inspect -f {% raw %}'{{ .ContainerID }}'{% endraw %} nginxc-2
|
||||
register: inspectcid
|
||||
|
||||
- name: buildah inspect container by ID
|
||||
command: buildah inspect {{ inspectcid.stdout }}
|
||||
64
tests/roles/cli/tasks/main.yaml
Normal file
64
tests/roles/cli/tasks/main.yaml
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
---
|
||||
- block:
|
||||
- name: buildah version
|
||||
import_tasks: version.yaml
|
||||
tags:
|
||||
- version
|
||||
|
||||
- name: buildah from
|
||||
import_tasks: from.yaml
|
||||
tags:
|
||||
- from
|
||||
|
||||
- name: buildah containers
|
||||
import_tasks: containers.yaml
|
||||
tags:
|
||||
- ctr
|
||||
|
||||
- name: buildah mount
|
||||
import_tasks: mount.yaml
|
||||
tags:
|
||||
- mount
|
||||
|
||||
- name: buildah tag
|
||||
import_tasks: tag.yaml
|
||||
tags:
|
||||
- tag
|
||||
|
||||
- name: buildah config
|
||||
import_tasks: config.yaml
|
||||
tags:
|
||||
- config
|
||||
|
||||
- name: buildah commit
|
||||
import_tasks: commit.yaml
|
||||
tags:
|
||||
- commit
|
||||
|
||||
- name: buildah inspect
|
||||
import_tasks: inspect.yaml
|
||||
tags:
|
||||
- inspect
|
||||
|
||||
- name: buildah push
|
||||
import_tasks: push.yaml
|
||||
tags:
|
||||
- push
|
||||
|
||||
- name: buildah build-using-dockerfile
|
||||
import_tasks: bud.yaml
|
||||
tags:
|
||||
- bud
|
||||
|
||||
- name: buildah images
|
||||
import_tasks: images.yaml
|
||||
tags:
|
||||
- images
|
||||
|
||||
- name: buildah run
|
||||
import_tasks: run.yaml
|
||||
tags:
|
||||
- run
|
||||
|
||||
always:
|
||||
- import_tasks: cleanup.yaml
|
||||
27
tests/roles/cli/tasks/mount.yaml
Normal file
27
tests/roles/cli/tasks/mount.yaml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
- name: buildah mount container nginxc
|
||||
command: buildah mount nginxc
|
||||
register: mount
|
||||
|
||||
- name: buildah mount without args will list all mounts
|
||||
shell: buildah mount | grep storage
|
||||
|
||||
- name: buildah add
|
||||
import_tasks: add.yaml
|
||||
tags:
|
||||
- add
|
||||
|
||||
- name: buildah umount
|
||||
command: buildah umount nginxc
|
||||
|
||||
- name: buildah mount --notruncate
|
||||
command: buildah mount --notruncate nginxc-2
|
||||
register: mount
|
||||
|
||||
- name: buildah copy
|
||||
import_tasks: copy.yaml
|
||||
tags:
|
||||
- copy
|
||||
|
||||
- name: buildah unmount
|
||||
command: buildah unmount nginxc-2
|
||||
6
tests/roles/cli/tasks/prepare-containers.yaml
Normal file
6
tests/roles/cli/tasks/prepare-containers.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- name: prepare container nginxc for later testing
|
||||
command: buildah from --pull --name nginxc nginx
|
||||
|
||||
- name: prepare container nginxc-2 for later testing
|
||||
command: buildah from --name nginxc-2 nginx
|
||||
65
tests/roles/cli/tasks/push.yaml
Normal file
65
tests/roles/cli/tasks/push.yaml
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
---
|
||||
- name: pull busybox before push
|
||||
command: buildah from --pull --name busybox docker.io/busybox
|
||||
|
||||
- name: buildah push image to containers-storage
|
||||
command: buildah push docker.io/busybox:latest containers-storage:docker.io/busybox:latest
|
||||
|
||||
- name: buildah push image to docker daemon
|
||||
command: buildah push docker.io/busybox:latest docker-daemon:docker.io/buildah/busybox:latest
|
||||
|
||||
- name: check buildah/busybox exist in docker daemon
|
||||
command: docker images docker.io/buildah/busybox:latest
|
||||
|
||||
- name: buildah push image to docker local registry
|
||||
command: buildah push --tls-verify=false docker.io/busybox:latest docker://localhost:5000/buildah/busybox:latest
|
||||
|
||||
- name: create /tmp/buildah/busybox
|
||||
file: path=/tmp/buildah/docker state=directory
|
||||
|
||||
- name: rm busybox.tar because docker archive does not support modify
|
||||
file: path=/tmp/buildah/docker/busybox.tar state=absent
|
||||
|
||||
- name: buildah push image to docker-archive
|
||||
command: buildah push docker.io/busybox:latest docker-archive:/tmp/buildah/docker/busybox.tar:latest
|
||||
|
||||
- name: check docker archive exist
|
||||
file: path=/tmp/buildah/docker/busybox.tar state=file
|
||||
|
||||
- name: create /tmp/buildah/dir
|
||||
file: path=/tmp/buildah/dir state=directory
|
||||
|
||||
- name: buildah push image to dir
|
||||
command: buildah push docker.io/busybox:latest dir:/tmp/buildah/dir
|
||||
|
||||
- name: create /tmp/buildah/oci
|
||||
file: path=/tmp/buildah/oci state=directory
|
||||
|
||||
- name: buildah push image to oci
|
||||
command: buildah push docker.io/busybox:latest oci:/tmp/buildah/oci:latest
|
||||
|
||||
- name: buildah push image to oci archive
|
||||
command: buildah push docker.io/busybox:latest oci-archive:/tmp/buildah/oci/busybox.tar:latest
|
||||
|
||||
- name: check oci archive exist
|
||||
file: path=/tmp/buildah/oci/busybox.tar state=file
|
||||
|
||||
- name: init default ostree repo
|
||||
command: ostree --repo=/ostree/repo init
|
||||
when: not ansible_distribution == "CentOS"
|
||||
|
||||
- name: create /tmp/buildah/ostree/repo
|
||||
file: path=/tmp/buildah/ostree/repo state=directory
|
||||
when: not ansible_distribution == "CentOS"
|
||||
|
||||
- name: init tmp ostree repo
|
||||
command: ostree --repo=/tmp/buildah/ostree/repo init
|
||||
when: not ansible_distribution == "CentOS"
|
||||
|
||||
- name: buildah push image to ostree
|
||||
command: buildah push docker.io/busybox:latest ostree:busybox:latest
|
||||
when: not ansible_distribution == "CentOS"
|
||||
|
||||
- name: buildah push image to non-default ostree repo
|
||||
command: buildah push docker.io/busybox:latest ostree:busybox:latest@/tmp/buildah/ostree/repo
|
||||
when: not ansible_distribution == "CentOS"
|
||||
10
tests/roles/cli/tasks/run.yaml
Normal file
10
tests/roles/cli/tasks/run.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- name: buildah run with option hostname
|
||||
command: buildah run --hostname example.buildah.com nginxc -- hostname
|
||||
register: hostname
|
||||
failed_when: '"example.buildah.com" not in hostname.stdout'
|
||||
|
||||
- name: buildah run with option volume
|
||||
command: buildah run --volume /tmp/buildah/bud:/home nginxc ls /home
|
||||
register: volume
|
||||
failed_when: '"hello" not in volume.stdout'
|
||||
40
tests/roles/cli/tasks/tag.yaml
Normal file
40
tests/roles/cli/tasks/tag.yaml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
- name: buildah tag by name
|
||||
command: buildah tag busybox busybox1
|
||||
|
||||
- name: check busybox1 exists
|
||||
shell: buildah images | grep busybox1
|
||||
|
||||
- name: get image id
|
||||
command: buildah images -q busybox1
|
||||
register: busyboxID
|
||||
|
||||
- name: buildah tag by ID
|
||||
command: buildah tag {{busyboxID.stdout}} busybox2
|
||||
|
||||
- name: check busybox2 exists
|
||||
shell: buildah images | grep busybox2
|
||||
|
||||
- name: buildah from tagged image
|
||||
command: buildah from docker.io/busybox1
|
||||
|
||||
- name: mount the container which using tagged image
|
||||
command: buildah mount busybox1-working-container
|
||||
|
||||
- name: buildah umount the container
|
||||
command: buildah umount busybox1-working-container
|
||||
|
||||
- name: buildah rm container busybox
|
||||
command: buildah rm busybox-working-container
|
||||
|
||||
- name: buildah rm container busybox1
|
||||
command: buildah rm busybox1-working-container
|
||||
|
||||
- name: buildah rmi tagged image
|
||||
shell: buildah rmi busybox{1..2}
|
||||
|
||||
- name: check image busybox is not deleted
|
||||
shell: buildah images | grep busybox
|
||||
|
||||
- name: buildah rmi image busybox
|
||||
command: buildah rmi busybox
|
||||
14
tests/roles/cli/tasks/version.yaml
Normal file
14
tests/roles/cli/tasks/version.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- name: check version of buildah rpm package
|
||||
command: rpm -q buildah
|
||||
register: rpmver
|
||||
args:
|
||||
warn: no
|
||||
|
||||
- debug: msg={{ rpmver.stdout }}
|
||||
|
||||
- name: check version of command buildah version
|
||||
command: buildah version
|
||||
register: ver
|
||||
|
||||
- debug: msg={{ ver.stdout }}
|
||||
21
tests/roles/github-buildah/tasks/main.yml
Normal file
21
tests/roles/github-buildah/tasks/main.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
- name: pull latest buildah source from github
|
||||
git:
|
||||
repo: https://github.com/projectatomic/buildah
|
||||
dest: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah"
|
||||
|
||||
- name: make binary for buildah
|
||||
command: make
|
||||
args:
|
||||
chdir: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah"
|
||||
|
||||
- name: install buildah to /usr/local/bin
|
||||
command: make install
|
||||
args:
|
||||
chdir: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah"
|
||||
|
||||
- name: copy buildah to /usr/bin
|
||||
copy:
|
||||
remote_src: True
|
||||
src: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah/buildah"
|
||||
dest: /usr/bin/buildah
|
||||
16
tests/roles/github-runc/tasks/main.yml
Normal file
16
tests/roles/github-runc/tasks/main.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
- name: pull latest runc source from github
|
||||
git:
|
||||
repo: https://github.com/opencontainers/runc
|
||||
dest: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc"
|
||||
|
||||
- name: building runc for buildah runtime
|
||||
command: make
|
||||
args:
|
||||
chdir: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc"
|
||||
|
||||
- name: copy runc to /usr/bin
|
||||
copy:
|
||||
remote_src: True
|
||||
src: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc/runc"
|
||||
dest: /usr/bin/runc
|
||||
21
tests/roles/github/tasks/buildah.yml
Normal file
21
tests/roles/github/tasks/buildah.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
- name: pull latest buildah source from github
|
||||
git:
|
||||
repo: https://github.com/projectatomic/buildah
|
||||
dest: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah"
|
||||
|
||||
- name: make binary for buildah
|
||||
command: make
|
||||
args:
|
||||
chdir: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah"
|
||||
|
||||
- name: install buildah to /usr/local/bin
|
||||
command: make install
|
||||
args:
|
||||
chdir: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah"
|
||||
|
||||
- name: copy buildah to /usr/bin
|
||||
copy:
|
||||
remote_src: True
|
||||
src: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah/buildah"
|
||||
dest: /usr/bin/buildah
|
||||
8
tests/roles/github/tasks/main.yml
Normal file
8
tests/roles/github/tasks/main.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
- import_tasks: runc.yml
|
||||
tags:
|
||||
- runc
|
||||
|
||||
- import_tasks: buildah.yml
|
||||
tags:
|
||||
- buildah
|
||||
16
tests/roles/github/tasks/runc.yml
Normal file
16
tests/roles/github/tasks/runc.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
- name: pull latest runc source from github
|
||||
git:
|
||||
repo: https://github.com/opencontainers/runc
|
||||
dest: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc"
|
||||
|
||||
- name: building runc for buildah runtime
|
||||
command: make
|
||||
args:
|
||||
chdir: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc"
|
||||
|
||||
- name: copy runc to /usr/bin
|
||||
copy:
|
||||
remote_src: True
|
||||
src: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc/runc"
|
||||
dest: /usr/bin/runc
|
||||
55
tests/roles/prepare-env/tasks/main.yml
Normal file
55
tests/roles/prepare-env/tasks/main.yml
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
---
|
||||
- name: install required packages for testings
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: latest
|
||||
with_items:
|
||||
- docker
|
||||
- python-docker-py
|
||||
- buildah
|
||||
- docker-distribution
|
||||
- ostree
|
||||
- httpd
|
||||
- libselinux-python
|
||||
- golang
|
||||
- make
|
||||
- libseccomp-devel
|
||||
|
||||
- name: start docker daemon
|
||||
systemd: state=started name=docker
|
||||
|
||||
- name: create /ostree/repo
|
||||
file: path=/ostree/repo state=directory
|
||||
|
||||
- name: ensure docker-distribution service is running
|
||||
systemd: state=started name=docker-distribution
|
||||
|
||||
- name: create tmp directory for buildah testing
|
||||
file: path=/tmp/buildah/bud state=directory
|
||||
|
||||
- name: download Dockerfile for hello-world from github
|
||||
get_url:
|
||||
url: https://raw.githubusercontent.com/docker-library/hello-world/master/amd64/hello-world/Dockerfile
|
||||
dest: /tmp/buildah/bud/Dockerfile
|
||||
force: yes
|
||||
|
||||
- name: download hello for the Dockerfile
|
||||
get_url:
|
||||
url: https://github.com/docker-library/hello-world/raw/master/amd64/hello-world/hello
|
||||
dest: /tmp/buildah/bud/hello
|
||||
force: yes
|
||||
mode: 0755
|
||||
|
||||
- name: create a bud directory in /var/www/html
|
||||
file: path=/var/www/html/bud state=directory
|
||||
|
||||
- name: archive dockerfile into httpd directory
|
||||
command: tar zcvf /var/www/html/bud/Dockerfile.tar.gz Dockerfile hello
|
||||
args:
|
||||
chdir: /tmp/buildah/bud
|
||||
# Disables the following warning:
|
||||
# Consider using unarchive module rather than running tar
|
||||
warn: no
|
||||
|
||||
- name: start httpd service
|
||||
systemd: state=started name=httpd
|
||||
9
tests/roles/tear-down/tasks/main.yml
Normal file
9
tests/roles/tear-down/tasks/main.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- name: stop docker-distribution service
|
||||
systemd: state=stopped name=docker-distribution
|
||||
|
||||
- name: stop httpd service
|
||||
systemd: state=stopped name=httpd
|
||||
|
||||
- name: remove /tmp/buildah
|
||||
file: path=/tmp/buildah state=absent
|
||||
9
tests/rpm.yml
Normal file
9
tests/rpm.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
# test buildah
|
||||
- hosts: all
|
||||
become: true
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- prepare-env
|
||||
- cli
|
||||
1
tests/test.sh
Executable file
1
tests/test.sh
Executable file
|
|
@ -0,0 +1 @@
|
|||
ansible-playbook -i inventory tests.yml "$@"
|
||||
1
tests/test_binary.sh
Executable file
1
tests/test_binary.sh
Executable file
|
|
@ -0,0 +1 @@
|
|||
ansible-playbook -i inventory binary.yml "$@"
|
||||
1
tests/test_rpm.sh
Executable file
1
tests/test_rpm.sh
Executable file
|
|
@ -0,0 +1 @@
|
|||
ansible-playbook -i inventory buildah_rpm.yml "$@"
|
||||
16
tests/tests.yml
Normal file
16
tests/tests.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
# test buildah
|
||||
- hosts: localhost
|
||||
become: true
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: prepare-env
|
||||
tags:
|
||||
- env
|
||||
- role: github-runc
|
||||
tags:
|
||||
- github-runc
|
||||
- role: cli
|
||||
tags:
|
||||
- cli
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
require:
|
||||
- buildah-tests
|
||||
- git-daemon
|
||||
- slirp4netns
|
||||
|
||||
environment:
|
||||
BUILDAH_BINARY: /usr/bin/buildah
|
||||
IMGTYPE_BINARY: /usr/bin/buildah-imgtype
|
||||
INET_BINARY: /usr/bin/buildah-inet
|
||||
COPY_BINARY: /usr/bin/buildah-copy
|
||||
TUTORIAL_BINARY: /usr/bin/buildah-tutorial
|
||||
DUMPSPEC_BINARY: /usr/bin/buildah-dumpspec
|
||||
PASSWD_BINARY: /usr/bin/buildah-passwd
|
||||
TMPDIR: /var/tmp
|
||||
|
||||
adjust:
|
||||
- when: initiator != "packit"
|
||||
environment+:
|
||||
RELEASE_TESTING: true
|
||||
|
||||
/local/root:
|
||||
summary: System test
|
||||
test: bash ./system.sh
|
||||
duration: 60m
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -exo pipefail
|
||||
|
||||
uname -r
|
||||
|
||||
rpm -q \
|
||||
aardvark-dns \
|
||||
buildah \
|
||||
buildah-tests \
|
||||
conmon \
|
||||
container-selinux \
|
||||
containers-common \
|
||||
crun \
|
||||
netavark \
|
||||
systemd
|
||||
|
||||
bats /usr/share/buildah/test/system
|
||||
Loading…
Add table
Add a link
Reference in a new issue