Skip to content

Commit

Permalink
fix: Correct ceems_api_server binary name
Browse files Browse the repository at this point in the history
* Bump ceems_api-server and ceems_exporter versions

Signed-off-by: Mahendra Paipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Mar 2, 2024
1 parent caf6c4c commit 7d4a11b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions roles/ceems_api_server/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
ceems_api_server_version: "0.1.0-rc.4"
ceems_api_server_version: 0.1.0-rc.5
ceems_api_server_binary_local_dir: ""
ceems_api_server_binary_url: https://github.com/{{ _ceems_api_server_repo }}/releases/download/v{{ ceems_api_server_version }}/ceems-{{ ceems_api_server_version }}.linux-{{ go_arch }}.tar.gz # noqa yaml[line-length]
ceems_api_server_checksums_url: https://github.com/{{ _ceems_api_server_repo }}/releases/download/v{{ ceems_api_server_version }}/sha256sums.txt # noqa yaml[line-length]
ceems_api_server_binary_url: "https://github.com/{{ _ceems_api_server_repo }}/releases/download/\
v{{ ceems_api_server_version }}/ceems-{{ ceems_api_server_version }}.linux-{{ go_arch }}.tar.gz"
ceems_api_server_checksums_url: "https://github.com/{{ _ceems_api_server_repo }}/releases/download/\
v{{ ceems_api_server_version }}/sha256sums.txt"
ceems_api_server_skip_install: false

ceems_api_server_web_listen_address: "0.0.0.0:9020"
Expand Down
4 changes: 2 additions & 2 deletions roles/ceems_api_server/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
ansible.builtin.unarchive:
src: /tmp/ceems-{{ ceems_api_server_version }}.linux-{{ go_arch }}.tar.gz
dest: /tmp
creates: /tmp/ceems-{{ ceems_api_server_version }}.linux-{{ go_arch }}/ceems_server
creates: /tmp/ceems-{{ ceems_api_server_version }}.linux-{{ go_arch }}/ceems_api_server
delegate_to: localhost
check_mode: false

- name: Propagate ceems_api_server binaries
ansible.builtin.copy:
src: /tmp/ceems-{{ ceems_api_server_version }}.linux-{{ go_arch }}/ceems_server
src: /tmp/ceems-{{ ceems_api_server_version }}.linux-{{ go_arch }}/ceems_api_server
dest: "{{ ceems_api_server_binary_install_dir }}/ceems_api_server"
mode: "0755"
owner: root
Expand Down
2 changes: 1 addition & 1 deletion roles/ceems_exporter/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
ceems_exporter_version: "0.1.0-rc.4"
ceems_exporter_version: 0.1.0-rc.5
ceems_exporter_binary_local_dir: ""
ceems_exporter_binary_url: "https://github.com/{{ _ceems_exporter_repo }}/releases/download/v{{ ceems_exporter_version }}/\
ceems-{{ ceems_exporter_version }}.linux-{{ go_arch }}.tar.gz"
Expand Down

0 comments on commit 7d4a11b

Please sign in to comment.