Skip to content

Commit

Permalink
switch install script URL to our CF distribution (#28827)
Browse files Browse the repository at this point in the history
  • Loading branch information
chouquette authored Aug 28, 2024
1 parent c6fe8f4 commit f74cad5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cmd/agent/install_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ set -e

echo -e "\033[33m
install_script.sh is deprecated. Please use one of
* https://s3.amazonaws.com/dd-agent/scripts/install_script_agent6.sh to install Agent 6
* https://s3.amazonaws.com/dd-agent/scripts/install_script_agent7.sh to install Agent 7
* https://install.datadoghq.com/scripts/install_script_agent6.sh to install Agent 6
* https://install.datadoghq.com/scripts/install_script_agent7.sh to install Agent 7
\033[0m"

install_script_version=1.13.0.deprecated
Expand Down
2 changes: 1 addition & 1 deletion tasks/kmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2113,7 +2113,7 @@ def install_ddagent(
for d in domains:
d.run_cmd(
ctx,
f"curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script_agent{major}.sh > /tmp/install-script.sh",
f"curl -L https://install.datadoghq.com/scripts/install_script_agent{major}.sh > /tmp/install-script.sh",
verbose=verbose,
)
d.run_cmd(ctx, f"{' '.join(env)} bash /tmp/install-script.sh", verbose=verbose)
Expand Down
2 changes: 1 addition & 1 deletion test/new-e2e/tests/agent-platform/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func Unix(t *testing.T, client ExecutorWithRetry, options ...installparams.Optio
var source string
if params.MajorVersion != "5" {
source = "S3"
downloadCmd = fmt.Sprintf(`curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script_agent%v.sh > installscript.sh`, params.MajorVersion)
downloadCmd = fmt.Sprintf(`curl -L https://install.datadoghq.com/scripts/install_script_agent%v.sh > installscript.sh`, params.MajorVersion)
} else {
source = "dd-agent repository"
downloadCmd = "curl -L https://raw.githubusercontent.com/DataDog/dd-agent/master/packaging/datadog-agent/source/install_agent.sh > installscript.sh"
Expand Down

0 comments on commit f74cad5

Please sign in to comment.