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

fix: always absolute paths when tarring files to a Docker container #814

Merged
merged 20 commits into from
Feb 15, 2023
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
5c82fdb
chore: extract to variable to avoid double calculation
mdelapenya Feb 10, 2023
adb8b74
chore: add tests including absolute paths
mdelapenya Feb 10, 2023
b6fd5e2
chore: merge tests using a test table
mdelapenya Feb 10, 2023
1f2ff58
fix: keep parent directory as the root of the TAR file
mdelapenya Feb 10, 2023
c6262a5
docs: document the change
mdelapenya Feb 10, 2023
fca2d7b
chore: make the path OS-agnostic
mdelapenya Feb 10, 2023
9029449
chore: simplify
mdelapenya Feb 10, 2023
032a827
fix: use filepath to be OS-independent
mdelapenya Feb 10, 2023
6c4817f
chore(deps): bump github.com/jackc/pgx/v4 in /examples/cockroachdb (#…
dependabot[bot] Feb 13, 2023
b0bede5
chore(deps): bump golang.org/x/sys from 0.4.0 to 0.5.0 (#816)
dependabot[bot] Feb 13, 2023
8686f05
chore(deps): bump golang.org/x/text from 0.6.0 to 0.7.0 (#818)
dependabot[bot] Feb 14, 2023
6456914
chore(deps): bump github.com/containerd/containerd from 1.6.16 to 1.6…
dependabot[bot] Feb 14, 2023
7cc6efb
chore(deps): bump google.golang.org/grpc from 1.52.3 to 1.53.0 in /ex…
mdelapenya Feb 14, 2023
998f6b9
feat: add localstack module (#800)
mdelapenya Feb 14, 2023
7f085c7
chore(deps): bump go.mongodb.org/mongo-driver in /examples/mongodb (#…
dependabot[bot] Feb 14, 2023
002ed2b
chore(deps): bump google.golang.org/api from 0.109.0 to 0.110.0 in /e…
mdelapenya Feb 14, 2023
eef3fa9
feat: support generating Go modules or example modules (#826)
mdelapenya Feb 14, 2023
8466f5c
fix: always pass the absolute path to the tar code
mdelapenya Feb 15, 2023
bdb96cb
Merge branch 'main' into full-path-copy-to-container
mdelapenya Feb 15, 2023
9d53673
Merge branch 'main' into full-path-copy-to-container
mdelapenya Feb 15, 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
chore(deps): bump golang.org/x/text from 0.6.0 to 0.7.0 (#818)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] authored and mdelapenya committed Feb 15, 2023
commit 8686f0568066767961cd48cf07dd298e7544d414
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ require (
github.com/opencontainers/image-spec v1.1.0-rc2
github.com/stretchr/testify v1.8.1
golang.org/x/sys v0.5.0
golang.org/x/text v0.6.0
golang.org/x/text v0.7.0
gopkg.in/yaml.v3 v3.0.1
gotest.tools/gotestsum v1.9.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -245,8 +245,8 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.6.0 h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k=
golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 h1:vVKdlvoWBphwdxWKrFZEuM0kGgGLxUOYcY4U/2Vjg44=
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=