Skip to content

Commit

Permalink
Merge pull request #511 from deeppavlov/dev
Browse files Browse the repository at this point in the history
Release v1.8.0
  • Loading branch information
dilyararimovna committed Jul 10, 2023
2 parents 8c3f34d + 5c37459 commit 82ae4a9
Show file tree
Hide file tree
Showing 440 changed files with 10,780 additions and 6,348 deletions.
2 changes: 1 addition & 1 deletion .env
Expand Up @@ -33,4 +33,4 @@ DIALOGPT_CONTINUE_SERVICE_URL=http://dialogpt:8125/continue
PROMPT_STORYGPT_SERVICE_URL=http://prompt-storygpt:8127/respond
STORYGPT_SERVICE_URL=http://storygpt:8126/respond
SENTENCE_RANKER_SERVICE_URL=http://sentence-ranker:8128/respond
FILE_SERVER_URL=http://files:3000
FILE_SERVER_URL=http://files:3000
190 changes: 189 additions & 1 deletion Jenkinsfile
Expand Up @@ -33,6 +33,98 @@ pipeline {
}
}
}
// ------------------------------------------- Test prompted dists------------------------------------------------
stage('Build-Reason') {
steps {
script{
startTime = currentBuild.duration
Exception ex = null
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
try {
sh '''
cat /home/ignatov/secrets.txt >> .env_secret
tests/runtests_reasoning.sh MODE=build
'''
}
catch (Exception e) {
int duration = (currentBuild.duration - startTime) / 1000
throw e
}
}
}
}
post {
aborted {
script {
sh 'tests/runtests_reasoning.sh MODE=clean'
}
}
success {
script {
int duration = (currentBuild.duration - startTime) / 1000
}
}
}
}
stage('Start-Reason') {
steps {
script {
startTime = currentBuild.duration
Exception ex = null
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
try {
sh 'tests/runtests_reasoning.sh MODE=clean && tests/runtests_reasoning.sh MODE=start'
}
catch (Exception e) {
int duration = (currentBuild.duration - startTime) / 1000
throw e
}
}
}
}
post {
success {
script {
started = true
int duration = (currentBuild.duration - startTime) / 1000
}
}
aborted {
script {
sh 'tests/runtests_reasoning.sh MODE=clean'
}
}
}
}
stage('Test skills-Reason') {
steps {
script {
startTime = currentBuild.duration
Exception ex = null
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
try {
sh label: 'test skills', script: 'tests/runtests_reasoning.sh MODE=test_skills'
}
catch (Exception e) {
int duration = (currentBuild.duration - startTime) / 1000
throw e
}
}
}
}
post {
success {
script {
int duration = (currentBuild.duration - startTime) / 1000
}
}
aborted {
script {
sh 'tests/runtests_reasoning.sh MODE=clean'
}
}
}
}
// ------------------------------------------- Test prompted dists------------------------------------------------
stage('Build-MGPT35') {
steps {
Expand All @@ -43,6 +135,7 @@ pipeline {
try {
sh '''
cat /home/ignatov/secrets.txt >> .env_secret
tests/runtests_reasoning.sh MODE=clean
tests/runtests_multiskill_davinci3.sh MODE=build
'''
}
Expand Down Expand Up @@ -405,7 +498,7 @@ pipeline {
}
}
// ------------------------------------------- Test dream dist------------------------------------------------
stage('Build') {
stage('Build-Docs') {
steps {
script{
startTime = currentBuild.duration
Expand All @@ -415,6 +508,101 @@ pipeline {
sh '''
cat /home/ignatov/secrets.txt >> .env
tests/runtests_nutrition_oasst.sh MODE=clean
tests/runtests_document_based.sh MODE=build
'''
}
catch (Exception e) {
int duration = (currentBuild.duration - startTime) / 1000
throw e
}
}
}
}
post {
aborted {
script {
sh 'tests/runtests_document_based.sh MODE=clean'
}
}
success {
script {
int duration = (currentBuild.duration - startTime) / 1000
}
}
}
}

stage('Start-Docs') {
steps {
script {
startTime = currentBuild.duration
Exception ex = null
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
try {
sh 'tests/runtests_document_based.sh MODE=clean && tests/runtests_document_based.sh MODE=start'
}
catch (Exception e) {
int duration = (currentBuild.duration - startTime) / 1000
throw e
}
}
}
}
post {
success {
script {
started = true
int duration = (currentBuild.duration - startTime) / 1000
}
}
aborted {
script {
sh 'tests/runtests_document_based.sh MODE=clean'
}
}
}
}

stage('Test skills-Docs') {
steps {
script {
startTime = currentBuild.duration
Exception ex = null
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
try {
sh label: 'test skills', script: 'tests/runtests_document_based.sh MODE=test_skills'
}
catch (Exception e) {
int duration = (currentBuild.duration - startTime) / 1000
throw e
}
}
}
}
post {
success {
script {
int duration = (currentBuild.duration - startTime) / 1000
}
}
aborted {
script {
sh 'tests/runtests_document_based.sh MODE=clean'
}
}
}
}
// ------------------------------------------- Test dream dist------------------------------------------------
stage('Build') {
steps {
script{
startTime = currentBuild.duration
Exception ex = null
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
try {
sh '''
cat /home/ignatov/secrets.txt >> .env
tests/runtests_document_based.sh MODE=clean
tests/runtests.sh MODE=build
'''
}
Expand Down

0 comments on commit 82ae4a9

Please sign in to comment.