Skip to content

Commit 0ba9fdc

Browse files
committed
Working on possible fixes to AWS Secrets.
Signed-off-by: David Venable <dlv@amazon.com>
1 parent 19ef0fb commit 0ba9fdc

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/data-prepper-aws-secrets-e2e-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ jobs:
4444
run: |
4545
head -n 2 ~/.aws/credentials
4646
cat ~/.aws/config
47+
- name: Fix AWS credentials permissions for Docker
48+
run: |
49+
chmod 644 ~/.aws/credentials ~/.aws/config
50+
ls -la ~/.aws/
4751
- name: Set up JDK 11
4852
uses: actions/setup-java@v1
4953
with:

e2e-test/log/build.gradle

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,7 @@ logTestConfigurations.each { testConfiguration ->
111111
mustRunAfter 'startOpenSearchDockerContainer'
112112
targetContainerId tasks.getByName("create${testConfiguration.testName}").getContainerId()
113113

114-
doLast {
115-
exec {
116-
commandLine 'docker', 'exec', testConfiguration.containerName, 'ls', '-la', '/.aws'
117-
ignoreExitValue = true
118-
}
119-
exec {
120-
commandLine 'docker', 'exec', testConfiguration.containerName, 'head', '-n', '2', '/.aws/credentials'
121-
ignoreExitValue = true
122-
}
123-
}
114+
124115
}
125116

126117
tasks.register("stop${testConfiguration.testName}", DockerStopContainer) {

0 commit comments

Comments
 (0)