Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(e2e): add E2E test infra #561

Merged
merged 60 commits into from
Oct 9, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
7844882
test(e2e): add ginkgo and start distribution
qweeah Sep 13, 2022
f76783b
add a spec
qweeah Sep 13, 2022
978219a
rename package
qweeah Sep 14, 2022
72dd79d
add _test suffix
qweeah Sep 14, 2022
dccb967
correct package name
qweeah Sep 14, 2022
dc2c8d6
clean module file
qweeah Sep 14, 2022
8876a01
ignore certain dep
qweeah Sep 15, 2022
1b86ea3
Merge remote-tracking branch 'origin_src/main' into e2e-infra
qweeah Sep 15, 2022
e9aa7ad
Merge remote-tracking branch 'origin_src/main' into e2e-infra
qweeah Sep 26, 2022
b3c5206
rename util package
qweeah Sep 28, 2022
8fe7427
Merge remote-tracking branch 'origin_src/main' into e2e-infra
qweeah Sep 28, 2022
66661ab
remove test delay
qweeah Sep 28, 2022
3f32cd1
add mount files for test initialization
qweeah Sep 29, 2022
c2dd82a
revert mount file
qweeah Sep 29, 2022
14c0e64
add mount tarball
qweeah Sep 29, 2022
d6007c0
add document for mounting data
qweeah Sep 29, 2022
e3a0305
omit decompress logs
qweeah Sep 29, 2022
8ab1b59
fix git ignore
qweeah Sep 29, 2022
479ca54
Merge remote-tracking branch 'origin_src/main' into e2e-infra
qweeah Sep 29, 2022
c27309b
add submodule
qweeah Oct 8, 2022
0f85baa
Merge remote-tracking branch 'origin_src/main' into e2e-infra
qweeah Oct 8, 2022
cb93b2e
add cli module in
qweeah Oct 8, 2022
2c24798
try build without module mode
qweeah Oct 8, 2022
7fa6838
skip checking license for go.work
qweeah Oct 8, 2022
248c4e5
update registry mount file
qweeah Oct 8, 2022
6b0848d
Merge branch 'e2e-infra' of https://github.com/qweeah/oras into e2e-i…
qweeah Oct 8, 2022
8170b50
fix go modules
qweeah Oct 8, 2022
37651db
remove go workspace config
qweeah Oct 8, 2022
a3e595f
modify root folder for e2e
qweeah Oct 8, 2022
747f8fd
force module mode while installing ginkgo
qweeah Oct 8, 2022
f991754
use abs path for docker mount
qweeah Oct 8, 2022
1aab431
update readme
qweeah Oct 8, 2022
c3a92f7
replace distribution configure with docker envs
qweeah Oct 8, 2022
2324232
add newline
qweeah Oct 8, 2022
b069bbd
revert go mod changes
qweeah Oct 8, 2022
9cbd970
use gzip for mount file
qweeah Oct 8, 2022
34ddf67
remove unnecessary steps
qweeah Oct 8, 2022
4af75dc
doc clean
qweeah Oct 8, 2022
6087fb2
add doc for global variables
qweeah Oct 8, 2022
09068f5
code clean
qweeah Oct 8, 2022
f2c62ab
code clean
qweeah Oct 8, 2022
6ac4417
Merge remote-tracking branch 'origin_src/main' into e2e-infra
qweeah Oct 8, 2022
e6e30bd
code clean
qweeah Oct 8, 2022
a25c313
remove config
qweeah Oct 8, 2022
2a56638
add new workspace in e2e folder
qweeah Oct 8, 2022
dc02ef6
remove duplicated configurations
qweeah Oct 8, 2022
6a2cc4b
fix build failure
qweeah Oct 8, 2022
f396c8f
add layered mount files
qweeah Oct 9, 2022
96e53c1
change ignore to mount folder
qweeah Oct 9, 2022
d624b90
add mount layer in
qweeah Oct 9, 2022
877ea88
doc clean
qweeah Oct 9, 2022
d0b6cbb
remove passwd file
qweeah Oct 9, 2022
5c0b89c
shorten build script
qweeah Oct 9, 2022
bc4c067
change style
qweeah Oct 9, 2022
30e7cd0
fix typo
qweeah Oct 9, 2022
dfb8b1a
fix typo
qweeah Oct 9, 2022
0867ed4
use rc2 for testing
qweeah Oct 9, 2022
32f89f5
doc clean
qweeah Oct 9, 2022
5ab9e93
fix typo
qweeah Oct 9, 2022
50528d3
doc clean
qweeah Oct 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix go modules
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
  • Loading branch information
qweeah committed Oct 8, 2022
commit 8170b509b1780ab02c451f423d486a485ba5e449
3 changes: 0 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ require (
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
github.com/docker/docker v20.10.18+incompatible // indirect
github.com/docker/docker-credential-helpers v0.7.0 // indirect
github.com/google/go-cmp v0.5.8 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/opencontainers/distribution-spec/specs-go v0.0.0-20220620172159-4ab4752c3b86 // indirect
github.com/pkg/errors v0.9.1 // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64 // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ github.com/docker/docker v20.10.18+incompatible h1:SN84VYXTBNGn92T/QwIRPlum9zfem
github.com/docker/docker v20.10.18+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/docker-credential-helpers v0.7.0 h1:xtCHsjxogADNZcdv1pKUHXryefjlVRqWqIhk/uXJp0A=
github.com/docker/docker-credential-helpers v0.7.0/go.mod h1:rETQfLdHNT3foU5kuNkFR1R1V12OJRRO5lzt2D1b5X0=
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
Expand Down
27 changes: 27 additions & 0 deletions go.work.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 h1:p104kn46Q8WdvHunIJ9dAyjPVtrBPhSr3KT2yUst43I=
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 h1:yAJXTCF9TqKcTiHJAE8dj7HMvPfh66eeA2JYW7eFpSE=
github.com/onsi/ginkgo/v2 v2.1.6 h1:Fx2POJZfKRQcM1pH49qSZiYeu319wji004qX+GDovrU=
github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk=
github.com/onsi/gomega v1.20.2 h1:8uQq0zMgLEfa0vRrrBgaJF2gyW9Da9BmfGV+OyUzfkY=
github.com/onsi/gomega v1.20.2/go.mod h1:iYAIXgPSaDHak0LCMA+AWBpIKBr8WZicMxnE8luStNc=
github.com/opencontainers/distribution-spec/specs-go v0.0.0-20220620172159-4ab4752c3b86 h1:Oumw+lPnO8qNLTY2mrqPJZMoGExLi/0h/DdikoLTXVU=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM=
github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
github.com/oras-project/artifacts-spec v1.0.0-rc.2 h1:9SMCNSxkJEHqWGDiMCuy6TXHgvjgwXGdXZZGXLKQvVE=
github.com/oras-project/artifacts-spec v1.0.0-rc.2/go.mod h1:Xch2aLzSwtkhbFFN6LUzTfLtukYvMMdXJ4oZ8O7BOdc=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/tools v0.1.12 h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
oras.land/oras-go/v2 v2.0.0-rc.3.0.20220922092058-3f9653f7bf69 h1:HpwQf1GbCkpVTdmHSsBiJpfZMWxqPjPjcKbtX6VXtGI=
oras.land/oras-go/v2 v2.0.0-rc.3.0.20220922092058-3f9653f7bf69/go.mod h1:PrY+cCglzK/DrQoJUtxbYVbL94ZHecVS3eJR01RglpE=