Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
faircoind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kaana.red
faircoind
Commits
f2feb476
Commit
f2feb476
authored
4 years ago
by
TonyFord
Browse files
Options
Downloads
Patches
Plain Diff
add another stages
parent
dae70c04
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+44
-18
44 additions, 18 deletions
.gitlab-ci.yml
with
44 additions
and
18 deletions
.gitlab-ci.yml
+
44
−
18
View file @
f2feb476
stages
:
-
clean
-
build
-
restart
-
start
-
stop
-
uninstall
-
remove
clean-blockchain-data
:
stage
:
clean
build-faircoind
:
stage
:
build
tags
:
-
FairCoin.Co
only
:
refs
:
-
master
variables
:
-
$CMD =~ /clean/
-
$CMD =~ /build/
before_script
:
-
mkdir -p ~/.faircoin2
script
:
-
docker-compose down
after_script
:
-
echo ${CI_PROJECT_DIR} > ~/test.txt
-
rm -R ~/.faircoin2
-
docker-compose build
build
-faircoind
:
stage
:
build
start
-faircoind
:
stage
:
start
tags
:
-
FairCoin.Co
only
:
refs
:
-
master
variables
:
-
$CMD =~ /build/
before_script
:
-
mkdir -p ~/.faircoin2
-
$CMD =~ /build|start/
script
:
-
docker-compose down
-
docker-compose
buil
d
-
docker-compose
up -
d
restart
-faircoind
:
stage
:
restart
stop
-faircoind
:
stage
:
stop
tags
:
-
FairCoin.Co
only
:
refs
:
-
master
variables
:
-
$CMD =~ /build|restart/
-
$CMD =~ /stop/
script
:
-
docker-compose stop
uninstall-faircoind
:
stage
:
uninstall
tags
:
-
FairCoin.Co
only
:
refs
:
-
master
variables
:
-
$CMD =~ /uninstall/
script
:
-
docker-compose down
-
docker-compose up -d
remove-faircoind
:
stage
:
clean
tags
:
-
FairCoin.Co
only
:
refs
:
-
master
variables
:
-
$CMD =~ /remove/
script
:
-
docker-compose down
after_script
:
-
echo ${CI_PROJECT_DIR} > ~/test.txt
-
rm -R ~/.faircoin2
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