Browse Source

Drone script.

pull/85/head
Sebastian Stehle 9 years ago
parent
commit
3bf64e0196
  1. 49
      .drone.yml
  2. 2
      README.md

49
.drone.yml

@ -0,0 +1,49 @@
pipeline:
test_pull_request:
image: docker
commands:
- docker build -t squidex/squidex:test_pull_request .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker:/var/lib/docker
when:
event: pull_request
build_dev:
image: docker
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build -t squidex/squidex:dev .
- docker push squidex/squidex:dev
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker:/var/lib/docker
secrets: [ docker_username, docker_password ]
when:
event: push
build_release:
image: docker
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build -t squidex/squidex:latest -t squidex/squidex:$TAG .
- docker push squidex/squidex:latest
- docker push squidex/squidex:$TAG
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker:/var/lib/docker
environment:
- TAG=${DRONE_TAG}
secrets: [ docker_username, docker_password ]
when:
event: tag
slack:
image: plugins/slack
secrets: [ slack_webhook ]
template: >
{{#success build.status}}
build {{build.number}} succeeded. Good job.
{{else}}
build {{build.number}} failed. Fix me please.
{{/success}}

2
README.md

@ -4,7 +4,7 @@
Squidex is an open source headless CMS and content management hub. In contrast to a traditional CMS Squidex provides a rich API with OData filter and Swagger definitions. It is up to you to build your UI on top of it. It can be website, a native app or just another server. We build it with ASP.NET Core and CQRS and is tested for Windows and Linux on modern browsers. Squidex is an open source headless CMS and content management hub. In contrast to a traditional CMS Squidex provides a rich API with OData filter and Swagger definitions. It is up to you to build your UI on top of it. It can be website, a native app or just another server. We build it with ASP.NET Core and CQRS and is tested for Windows and Linux on modern browsers.
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg?style=flat-square)](https://gitter.im/squidex-cms/Lobby) [![Build status](https://ci.appveyor.com/api/projects/status/c74v87uj8q393pyc?svg=true)](https://ci.appveyor.com/project/SebastianStehle/squidex) [![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg?style=square)](https://gitter.im/squidex-cms/Lobby) [![Build Status](http://build.squidex.io/api/badges/Squidex/squidex/status.svg)](http://build.squidex.io/Squidex/squidex)
Read the docs at [https://docs.squidex.io/](https://docs.squidex.io/) (work in progress) or just check out the code and play around. Read the docs at [https://docs.squidex.io/](https://docs.squidex.io/) (work in progress) or just check out the code and play around.

Loading…
Cancel
Save