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
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
remove test delay
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
  • Loading branch information
qweeah committed Sep 28, 2022
commit 66661ab6e94b4d42f399aa705450d391b248ebcb
2 changes: 0 additions & 2 deletions test/e2e/suite/command/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ package command

import (
"os/exec"
"time"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand All @@ -29,7 +28,6 @@ var _ = Describe("ORAS user", func() {
Context("checks oras version", func() {
When("running version command", func() {
It("should success", func() {
time.Sleep(25 * time.Second)
session, err := gexec.Start(exec.Command(utils.OrasPath, "version"), nil, nil)
Expect(err).ShouldNot(HaveOccurred())
Eventually(session, "10s").Should(gexec.Exit(0))
Expand Down