Skip to content

Commit

Permalink
fix: redis app link
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikelle committed Dec 18, 2024
1 parent b27631d commit 0f475ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions cl/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ archives:
- redisapp
format: tar.gz
name_template: >-
{{ .ProjectName }}-
{{ .Binary }}_
{{- with index .Env "RELEASE_VERSION" -}}
{{ . }}
Expand All @@ -85,7 +84,6 @@ archives:
- member
format: tar.gz
name_template: >-
{{ .ProjectName }}-
{{ .Binary }}_
{{- with index .Env "RELEASE_VERSION" -}}
{{ . }}
Expand All @@ -109,7 +107,6 @@ archives:
- streamer
format: tar.gz
name_template: >-
{{ .ProjectName }}-
{{ .Binary }}_
{{- with index .Env "RELEASE_VERSION" -}}
{{ . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ job "redisapp-{{ env }}" {
# Assuming artifact is uploaded to S3 or local dev environment server
{% if env != 'devenv' %}
artifact {
source = "https://primev-infrastructure-artifacts.s3.us-west-2.amazonaws.com/rapp_{{ version }}_Linux_{{ target_system_architecture }}.tar.gz"
source = "https://primev-infrastructure-artifacts.s3.us-west-2.amazonaws.com/redisapp_{{ version }}_Linux_{{ target_system_architecture }}.tar.gz"
}
{% else %}
artifact {
source = "http://{{ ansible_facts['default_ipv4']['address'] }}:1111/rapp_{{ version }}_Linux_{{ target_system_architecture }}.tar.gz"
source = "http://{{ ansible_facts['default_ipv4']['address'] }}:1111/redisapp_{{ version }}_Linux_{{ target_system_architecture }}.tar.gz"
}
{% endif %}

Expand Down Expand Up @@ -71,9 +71,9 @@ job "redisapp-{{ env }}" {
{{ end }}
{{- end }}

chmod +x local/rapp
chmod +x local/redisapp
# Start the app
exec local/rapp start
exec local/redisapp start
{% endraw %}
EOH
destination = "local/run.sh"
Expand Down

0 comments on commit 0f475ae

Please sign in to comment.