-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rbroughan/augustin/01 23 destination s3 use the non root base image (#…
…52579) Co-authored-by: alafanechere <[email protected]> Co-authored-by: Octavia Squidington III <[email protected]>
- Loading branch information
1 parent
530fe82
commit abb103d
Showing
8 changed files
with
90 additions
and
31 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...te-cdk/bulk/core/base/src/testFixtures/kotlin/io/airbyte/cdk/extensions/PathExtensions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* Copyright (c) 2024 Airbyte, Inc., all rights reserved. | ||
*/ | ||
|
||
package io.airbyte.cdk.extensions | ||
|
||
import java.nio.file.Path | ||
import java.nio.file.attribute.PosixFilePermission | ||
import kotlin.io.path.setPosixFilePermissions | ||
|
||
fun Path.grantAllPermissions(): Path { | ||
this.setPosixFilePermissions( | ||
setOf( | ||
PosixFilePermission.OWNER_READ, | ||
PosixFilePermission.OWNER_WRITE, | ||
PosixFilePermission.OWNER_EXECUTE, | ||
PosixFilePermission.GROUP_READ, | ||
PosixFilePermission.GROUP_WRITE, | ||
PosixFilePermission.GROUP_EXECUTE, | ||
PosixFilePermission.OTHERS_READ, | ||
PosixFilePermission.OTHERS_WRITE, | ||
PosixFilePermission.OTHERS_EXECUTE, | ||
), | ||
) | ||
return this | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...java/airbyte-cdk/core/src/testFixtures/kotlin/io/airbyte/cdk/extensions/PathExtensions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* Copyright (c) 2024 Airbyte, Inc., all rights reserved. | ||
*/ | ||
|
||
package io.airbyte.cdk.extensions | ||
|
||
import java.nio.file.Path | ||
import java.nio.file.attribute.PosixFilePermission | ||
import kotlin.io.path.setPosixFilePermissions | ||
|
||
fun Path.grantAllPermissions(): Path { | ||
this.setPosixFilePermissions( | ||
setOf( | ||
PosixFilePermission.OWNER_READ, | ||
PosixFilePermission.OWNER_WRITE, | ||
PosixFilePermission.OWNER_EXECUTE, | ||
PosixFilePermission.GROUP_READ, | ||
PosixFilePermission.GROUP_WRITE, | ||
PosixFilePermission.GROUP_EXECUTE, | ||
PosixFilePermission.OTHERS_READ, | ||
PosixFilePermission.OTHERS_WRITE, | ||
PosixFilePermission.OTHERS_EXECUTE, | ||
), | ||
) | ||
return this | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters