Skip to content

Commit 3e89bfc

Browse files
authored
Cloudnative ci utomation (#1035)
* Updating Jenkinsfile and Makefile to open PR * Adding needed token-id
1 parent 9298e01 commit 3e89bfc

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.ci/Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,4 +483,4 @@ def isPackageEnabled() {
483483
*/
484484
def isExtendedWindowsEnabled() {
485485
return env.EXT_WINDOWS_CHANGES == "true" || params.extended_windows_ci || env.GITHUB_COMMENT?.contains('extended windows') || matchesPrLabel(label: 'ci:extended-windows')
486-
}
486+
}

deploy/kubernetes/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ ci-create-kubernetes-templates-pull-request:
5858
exit 1; \
5959
fi
6060
echo "INFO: Create branch to update k8s templates"
61+
git config user.name obscloudnativemonitoring
62+
git config user.email [email protected]
6163
git checkout -b $(ELASTIC_AGENT_BRANCH)
6264
echo "INFO: add files if any"
6365
git add $(ELASTIC_AGENT_REPO_PATH)$(FILE_REPO)

deploy/kubernetes/creator_k8s_manifest.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ fi
2929
#Start creation of output file
3030
cat << EOF > $OUTPUT_FILE
3131
/*
32-
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
33-
* or more contributor license agreements. Licensed under the Elastic License
34-
* 2.0; you may not use this file except in compliance with the Elastic License
35-
* 2.0.
36-
*/
32+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
33+
* or more contributor license agreements. Licensed under the Elastic License
34+
* 2.0; you may not use this file except in compliance with the Elastic License
35+
* 2.0.
36+
*/
3737
3838
export const elasticAgentStandaloneManifest = \`---
3939
EOF

deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# For more information refer https://www.elastic.co/guide/en/fleet/current/running-on-kubernetes-standalone.html
1+
# For more information refer to https://www.elastic.co/guide/en/fleet/current/running-on-kubernetes-standalone.html
22
apiVersion: v1
33
kind: ConfigMap
44
metadata:

deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset-configmap.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# For more information refer https://www.elastic.co/guide/en/fleet/current/running-on-kubernetes-standalone.html
1+
# For more information refer to https://www.elastic.co/guide/en/fleet/current/running-on-kubernetes-standalone.html
22
apiVersion: v1
33
kind: ConfigMap
44
metadata:

0 commit comments

Comments
 (0)