Fragment push process, starting with node
This commit is contained in:
parent
4ac81a57fa
commit
43b9aafce4
2 changed files with 70 additions and 6 deletions
|
|
@ -48,21 +48,65 @@ build:php-core:master:
|
|||
only:
|
||||
- master
|
||||
|
||||
build:node-core:
|
||||
build:node-core:8:
|
||||
stage: core
|
||||
script:
|
||||
- make -f Makefile.working build-node
|
||||
- make -f Makefile.working build-node-8
|
||||
except:
|
||||
- master
|
||||
|
||||
build:node-core:master:
|
||||
build:node-core:8:master:
|
||||
stage: core
|
||||
script:
|
||||
- make -f Makefile.working build-node
|
||||
- make -f Makefile.working push-node
|
||||
- make -f Makefile.working build-node-8
|
||||
- make -f Makefile.working push-node-8
|
||||
only:
|
||||
- master
|
||||
|
||||
build:node-core:10:
|
||||
stage: core
|
||||
script:
|
||||
- make -f Makefile.working build-node-10
|
||||
except:
|
||||
- master
|
||||
|
||||
build:node-core:10:master:
|
||||
stage: core
|
||||
script:
|
||||
- make -f Makefile.working build-node-10
|
||||
- make -f Makefile.working push-node-10
|
||||
only:
|
||||
- master
|
||||
|
||||
build:node-core:11:
|
||||
stage: core
|
||||
script:
|
||||
- make -f Makefile.working build-node-11
|
||||
except:
|
||||
- master
|
||||
|
||||
build:node-core:11:master:
|
||||
stage: core
|
||||
script:
|
||||
- make -f Makefile.working build-node-11
|
||||
- make -f Makefile.working push-node-11
|
||||
only:
|
||||
- master
|
||||
|
||||
build:node-core:12:
|
||||
stage: core
|
||||
script:
|
||||
- make -f Makefile.working build-node-12
|
||||
except:
|
||||
- master
|
||||
|
||||
build:node-core:12:master:
|
||||
stage: core
|
||||
script:
|
||||
- make -f Makefile.working build-node-12
|
||||
- make -f Makefile.working push-node-12
|
||||
only:
|
||||
- master
|
||||
|
||||
build:derived:cli:
|
||||
stage: derived
|
||||
|
|
|
|||
22
Makefile
22
Makefile
|
|
@ -448,20 +448,40 @@ else
|
|||
echo "Skipping push, on branch \"$(GIT_BRANCH)\" not on branch \"master\""
|
||||
endif
|
||||
|
||||
push-node:
|
||||
push-node: push-node-8 push-node-10 push-node-11 push-node-12
|
||||
|
||||
push-node-8:
|
||||
ifeq ($(GIT_BRANCH), master)
|
||||
docker push gone/node:8
|
||||
docker push gone/node:8-$(DATE)
|
||||
docker push gone/node:8-$(ARCH)-$(DATE)
|
||||
docker push gone/node:8-$(ARCH)
|
||||
else
|
||||
echo "Skipping push, on branch \"$(GIT_BRANCH)\" not on branch \"master\""
|
||||
endif
|
||||
|
||||
push-node-10:
|
||||
ifeq ($(GIT_BRANCH), master)
|
||||
docker push gone/node:10
|
||||
docker push gone/node:10-$(DATE)
|
||||
docker push gone/node:10-$(ARCH)-$(DATE)
|
||||
docker push gone/node:10-$(ARCH)
|
||||
else
|
||||
echo "Skipping push, on branch \"$(GIT_BRANCH)\" not on branch \"master\""
|
||||
endif
|
||||
|
||||
push-node-11:
|
||||
ifeq ($(GIT_BRANCH), master)
|
||||
docker push gone/node:11
|
||||
docker push gone/node:11-$(DATE)
|
||||
docker push gone/node:11-$(ARCH)-$(DATE)
|
||||
docker push gone/node:11-$(ARCH)
|
||||
else
|
||||
echo "Skipping push, on branch \"$(GIT_BRANCH)\" not on branch \"master\""
|
||||
endif
|
||||
|
||||
push-node-12:
|
||||
ifeq ($(GIT_BRANCH), master)
|
||||
docker push gone/node:12
|
||||
docker push gone/node:12-$(DATE)
|
||||
docker push gone/node:12-$(ARCH)-$(DATE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue