Merge branch 'main' of ssh://git.davinti.com.br:2222/davinTI/app-dono-modulos
davinTI/app-dono-modulos/pipeline/head This commit looks good
davinTI/app-dono-modulos/pipeline/head This commit looks good
This commit is contained in:
Vendored
+3
@@ -42,10 +42,13 @@ pipeline {
|
|||||||
echo 'Generating manifest and deploying to S3...'
|
echo 'Generating manifest and deploying to S3...'
|
||||||
sh 'npm run generate:output'
|
sh 'npm run generate:output'
|
||||||
|
|
||||||
|
sh 'tar -czvf migrations.tar.gz -C migrations/ .'
|
||||||
|
|
||||||
withAWS(credentials: 'aws-jeff-credentials-id', region: 'sa-east-1') {
|
withAWS(credentials: 'aws-jeff-credentials-id', region: 'sa-east-1') {
|
||||||
script {
|
script {
|
||||||
echo "Uploading to S3..."
|
echo "Uploading to S3..."
|
||||||
sh "aws s3 cp dist/manifest.json ${S3_BUCKET}/manifest.json"
|
sh "aws s3 cp dist/manifest.json ${S3_BUCKET}/manifest.json"
|
||||||
|
sh "aws s3 cp migrations.tar.gz ${S3_BUCKET}/migrations.tar.gz"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Migrations
|
||||||
|
|
||||||
|
|
||||||
Generated
+3
-3
@@ -9,15 +9,15 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@davinti/jeff": "git+https://git.davinti.com.br/davinTI/jeff.git#v1.0.6"
|
"@davinti/jeff": "git+https://git.davinti.com.br/davinTI/jeff.git#v1.0.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tsx": "^4.21.0"
|
"tsx": "^4.21.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@davinti/jeff": {
|
"node_modules/@davinti/jeff": {
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"resolved": "git+https://git.davinti.com.br/davinTI/jeff.git#c61edd0051b14b11f02fcb569b48f043c43180cf",
|
"resolved": "git+https://git.davinti.com.br/davinTI/jeff.git#07860417cc408cbc691f3d52a169dc6daf1b21bc",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/glob": "^8.1.0",
|
"@types/glob": "^8.1.0",
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"description": "",
|
"description": "",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@davinti/jeff": "git+https://git.davinti.com.br/davinTI/jeff.git#v1.0.6"
|
"@davinti/jeff": "git+https://git.davinti.com.br/davinTI/jeff.git#v1.0.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tsx": "^4.21.0"
|
"tsx": "^4.21.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user