Skip to content

Commit c10bdee

Browse files
committed
Merge remote-tracking branch 'upstream/main' into feat/includes
2 parents 663ec29 + 35aeb46 commit c10bdee

File tree

125 files changed

+9578
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+9578
-61
lines changed

.buildkite/pipeline.serverless.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ env:
33
SETUP_GVM_VERSION: 'v0.5.2' # https://github.com/andrewkroh/gvm/issues/44#issuecomment-1013231151
44
DOCKER_COMPOSE_VERSION: "v2.24.1"
55
DOCKER_VERSION: "26.1.2"
6-
KIND_VERSION: 'v0.20.0'
7-
K8S_VERSION: 'v1.31.0'
6+
KIND_VERSION: 'v0.27.0'
7+
K8S_VERSION: 'v1.32.0'
88
GH_CLI_VERSION: "2.29.0"
99
YQ_VERSION: 'v4.44.3'
1010

.buildkite/pipeline.trigger.integration.tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ STACK_COMMAND_TESTS=(
2222
test-stack-command-8x
2323
test-stack-command-9x
2424
test-stack-command-with-apm-server
25+
test-stack-command-with-basic-subscription
26+
test-stack-command-with-self-monitor
2527
)
2628

2729
for test in "${STACK_COMMAND_TESTS[@]}"; do

.buildkite/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ env:
22
SETUP_GVM_VERSION: 'v0.5.2' # https://github.com/andrewkroh/gvm/issues/44#issuecomment-1013231151
33
DOCKER_COMPOSE_VERSION: "v2.24.1"
44
DOCKER_VERSION: "26.1.2"
5-
KIND_VERSION: 'v0.20.0'
6-
K8S_VERSION: 'v1.31.0'
5+
KIND_VERSION: 'v0.27.0'
6+
K8S_VERSION: 'v1.32.0'
77
YQ_VERSION: 'v4.44.3'
88

99
# Agent images used in pipeline steps

.buildkite/scripts/install_deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ with_kubernetes() {
9999
kind version
100100
which kind
101101

102-
retry 5 curl -sSLo "${WORKSPACE}/bin/kubectl" "https://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/${platform_type_lowercase}/${arch_type}/kubectl"
102+
retry 5 curl -sSLo "${WORKSPACE}/bin/kubectl" "https://dl.k8s.io/release/${K8S_VERSION}/bin/${platform_type_lowercase}/${arch_type}/kubectl"
103103
chmod +x "${WORKSPACE}/bin/kubectl"
104104
kubectl version --client
105105
which kubectl

.github/workflows/bump-elastic-stack-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
echo "UPDATECLI_ACTION=apply" >> $GITHUB_ENV
3636
3737
- name: Install Updatecli in the runner
38-
uses: updatecli/updatecli-action@b0d4fd84ae72108930c9adb83bb4beba1acbaf9f #v2.79.0
38+
uses: updatecli/updatecli-action@f11c0cb3aca7a018d6000dc86a57eb3442277219 #v2.81.0
3939

4040
- name: Update default stack version
4141
# --experimental needed for commitusingapi option.

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.23.1
1+
1.24.2

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,20 @@ test-stack-command-86:
7373
./scripts/test-stack-command.sh 8.6.2
7474

7575
test-stack-command-8x:
76-
./scripts/test-stack-command.sh 8.19.0-db9b3944-SNAPSHOT
76+
./scripts/test-stack-command.sh 8.19.0-173c69af-SNAPSHOT
7777

7878
test-stack-command-9x:
79-
./scripts/test-stack-command.sh 9.1.0-53a55661-SNAPSHOT
79+
./scripts/test-stack-command.sh 9.1.0-d08b0bd6-SNAPSHOT
8080

8181
test-stack-command-with-apm-server:
8282
APM_SERVER_ENABLED=true ./scripts/test-stack-command.sh
8383

8484
test-stack-command-with-self-monitor:
8585
SELF_MONITOR_ENABLED=true ./scripts/test-stack-command.sh
8686

87+
test-stack-command-with-basic-subscription:
88+
ELASTIC_SUBSCRIPTION=basic ./scripts/test-stack-command.sh
89+
8790
test-stack-command: test-stack-command-default test-stack-command-7x test-stack-command-800 test-stack-command-8x test-stack-command-9x test-stack-command-with-apm-server
8891

8992
test-check-packages: test-check-packages-with-kind test-check-packages-other test-check-packages-parallel test-check-packages-with-custom-agent test-check-packages-benchmarks test-check-packages-false-positives test-check-packages-with-logstash

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Run system benchmarks for the package.
226226

227227
_Context: package_
228228

229-
Use this command to build a package. Currently it supports only the "integration" package type.
229+
Use this command to build a package.
230230

231231
Built packages are stored in the "build/" folder located at the root folder of the local Git repository checkout that contains your package folder. The command will also render the README file in your package folder if there is a corresponding template file present in "_dev/build/docs/README.md". All "_dev" directories under your package will be omitted. For details on how to generate and syntax of this README, see the [HOWTO guide](./docs/howto/add_package_readme.md).
232232

@@ -541,7 +541,7 @@ You can customize your stack using profile settings, see [Elastic Package profil
541541
There are different providers supported, that can be selected with the --provider flag.
542542
- compose: Starts a local stack using Docker Compose. This is the default.
543543
- environment: Prepares an existing stack to be used to test packages. Missing components are started locally using Docker Compose. Environment variables are used to configure the access to the existing Elasticsearch and Kibana instances. You can learn more about this in [this document](./docs/howto/use_existing_stack.md).
544-
- serverless: Uses Elastic Cloud to start a serverless project. Requires an Elastic Cloud API key.
544+
- serverless: Uses Elastic Cloud to start a serverless project. Requires an Elastic Cloud API key. You can learn more about this in [this document](./docs/howto/use_serverless_stack.md).
545545

546546
### `elastic-package stack update`
547547

@@ -676,6 +676,9 @@ The following settings are available per profile:
676676
the serverless stack provider.
677677
* `stack.serverless.region` can be used to select the region to use when starting
678678
serverless projects.
679+
* `stack.elastic_subscription` allows to select the Elastic subscription type to be used in the stack.
680+
Currently, it is supported "basic" and "[trial](https://www.elastic.co/guide/en/elasticsearch/reference/current/start-trial.html)",
681+
which enables all subscription features for 30 days. Defaults to "trial".
679682

680683
## Useful environment variables
681684

cmd/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"github.com/elastic/elastic-package/internal/packages"
2020
)
2121

22-
const buildLongDescription = `Use this command to build a package. Currently it supports only the "integration" package type.
22+
const buildLongDescription = `Use this command to build a package.
2323
2424
Built packages are stored in the "build/" folder located at the root folder of the local Git repository checkout that contains your package folder. The command will also render the README file in your package folder if there is a corresponding template file present in "_dev/build/docs/README.md". All "_dev" directories under your package will be omitted. For details on how to generate and syntax of this README, see the [HOWTO guide](./docs/howto/add_package_readme.md).
2525

cmd/stack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ You can customize your stack using profile settings, see [Elastic Package profil
5252
There are different providers supported, that can be selected with the --provider flag.
5353
- compose: Starts a local stack using Docker Compose. This is the default.
5454
- environment: Prepares an existing stack to be used to test packages. Missing components are started locally using Docker Compose. Environment variables are used to configure the access to the existing Elasticsearch and Kibana instances. You can learn more about this in [this document](./docs/howto/use_existing_stack.md).
55-
- serverless: Uses Elastic Cloud to start a serverless project. Requires an Elastic Cloud API key.`
55+
- serverless: Uses Elastic Cloud to start a serverless project. Requires an Elastic Cloud API key. You can learn more about this in [this document](./docs/howto/use_serverless_stack.md).`
5656

5757
const stackShellinitLongDescription = `Use this command to export to the current shell the configuration of the stack managed by elastic-package.
5858

0 commit comments

Comments
 (0)