Skip to content

Commit

Permalink
Update stretch repo for ansible and chef tests (open-telemetry#3022)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyc-splunk authored Apr 24, 2023
1 parent 04bd4af commit 9eb41ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deployments/ansible/molecule/default/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ FROM geerlingguy/docker-{{ item.image }}-ansible:latest
RUN sed -i 's|#mirrorlist|mirrorlist|g' /etc/yum.repos.d/CentOS*.repo
RUN sed -i 's|^baseurl|#baseurl|' /etc/yum.repos.d/CentOS*.repo
RUN sed -i 's|\$releasever|8-stream|g' /etc/yum.repos.d/CentOS*.repo
{% elif item.image == "debian9" %}
RUN sed -i 's|http://.*.debian.org|http://archive.debian.org|' /etc/apt/sources.list
RUN sed -i '/stretch-updates/d' /etc/apt/sources.list
{% endif %}
{% else %}
{% if item.image == "opensuse12" %}
Expand Down
3 changes: 3 additions & 0 deletions deployments/chef/kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ platforms:
- name: debian-9
driver:
image: dokken/debian-9
intermediate_instructions: |
RUN sed -i 's|http://.*.debian.org|http://archive.debian.org|' /etc/apt/sources.list
RUN sed -i '/stretch-updates/d' /etc/apt/sources.list
pid_one_command: /bin/systemd
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
Expand Down

0 comments on commit 9eb41ff

Please sign in to comment.