Commit Graph

31 Commits

Author SHA1 Message Date
Antoine Cotten
9a523626ef ci: Automatically merge bot PRs for Elastic updates
Merges pull requests from docker-elk-updater[bot] if CI checks pass.
2021-11-09 02:54:27 +01:00
Antoine Cotten
b826d7bbdf ci: Always use _search API instead of _count
Makes it easier to troubleshoot returned documents by inspecting the
logs of CI runs.
2021-11-06 12:06:31 +01:00
Antoine Cotten
e9903fecf6 ci: Run tests using latest Compose V2 release 2021-11-06 10:38:41 +01:00
Antoine Cotten
233c4e0b8c ci: Use token from GitHub App in auto-update workflow 2021-11-03 14:37:26 +01:00
Antoine Cotten
9fde1ac351 ci(core): Retry sending data over TCP in case of error
The first attempt occasionally fails, probably due to a race with the
listener's startup.

Additionally, perform minor adjustments to the output written to stderr
to ensure it is properly flushed in the CI environment.
2021-10-28 17:56:39 +02:00
Antoine Cotten
c3cc7ae15c ci: Check for readiness of Logstash in Logspout test
Since we restart Logstash to enable the UDP input prior to running this
test, we should also ensure it has successfully come back, otherwise we
start searching for the expected documents in Elasticsearch way too
early and often run into timeouts.
2021-10-28 15:05:17 +02:00
Antoine Cotten
29d105e663 ci(update): Checkout repo after running Node.js steps
Ensures the workspace is clean before attempting to update any file.
Removes the need for explicitly ignoring Node.js artifacts in Git, since
they get cleaned up by the 'checkout' action before fetching.
2021-10-26 23:48:47 +02:00
Antoine Cotten
c8f5f01b7f ci: Update all release series from single workflow
Run the update job for each currently supported release series, so that
automated updates can be orchestrated from the main branch via a single
scheduled workflow.
2021-10-26 23:08:40 +02:00
Antoine Cotten
04fdb981eb Restore "Send automated PR upon new stack release"
This reverts commit 9016e00e7b and updates
the 'latest' version detection logic to iterate over releases and pick
the latest matching semver, instead of relying on GitHub's
'/releases/latest' API.
2021-10-26 19:39:01 +02:00
Antoine Cotten
51b8525767 ci: Build/pull all images ahead of actual tests 2021-10-07 01:27:27 +02:00
Antoine Cotten
9a541d14f8 ci: Fix Metricbeat test
The naming scheme of containers created by Compose has changed in V2.

Ref. docker/compose#8655
2021-10-07 01:18:14 +02:00
Antoine Cotten
b3abdb1d2e ci: Use Compose v2 2021-10-07 00:09:07 +02:00
Antoine Cotten
c8fc437bdb ci: Always search in explicit index pattern 2021-08-27 00:32:16 +02:00
Antoine Cotten
f3940477f9 ci: Print result of search query in Logspout test 2021-08-27 00:21:46 +02:00
Antoine Cotten
9016e00e7b Revert "Send automated PR upon new stack release"
This reverts commit 730ffa8de5.

Lately, Elastic's release pipeline has been tagging releases from the
older 6.x series as "latest" in place of releases from the current 7.x
series. This results in weekly PRs from GitHub Actions for _downgrading_
our stack from 7.x to 6.x.

In order to avoid receiving those PRs, we disable the update workflow
entirely until the Elastic 6.x release series is marked as EOL.

Ref. elastic/elasticsearch#75436
Closes #611
2021-08-26 00:55:53 +02:00
Antoine Cotten
57298791e0 ci: Increase readiness timeout to 5m
It takes longer for Kibana to start with every major release. Increase
this timeout in anticipation for the v8.0.0 release.
2021-08-23 12:21:45 +02:00
Antoine Cotten
7d03e1fc5f ci: Avoid unbound integer variable
Fixes #578
2021-02-21 16:17:44 +01:00
github-actions[bot]
75ebebcebb Update to v7.11.0 (#575)
ci: Update Enterprise Search test for v3 index

App Search API keys are now encrypted in Elasticsearch, so we simply
ensure they exist and don't try to read their value.
2021-02-11 13:48:22 +01:00
Antoine Cotten
980c5c480f Rename master branch to main (#571) 2021-01-20 08:12:56 +13:00
Antoine Cotten
747a6537f2 Add templates for Elastic/Docker related issues 2021-01-19 16:24:53 +01:00
Mustafa Guney
f592f221c4 Add Metricbeat extension (#567)
Co-authored-by: Antoine Cotten <hello@acotten.com>
2021-01-16 21:11:24 +01:00
Antoine Cotten
fff244e45a ci: Avoid printing unnecessary empty lines 2021-01-07 20:35:27 +01:00
Antoine Cotten
282a8bbc85 ci: Add test for Logspout extension 2021-01-07 19:53:50 +01:00
Antoine Cotten
730ffa8de5 Send automated PR upon new stack release 2020-11-09 14:44:54 +01:00
Antoine Cotten
ace6e71cff Enable linter for Markdown files 2020-10-18 20:32:23 +02:00
Antoine Cotten
b908c5b2ec Add Action to track dead links in docs 2020-10-18 18:49:57 +02:00
Antoine Cotten
df7aca5332 ci: Remove unnecessary MODE declarations 2020-10-16 22:02:52 +02:00
Antoine Cotten
b13d73def4 ci: Accept arbitrary curl arguments for polling 2020-10-16 21:59:33 +02:00
Antoine Cotten
25e0a5471b Ensure CI initializes passwords over localhost
Prevents the occasional connection timeout when the tool randomly picks
the IP of the ingress interface (usually 10.0.0.x/24) instead of the elk
interface (usually 10.0.1.x/24) in Swarm mode.
2020-10-14 02:37:09 +02:00
Antoine Cotten
b599285dac Move CI flow from Travis CI to GitHub Actions 2020-10-14 00:32:17 +02:00
Antoine Cotten
d352d00849 Add GitHub issue template (#263) 2018-04-05 16:02:56 +02:00