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

Prod edits #86

Merged
merged 9 commits into from
Dec 2, 2024
Merged

Prod edits #86

merged 9 commits into from
Dec 2, 2024

Conversation

delarocamcas
Copy link
Collaborator

--final fixes to bring importer testing pipeline up to date with production version.

.gitignore Outdated
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed metadata_tools/ from gitignore as submodule init actually does not work with it gitignored.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated to parallel with server pipelines allows, for dynamic fetching of branches and PRs

@@ -50,19 +63,37 @@ pipeline {
stage('Run Importer setup') {
steps {
script {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

retry logic for max timeout.

@@ -71,4 +102,20 @@ pipeline {
}
}
}
}

post {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

cleanup parallel to server pipeline to cleanup spawned repose from testing and save space

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added in parallel functions to updated https to testing compatible http.

@@ -80,7 +85,45 @@ sleep 10

echo "specify db populated"

# setting up test server
(
Copy link
Collaborator Author

@delarocamcas delarocamcas Nov 26, 2024

Choose a reason for hiding this comment

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

stable_cas-server is configured on a separate port than the main server pipeline and only fetches and deploys the master branch.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

correction of problem with sqlite creator where one table did not have "IF NOT EXISTS"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removal of trailing commas from mysql dump for sqlite3

-e MARIADB_ROOT_PASSWORD=password \
-e MARIADB_CHARSET=utf8mb4 \
-e MARIADB_COLLATION=utf8mb4_general_ci \
-d -p 3310:3306 mariadb:10.11
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

with versions of mariadb 11.0 and higher, (we have 10.11 in prod right now) assumes a collation of utf8mb4_0900_ai_ci when used with mysql-python-connector , while version lower use utf8mb4_ci_general

@foozleface foozleface merged commit ea25742 into master Dec 2, 2024
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