Skip to content

Commit 7cd6e60

Browse files
committed
Set autoinstrumentation versions to 0.126.0 instead of latest
1 parent b54bc3f commit 7cd6e60

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deployments/ansible/molecule/with_instrumentation/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
splunk_access_token: fake-token
77
splunk_realm: fake-realm
88
install_splunk_otel_auto_instrumentation: true
9-
splunk_otel_auto_instrumentation_version: latest
9+
splunk_otel_auto_instrumentation_version: 0.126.0
1010
splunk_otel_auto_instrumentation_resource_attributes: deployment.environment=test
1111
splunk_otel_auto_instrumentation_service_name: test
1212
splunk_otel_auto_instrumentation_generate_service_name: false

deployments/ansible/molecule/with_instrumentation/verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
- name: Assert specified version of splunk-otel-auto-instrumentation is installed
1717
assert:
18-
that: ansible_facts.packages['splunk-otel-auto-instrumentation'][0].version == 'latest'
18+
that: ansible_facts.packages['splunk-otel-auto-instrumentation'][0].version == '0.126.0'
1919

2020
- name: Check for the new config files
2121
ansible.builtin.stat:
@@ -60,7 +60,7 @@
6060

6161
- name: Assert instrumentation config contains resource attribute
6262
ansible.builtin.lineinfile:
63-
line: resource_attributes=splunk.zc.method=splunk-otel-auto-instrumentation-latest,deployment.environment=test
63+
line: resource_attributes=splunk.zc.method=splunk-otel-auto-instrumentation-0.126.0,deployment.environment=test
6464
dest: /usr/lib/splunk-instrumentation/instrumentation.conf
6565
state: present
6666
check_mode: yes

0 commit comments

Comments
 (0)