Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OSM Packages
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
17
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vnf-onboarding
OSM Packages
Commits
c79b513a
Commit
c79b513a
authored
2 days ago
by
garciadeblas
Browse files
Options
Downloads
Patches
Plain Diff
Fix typos in put ftp commands in gitlab-ci.yaml
Signed-off-by:
garciadeblas
<
gerardo.garciadeblas@telefonica.com
>
parent
b61a0683
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#18601
passed with stages
Stage:
Stage:
in 1 minute and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-3
2 additions, 3 deletions
.gitlab-ci.yml
with
2 additions
and
3 deletions
.gitlab-ci.yml
+
2
−
3
View file @
c79b513a
...
@@ -59,7 +59,7 @@ publish-testing-repository:
...
@@ -59,7 +59,7 @@ publish-testing-repository:
echo "Uploading new files to Testing-new..."
echo "Uploading new files to Testing-new..."
sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P $SFTP_PORT $SFTP_USER@$SFTP_SERVER << EOF
sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P $SFTP_PORT $SFTP_USER@$SFTP_SERVER << EOF
mkdir Testing-new
mkdir Testing-new
put -r vnf-catalog/* Testing-new
/
put -r vnf-catalog/* Testing-new
EOF
EOF
echo "Switching directories..."
echo "Switching directories..."
...
@@ -77,7 +77,6 @@ publish-testing-repository:
...
@@ -77,7 +77,6 @@ publish-testing-repository:
when
:
on_success
when
:
on_success
# - if: '$CI_COMMIT_REF_PROTECTED == "true"'
# - if: '$CI_COMMIT_REF_PROTECTED == "true"'
# when: on_success
# when: on_success
allow_failure
:
true
###############################################################################
###############################################################################
# Job to publish artifacts on demand (publication to Testing)
# Job to publish artifacts on demand (publication to Testing)
...
@@ -97,7 +96,7 @@ publish-ondemand-repository:
...
@@ -97,7 +96,7 @@ publish-ondemand-repository:
echo "Uploading files to temporary folder $TEMP_FOLDER in FTP ..."
echo "Uploading files to temporary folder $TEMP_FOLDER in FTP ..."
sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P $SFTP_PORT $SFTP_USER@$SFTP_SERVER << EOF
sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P $SFTP_PORT $SFTP_USER@$SFTP_SERVER << EOF
mkdir $TEMP_FOLDER
mkdir $TEMP_FOLDER
put -r vnf-catalog/* $TEMP_FOLDER
/
put -r vnf-catalog/* $TEMP_FOLDER
EOF
EOF
echo "Switching directories..."
echo "Switching directories..."
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment