Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Katebygrace/collect metrics secrets #1760

Merged
merged 1 commit into from
May 20, 2024

Conversation

katebygrace
Copy link
Contributor

@katebygrace katebygrace commented May 8, 2024

Remove calls to other secrets manager scripts in jenkins

Remove calls to secrets manager scripts in shell script
Check and remove the key_path and passphrase_path
Run python script x2
Change calls to python script to include key_file and passphrase_file (note slashes)
rm files

Review vars in analytics secure if there are any others that need to be set


job-configs/SNOWFLAKE_COLLECT_METRICS_JOB_EXTRA_VARS.yaml

SECURE_BRANCH: 'origin/master'

@katebygrace katebygrace changed the base branch from master to katebygrace/fix-refresh-job May 8, 2024 20:14
@katebygrace katebygrace force-pushed the katebygrace/collect-metrics-secrets branch 2 times, most recently from 0c9d5df to ea50b3f Compare May 9, 2024 16:51
@@ -10,10 +10,19 @@ source "${PYTHON_VENV}/bin/activate"
cd $WORKSPACE/analytics-tools/snowflake
make requirements

python3 secrets-manager.py -w -n analytics-secure/snowflake/rsa_key_snowflake_task_automation_user.p8 -v rsa_key_snowflake_task_automation_user
python3 secrets-manager.py -w -n analytics-secure/snowflake/rsa_key_passphrase_snowflake_task_ automation_user -v rsa_key_passphrase_snowflake_task_automation_user
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the underscore intentional here ?
rsa_key_passphrase_snowflake_task_

Copy link
Contributor

@HassanJaveed84 HassanJaveed84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one question about the secret path

Base automatically changed from katebygrace/fix-refresh-job to master May 17, 2024 19:51
@katebygrace katebygrace force-pushed the katebygrace/collect-metrics-secrets branch from ea50b3f to 31fa59d Compare May 20, 2024 21:06
Copy link

@the-real-cphillips the-real-cphillips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

                
   |         o     |
 __|   __      _|_ |
/  |  /  \_  |  |  |
\_/|_/\__/   |_/|_/o

Copy link

@jbanks212 jbanks212 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

@katebygrace katebygrace merged commit 238a078 into master May 20, 2024
3 checks passed
@katebygrace katebygrace deleted the katebygrace/collect-metrics-secrets branch May 20, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants