Skip to content

Commit

Permalink
Fix get-tc-secret usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwartzentruber committed Jan 3, 2025
1 parent 3828984 commit 4b184f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions services/domino-web-tests/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ set -o pipefail
# shellcheck source=recipes/linux/common.sh
source "${0%/*}/common.sh"

get-tc-secret project/fuzzing/deploy-domino-web-tests >.ssh/id_ecdsa.domino_web_tests
get-tc-secret project/fuzzing/deploy-domino-web-tests .ssh/id_ecdsa.domino_web_tests
ln -s id_ecdsa.domino_web_tests .ssh/id_ecdsa
get-tc-secret project/fuzzing/deploy-domino >.ssh/id_rsa.domino
get-tc-secret project/fuzzing/deploy-gridl >.ssh/id_rsa.gridl
get-tc-secret project/fuzzing/deploy-octo-private >.ssh/id_rsa.octo
get-tc-secret project/fuzzing/deploy-domino .ssh/id_rsa.domino
get-tc-secret project/fuzzing/deploy-gridl .ssh/id_rsa.gridl
get-tc-secret project/fuzzing/deploy-octo-private .ssh/id_rsa.octo
set -x
chmod 0400 .ssh/id_*

Expand Down
6 changes: 2 additions & 4 deletions services/langfuzz/launch-langfuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ else
fi

# Get the deploy key for langfuzz-config from Taskcluster
get-tc-secret deploy-langfuzz-config > /root/.ssh/id_rsa.langfuzz-config
chmod 0600 /root/.ssh/id_rsa.*
get-tc-secret deploy-langfuzz-config /root/.ssh/id_rsa.langfuzz-config

# Config and run the logging service
mkdir -p /etc/google/auth /var/lib/td-agent-bit/pos
get-tc-secret google-logging-creds > /etc/google/auth/application_default_credentials.json
chmod 0600 /etc/google/auth/application_default_credentials.json
get-tc-secret google-logging-creds /etc/google/auth/application_default_credentials.json raw
/opt/td-agent-bit/bin/td-agent-bit -c /etc/td-agent-bit/td-agent-bit.conf

function onexit () {
Expand Down

0 comments on commit 4b184f6

Please sign in to comment.