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

DO-NOT-MERGE: example of scripting in go #810

Closed
wants to merge 101 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
d17b0a4
add test and fix license
qweeah Jan 16, 2023
f4e7398
Remove focused
qweeah Jan 16, 2023
ee2436d
add fallback
qweeah Jan 16, 2023
8222fd0
code clean
qweeah Jan 18, 2023
f03a6aa
add mount data for fallback testing
qweeah Jan 18, 2023
db50edc
fix: deduplicate copy status logs
qweeah Jan 18, 2023
07eba1b
Merge branch 'fix-copy' into e2e-copy
qweeah Jan 18, 2023
e4b5dee
fix copying
qweeah Jan 18, 2023
6a5084b
fix post copy
qweeah Jan 18, 2023
b00dc9a
Merge branch 'fix-copy' into e2e-copy
qweeah Jan 18, 2023
bbe6b0c
bump e2e oras-go
qweeah Jan 18, 2023
f52682c
deduplicate based on digest
qweeah Jan 18, 2023
66eb21e
Merge branch 'fix-copy' into e2e-copy
qweeah Jan 18, 2023
41b7371
revert copy change
qweeah Jan 18, 2023
ae063cb
add test
qweeah Jan 18, 2023
f0aa94b
Merge remote-tracking branch 'origin_src/main' into e2e-copy
qweeah Jan 18, 2023
be1ffd9
fix e2e
qweeah Jan 18, 2023
a264e84
use billy's fork for testing
qweeah Jan 18, 2023
5aac978
correct version
qweeah Jan 18, 2023
cabd2b6
Merge remote-tracking branch 'origin_src/main' into e2e-copy
qweeah Jan 29, 2023
b5429cc
add test data for fallback registry
qweeah Jan 29, 2023
c962337
add test scripts for e2e
qweeah Feb 9, 2023
e90901b
Merge remote-tracking branch 'origin_src/main' into e2e-copy
qweeah Feb 9, 2023
bffc5b9
add logs
qweeah Feb 9, 2023
bbbf9a6
correct git action variables
qweeah Feb 9, 2023
4c6ad45
add action logs
qweeah Feb 9, 2023
755a436
rewrite host names
qweeah Feb 9, 2023
e1dec73
use shell script to run tests
qweeah Feb 9, 2023
ceb86de
fix typo
qweeah Feb 9, 2023
94f029f
correct ci path
qweeah Feb 9, 2023
543657d
resolve script errors
qweeah Feb 9, 2023
eadc5f6
correct test scripts
qweeah Feb 9, 2023
615bae1
update scripts
qweeah Feb 9, 2023
e8a920d
add sh
qweeah Feb 9, 2023
767a036
add license checker
qweeah Feb 9, 2023
88ce722
add cleanup
qweeah Feb 9, 2023
5590b9c
add docs
qweeah Feb 9, 2023
dcf3101
more docs
qweeah Feb 9, 2023
d625470
code clean
qweeah Feb 9, 2023
c919057
add execute permission to scripts
qweeah Feb 9, 2023
a0e2c18
rename script
qweeah Feb 9, 2023
bad0fc9
add container stopping logs
qweeah Feb 10, 2023
78d4c37
doc clean
qweeah Feb 10, 2023
58f7144
use pushd instead
qweeah Feb 10, 2023
1d1786a
run distribution as current user
qweeah Feb 10, 2023
2d7aff7
add exiting trap
qweeah Feb 10, 2023
8276913
add fallback registry to registry
qweeah Feb 10, 2023
ef06747
doc update
qweeah Feb 10, 2023
ca1b183
fix error in doc
qweeah Feb 12, 2023
a20d0c8
Merge remote-tracking branch 'origin_src/main' into e2e-copy
qweeah Feb 13, 2023
a62f7ee
fix typo
qweeah Feb 13, 2023
65004e6
test(e2e): add e2e specs for `oras attach`
qweeah Feb 13, 2023
1998210
code clean
qweeah Feb 13, 2023
e0cf07f
test(e2e): add specs for `oras discover`
qweeah Feb 13, 2023
5c69552
DO-NOT-MERGE: example of run oras command via go file
qweeah Feb 14, 2023
739d129
code clean
qweeah Feb 14, 2023
d38af2b
Merge remote-tracking branch 'origin_src/main' into e2e-attach
qweeah Feb 15, 2023
7ec6ee7
add test data for cp
qweeah Feb 15, 2023
e978ca0
test: use dedicated package for test data
qweeah Feb 16, 2023
e4e4223
move digest constant
qweeah Feb 16, 2023
5e1f858
move constants to dedicated pkg
qweeah Feb 16, 2023
1837cad
update readme and consts
qweeah Feb 16, 2023
5d0199c
add e2e for recursive copying with platforms
qweeah Feb 16, 2023
f02cafb
add test cases
qweeah Feb 16, 2023
53f9b56
add e2e tests
qweeah Feb 16, 2023
809b2f4
Merge remote-tracking branch 'origin_src/main' into fix-copy-platform
qweeah Feb 16, 2023
dfcaac8
bump ginkgo
qweeah Feb 16, 2023
38fac21
code clean
qweeah Feb 16, 2023
89c2e35
revert attach changes
qweeah Feb 16, 2023
ff09a66
add import
qweeah Feb 16, 2023
c77839f
fix e2e
qweeah Feb 16, 2023
6f752df
fix e2e
qweeah Feb 16, 2023
f51d578
show correct source digest
qweeah Feb 16, 2023
7916770
fix e2e
qweeah Feb 16, 2023
695eca0
Merge remote-tracking branch 'origin_src/main' into fix-copy-platform
qweeah Feb 16, 2023
c7094d6
doc clean
qweeah Feb 16, 2023
cf0337f
code clean
qweeah Feb 17, 2023
79f5312
Merge branch 'fix-copy-platform' into e2e-discover
qweeah Feb 17, 2023
68af77c
test(e2e): add discover e2e specs
qweeah Feb 17, 2023
dca974b
add table test
qweeah Feb 17, 2023
2c5bb0b
add test case
qweeah Feb 17, 2023
91587d4
check in affected code
qweeah Feb 17, 2023
91c3375
add module info
qweeah Feb 17, 2023
79cce8e
revert cp
qweeah Feb 17, 2023
b2042b5
add test
qweeah Feb 17, 2023
7849893
change constant
qweeah Feb 17, 2023
a1ba6f7
change constant
qweeah Feb 17, 2023
d2b6f5c
fix e2e
qweeah Feb 17, 2023
d0a8af7
Merge branch 'e2e-discover' into script-go
qweeah Feb 17, 2023
9fc2299
fix e2e
qweeah Feb 17, 2023
fcd132a
Merge branch 'e2e-discover' into script-go
qweeah Feb 17, 2023
06e725d
fix e2e
qweeah Feb 17, 2023
059e1ac
Merge remote-tracking branch 'origin/e2e-discover' into script-go
qweeah Feb 17, 2023
ee88f83
skip test
qweeah Feb 17, 2023
7ef3c77
use pending instead
qweeah Feb 17, 2023
e4061d6
move root command out of main package
qweeah Feb 17, 2023
e941c87
Merge commit 'e4061d62c4df6cf4348a13e1050bbd54e4f68900' into scriptin…
qweeah Feb 18, 2023
8129e68
remove ci change
qweeah Feb 18, 2023
d306e1e
update playable example
qweeah Feb 18, 2023
3ee37f6
add doc
qweeah Feb 18, 2023
3dd5954
bug fix
qweeah Feb 18, 2023
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 focused
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
qweeah committed Jan 16, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit f4e7398ec9f24bdb9529532d9315bd7ab3ec3349
2 changes: 1 addition & 1 deletion test/e2e/suite/command/cp.go
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ var _ = Describe("ORAS beginners:", func() {
})
})

var _ = Describe("Common registry users:", Focus, func() {
var _ = Describe("Common registry users:", func() {
When("running `cp`", func() {
imageStateKeys := []match.StateKey{
{Digest: "44136fa355b3", Name: "application/vnd.unknown.config.v1+json"},