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

chore: migrate analytics exporter #1728

Closed
wants to merge 2 commits into from

Conversation

katebygrace
Copy link
Contributor

@katebygrace katebygrace commented Feb 28, 2024

there wasnt any sensitive info in these files so i think they can be safely copied, cloned, and called. hopefully got it correct

@katebygrace katebygrace force-pushed the katebygrace/analytics-exporter branch from 4486ae1 to d49d83f Compare February 28, 2024 20:04
@@ -133,6 +133,9 @@ class AnalyticsEmailOptin {
// This will create python 3.8 venv inside shell script instead of using shiningpanda
shell(dslFactory.readFileFromWorkspace('dataeng/resources/setup-platform-venv-py3.sh'))
shell(dslFactory.readFileFromWorkspace('dataeng/resources/setup-exporter-email-optin.sh'))
shell(dslFactory.readFileFromWorkspace('dataeng/analytics-exporter/email_optin.yaml'))
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this will work as I believe shell is for running a shell command only.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, I was just trying to pull in the file, but I think it's already in there, am I correct?

# Configuration paths in analytics-secure
SECURE_ROOT=${WORKSPACE}/analytics-secure/analytics-exporter
SECURE_ROOT=${WORKSPACE}/dataeng/analytics-exporter
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe this would not work as this repo(jenkins-job-dsl), does not get cloned as part of this job.

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.

2 participants