You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"The version files didn't change, skipping..."
9
10
else
10
-
echo"The versions file changed"
11
+
echo"The version file(s) changed"
12
+
git diff -p
11
13
open=$(gh pr list --repo "$GITHUB_REPOSITORY" --label="update-versions" --limit 1 --state open --base "$GITHUB_REF_NAME")
12
14
if [ -n"$open" ]
13
15
then
14
16
echo"Another PR for $GITHUB_REF_NAME is in review, skipping..."
15
17
exit 0
16
18
fi
17
-
git diff -p
18
-
git add ".agent-versions.json"
19
+
git add .agent-versions.json .package-version
19
20
20
21
nl=$'\n'# otherwise the new line character is not recognized properly
21
-
commit_desc="This file is used for picking agent versions in integration tests.${nl}${nl}The file's content is based on responses from https://www.elastic.co/api/product_versions and https://snapshots.elastic.co${nl}${nl}The current update is generated based on the following requirements:${nl}${nl}\`\`\`json${nl}${version_requirements}${nl}\`\`\`"
22
+
commit_desc="These files are used for picking agent versions in integration tests.${nl}${nl}The content is based on responses from https://www.elastic.co/api/product_versions and https://snapshots.elastic.co${nl}${nl}The current update is generated based on the following requirements:${nl}${nl}Package version: ${package_version}${nl}${nl}\`\`\`json${nl}${version_requirements}${nl}\`\`\`"
"Failed to apply initial policy from on disk configuration",
276
276
"elastic-agent-client error: rpc error: code = Canceled desc = context canceled", // can happen on restart
277
-
"add_cloud_metadata: received error failed requesting openstack metadata: Get \\\"https://169.254.169.254/2009-04-04/meta-data/instance-id\\\": dial tcp 169.254.169.254:443: connect: connection refused", // okay for the openstack metadata to not work
278
-
"add_cloud_metadata: received error failed requesting openstack metadata: Get \\\"https://169.254.169.254/2009-04-04/meta-data/hostname\\\": dial tcp 169.254.169.254:443: connect: connection refused", // okay for the cloud metadata to not work
279
-
"add_cloud_metadata: received error failed requesting openstack metadata: Get \\\"https://169.254.169.254/2009-04-04/meta-data/placement/availability-zone\\\": dial tcp 169.254.169.254:443: connect: connection refused", // okay for the cloud metadata to not work
280
-
"add_cloud_metadata: received error failed requesting openstack metadata: Get \\\"https://169.254.169.254/2009-04-04/meta-data/instance-type\\\": dial tcp 169.254.169.254:443: connect: connection refused", // okay for the cloud metadata to not work
281
-
"add_cloud_metadata: received error failed with http status code 404", // okay for the cloud metadata to not work
282
-
"add_cloud_metadata: received error failed fetching EC2 Identity Document: not found, Signing", // okay for the cloud metadata to not work
283
-
"add_cloud_metadata: received error failed fetching EC2 Identity Document: operation error ec2imds: GetInstanceIdentityDocument, http response error StatusCode: 404, request to EC2 IMDS failed", // okay for the cloud metadata to not work
284
-
"failed to invoke rollback watcher: failed to start Upgrade Watcher: fork/exec /var/lib/elastic-agent/elastic-agent: no such file or directory", // on debian this happens probably need to fix.
277
+
"add_cloud_metadata: received error failed requesting openstack metadata", // okay for the cloud metadata to not work
278
+
"add_cloud_metadata: received error failed with http status code 404", // okay for the cloud metadata to not work
279
+
"add_cloud_metadata: received error failed fetching EC2 Identity Document", // okay for the cloud metadata to not work
280
+
"failed to invoke rollback watcher: failed to start Upgrade Watcher", // on debian this happens probably need to fix.
281
+
"falling back to IMDSv1: operation error ec2imds: getToken", // okay for the cloud metadata to not work
0 commit comments