Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webeos-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
webservices
webeos
webeos-tests
Commits
ae10ee52
Commit
ae10ee52
authored
4 years ago
by
Joao Esteves Marcal
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-ci' into 'master'
Fixed CI See merge request
!2
parents
0f41a0e5
545aafe4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
Fixed CI
Pipeline
#1997382
failed
4 years ago
Stage: copy
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-4
3 additions, 4 deletions
.gitlab-ci.yml
with
3 additions
and
4 deletions
.gitlab-ci.yml
+
3
−
4
View file @
ae10ee52
# This variable can be defined here or, if it needs to be hidden, as a secure variable of the project
# This variable can be defined here or, if it needs to be hidden, as a secure variable of the project
variables
:
variables
:
EOS_PATH
:
"
/eos/home-o/okdtests/webeos-tests"
EOS_PATH
:
"
/eos/home-o/okdtests/webeos-tests"
CI_OUTPUT_DIR
:
"
/tmp/public"
stages
:
stages
:
-
copy
-
copy
...
@@ -12,16 +11,16 @@ copy:
...
@@ -12,16 +11,16 @@ copy:
stage
:
copy
stage
:
copy
script
:
script
:
# Create a directory where to move the output generated
# Create a directory where to move the output generated
-
mkdir
/tmp/
public
-
mkdir public
# This is an important step as it allows the artifact to NOT
# This is an important step as it allows the artifact to NOT
# include the .git subfolder from the directory where project
# include the .git subfolder from the directory where project
# was checked out by CI runners, since cp * will skip the .git folder.
# was checked out by CI runners, since cp * will skip the .git folder.
-
cp -r * /tmp/
public
-
rsync -a --exclude 'public' --exclude '.git' *
public
/
artifacts
:
artifacts
:
paths
:
paths
:
# Upload as an artifact the folder where the output has been generated
# Upload as an artifact the folder where the output has been generated
# This will attach to the job the output. It can be browsed or downloaded
# This will attach to the job the output. It can be browsed or downloaded
-
/tmp/
public
-
public
# Make it vanish in 1 hour
# Make it vanish in 1 hour
expire_in
:
1 hour
expire_in
:
1 hour
...
...
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