Skip to content

Commit

Permalink
Adding non-root user ID.
Browse files Browse the repository at this point in the history
  • Loading branch information
1Copenut committed Nov 16, 2023
1 parent 7ba378a commit 94fb7bf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .buildkite/pipelines/pipeline_pull_request_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ steps:
depends_on: "build-test-container" # The depends_on creates an implicit "wait" while the container builds
agents:
image: "container-registry-test.elastic.co/eui/ci:latest"
imageUID: "1000" # Run as a non-root user
env:
TEST_TYPE: 'lint'
if: build.branch != "main"
Expand All @@ -22,6 +23,7 @@ steps:
depends_on: "build-test-container"
agents:
image: "container-registry-test.elastic.co/eui/ci:latest"
imageUID: "1000"
env:
TEST_TYPE: 'unit:ts'
if: build.branch != "main"
Expand All @@ -31,6 +33,7 @@ steps:
depends_on: "build-test-container"
agents:
image: "container-registry-test.elastic.co/eui/ci:latest"
imageUID: "1000"
env:
TEST_TYPE: 'unit:tsx:16'
if: build.branch != "main"
Expand All @@ -40,6 +43,7 @@ steps:
depends_on: "build-test-container"
agents:
image: "container-registry-test.elastic.co/eui/ci:latest"
imageUID: "1000"
env:
TEST_TYPE: 'unit:tsx:17'
if: build.branch != "main"
Expand All @@ -49,6 +53,7 @@ steps:
depends_on: "build-test-container"
agents:
image: "container-registry-test.elastic.co/eui/ci:latest"
imageUID: "1000"
env:
TEST_TYPE: 'unit:tsx'
if: build.branch != "main"
Expand All @@ -58,6 +63,7 @@ steps:
depends_on: "build-test-container"
agents:
image: "container-registry-test.elastic.co/eui/ci:latest"
imageUID: "1000"
env:
TEST_TYPE: 'cypress:16'
if: build.branch != "main"
Expand All @@ -70,6 +76,7 @@ steps:
depends_on: "build-test-container"
agents:
image: "container-registry-test.elastic.co/eui/ci:latest"
imageUID: "1000"
env:
TEST_TYPE: 'cypress:17'
if: build.branch != "main"
Expand All @@ -82,6 +89,7 @@ steps:
depends_on: "build-test-container"
agents:
image: "container-registry-test.elastic.co/eui/ci:latest"
imageUID: "1000"
env:
TEST_TYPE: 'cypress:18'
if: build.branch != "main"
Expand All @@ -94,6 +102,7 @@ steps:
depends_on: "build-test-container"
agents:
image: "container-registry-test.elastic.co/eui/ci:latest"
imageUID: "1000"
env:
TEST_TYPE: 'cypress:a11y'
if: build.branch != "main"
Expand Down

0 comments on commit 94fb7bf

Please sign in to comment.