Commit f655c08c authored by Leo Leung's avatar Leo Leung

Removed unused and added gitlab ci

parent d174c2d8
Pipeline #384 passed with stage
in 4 minutes and 3 seconds
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: true
image: docker:stable
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE
stages:
- Build image and push
docker build:
stage: Build image and push
only:
- master
script:
- export VERSION=$( grep PARSOID_VERSION= Dockerfile | awk -F= '{print $2}' | tr -d v )
- docker info
- docker build -f Dockerfile -t $IMAGE_TAG:latest -t $IMAGE_TAG:$VERSION .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push $IMAGE_TAG:latest
- docker push $IMAGE_TAG:$VERSION
sudo: required
services:
- docker
before_install:
- sudo apt-get update
- sudo apt-get install -y make git
script:
- make build
#- make unit-test
branches:
only:
- master
notifications:
email: false
irc:
channels:
- "chat.freenode.net#thenets-opensource"
on_success: change # default: always
on_failure: always # default: always
use_notice: true
......@@ -4,8 +4,8 @@ LABEL maintainer="luiz@thenets.org"
ENV PARSOID_HOME=/var/lib/parsoid \
PARSOID_USER=parsoid \
# PARSOID_VERSION [v0.8.1, v0.9.0, v0.10.0, v0.11.0, master]
PARSOID_VERSION=v0.11.0
# PARSOID_VERSION [v0.8.1, v0.9.0, v0.10.0, v0.11.0, master]
COPY run-parsoid.sh /run-parsoid.sh
......
File mode changed from 100755 to 100644
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment