Skip to content

Commit 6434ed4

Browse files
committed
fix 9.0.0 version
1 parent efbb908 commit 6434ed4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
needs: build
5353
runs-on: ubuntu-latest
5454
env:
55+
ELASTICSEARCH_USERNAME: elastic
5556
ELASTIC_PASSWORD: password
5657
KIBANA_SYSTEM_USERNAME: kibana_system
5758
KIBANA_SYSTEM_PASSWORD: password
@@ -98,6 +99,7 @@ jobs:
9899
KIBANA_HOST: http://kibana:5601
99100
KIBANA_FLEET_SETUP: "1"
100101
KIBANA_FLEET_PASSWORD: ${{ env.ELASTIC_PASSWORD }}
102+
KIBANA_FLEET_USERNAME: ${{ env.ELASTICSEARCH_USERNAME }}
101103
ports:
102104
- 8220:8220
103105
options: --restart="unless-stopped"
@@ -126,7 +128,7 @@ jobs:
126128
- '8.15.5'
127129
- '8.16.2'
128130
- '8.17.0'
129-
- '9.0.0'
131+
- '9.0.0-SNAPSHOT'
130132
steps:
131133
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
132134
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
@@ -156,7 +158,7 @@ jobs:
156158

157159
- id: setup-fleet
158160
name: Setup Fleet
159-
if: matrix.version == '8.10.3' || matrix.version == '8.11.4' || matrix.version == '8.12.2' || matrix.version == '8.13.4' || matrix.version == '8.14.3' || matrix.version == '8.15.5' || matrix.version == '8.16.2' || matrix.version == '8.17.0' || matrix.version == '9.0.0'
161+
if: matrix.version == '8.10.3' || matrix.version == '8.11.4' || matrix.version == '8.12.2' || matrix.version == '8.13.4' || matrix.version == '8.14.3' || matrix.version == '8.15.5' || matrix.version == '8.16.2' || matrix.version == '8.17.0' || matrix.version == '9.0.0-SNAPSHOT'
160162
run: |-
161163
make setup-kibana-fleet
162164
env:
@@ -165,7 +167,7 @@ jobs:
165167

166168
- id: force-install-synthetics
167169
name: Force install synthetics
168-
if: matrix.version == '8.14.3' || matrix.version == '8.15.5' || matrix.version == '8.16.2' || matrix.version == '8.17.0' || matrix.version == '9.0.0'
170+
if: matrix.version == '8.14.3' || matrix.version == '8.15.5' || matrix.version == '8.16.2' || matrix.version == '8.17.0' || matrix.version == '9.0.0-SNAPSHOT'
169171
run: |-
170172
for i in {1..5}; do curl -s -H "Authorization: ApiKey ${{ steps.get-api-key.outputs.apikey }}" --header "Content-Type: application/json" --header "kbn-xsrf: true" --request POST --data '{ "force": true }' http://localhost:5601/api/fleet/epm/packages/synthetics/1.2.2 && break || sleep 15; done
171173

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ docker-kibana-with-tls: docker-network docker-elasticsearch set-kibana-password
168168
-e LOGGING_ROOT_LEVEL=debug \
169169
--name $(KIBANA_NAME) \
170170
--network $(ELASTICSEARCH_NETWORK) \
171-
--health-cmd="curl -k https://localhost:5601/api/status" \
171+
--health-cmd=curl -k https://localhost:5601/api/status \
172172
--health-interval=10s --health-timeout=5s --health-retries=10 \
173173
docker.elastic.co/kibana/kibana:$(STACK_VERSION)
174174
@ $(call wait_until_healthy, $(KIBANA_NAME))

0 commit comments

Comments
 (0)