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: pipeline acceptance test #1771

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions dataeng/jobs/analytics/PipelineAcceptanceTestManual.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ package analytics
import static org.edx.jenkins.dsl.AnalyticsConstants.common_authorization
import static org.edx.jenkins.dsl.AnalyticsConstants.common_log_rotator
import static org.edx.jenkins.dsl.AnalyticsConstants.common_wrappers
import static org.edx.jenkins.dsl.AnalyticsConstants.secure_scm
import static org.edx.jenkins.dsl.AnalyticsConstants.secure_scm_parameters
import static org.edx.jenkins.dsl.AnalyticsConstants.config_scm


class PipelineAcceptanceTestManual {
Expand Down Expand Up @@ -32,8 +31,7 @@ class PipelineAcceptanceTestManual {
stringParam('MAX_DIFF', allVars.get('MAX_DIFF'), '')
}

parameters secure_scm_parameters(allVars)
multiscm secure_scm(allVars) << {
multiscm config_scm(allVars) << {
git {
remote {
url('git@github.com:edx/edx-analytics-exporter.git')
Expand Down
4 changes: 2 additions & 2 deletions dataeng/resources/run-pipeline-acceptance-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export COURSE_EXPORTER=$EXPORTER_BIN/course-exporter

# Exporter configuration destination

ROOT=${WORKSPACE}/analytics-secure/analytics-exporter
SECURE_HASH=`GIT_DIR=./analytics-secure/.git git rev-parse HEAD`
ROOT=${WORKSPACE}/analytics-config/analytics-exporter
SECURE_HASH=`GIT_DIR=./analytics-config/.git git rev-parse HEAD`
EXPORTER_CONFIG_BUCKET=$EXPORTER_BUCKET_PATH/$SECURE_HASH
EXPORTER_CONFIG_PATH=${EXPORTER_CONFIG_BUCKET}/${EXPORTER_CONFIG}
GPG_KEYS_PATH=${EXPORTER_CONFIG_BUCKET}/gpg-keys
Expand Down
Loading