Skip to content

Commit 2d479f4

Browse files
committed
Nope
1 parent 2b492aa commit 2d479f4

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,29 @@ on:
1111
paths:
1212
- .github/workflows/copilot-setup-steps.yml
1313

14-
env:
15-
ELASTICSEARCH_ENDPOINTS: "http://localhost:9200"
16-
ELASTICSEARCH_USERNAME: "elastic"
17-
ELASTICSEARCH_PASSWORD: password
18-
KIBANA_ENDPOINT: "http://localhost:5601"
19-
KIBANA_USERNAME: "elastic"
20-
KIBANA_PASSWORD: password
21-
KIBANA_SYSTEM_USERNAME: kibana_system
22-
KIBANA_SYSTEM_PASSWORD: password
23-
TF_ACC: "1"
24-
STACK_VERSION: 9.0.3
25-
2614
jobs:
2715
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
2816
copilot-setup-steps:
2917
runs-on: ubuntu-latest
18+
3019
# Set the permissions to the lowest permissions possible needed for your steps.
3120
# Copilot will be given its own token for its operations.
3221
permissions:
3322
# If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete.
3423
contents: read
24+
env:
25+
ELASTICSEARCH_ENDPOINTS: "http://localhost:9200"
26+
ELASTICSEARCH_USERNAME: "elastic"
27+
ELASTICSEARCH_PASSWORD: password
28+
KIBANA_ENDPOINT: "http://localhost:5601"
29+
KIBANA_USERNAME: "elastic"
30+
KIBANA_PASSWORD: password
31+
KIBANA_SYSTEM_USERNAME: kibana_system
32+
KIBANA_SYSTEM_PASSWORD: password
33+
TF_ACC: "1"
3534
services:
3635
elasticsearch:
37-
image: docker.elastic.co/elasticsearch/elasticsearch:${{ env.STACK_VERSION }}
36+
image: docker.elastic.co/elasticsearch/elasticsearch:9.0.3
3837
env:
3938
discovery.type: single-node
4039
xpack.security.enabled: true
@@ -49,7 +48,7 @@ jobs:
4948
- 9200:9200
5049
options: --health-cmd="curl http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=10
5150
kibana:
52-
image: docker.elastic.co/kibana/kibana:${{ env.STACK_VERSION }}
51+
image: docker.elastic.co/kibana/kibana:9.0.3
5352
env:
5453
SERVER_NAME: kibana
5554
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
@@ -61,7 +60,7 @@ jobs:
6160
- 5601:5601
6261
options: --health-cmd="curl http://localhost:5601/api/status" --health-interval=10s --health-timeout=5s --health-retries=10
6362
fleet:
64-
image: docker.elastic.co/beats/elastic-agent:${{ env.STACK_VERSION }}
63+
image: docker.elastic.co/beats/elastic-agent:9.0.3
6564
env:
6665
SERVER_NAME: fleet
6766
FLEET_ENROLL: "1"

0 commit comments

Comments
 (0)