Commit fd572ebb authored by Tobias Schmidt's avatar Tobias Schmidt

Remove travis CI remainders

parent f07ea04f
sudo: false
language: ruby
branches:
only:
- master
script: make deploy
before_install:
- eval "$(ssh-agent -s)"
- openssl aes-256-cbc -K $encrypted_2ba894bc7c2f_key -iv $encrypted_2ba894bc7c2f_iv -in prometheus_rsa.enc -out prometheus_rsa -d
- chmod 600 prometheus_rsa
- ssh-add prometheus_rsa
env:
global:
secure: aNZoB4UDtdelUDxFTTJa5Dxm8gXorKGmQWYaFIXzuBwLvFMp1toIY+amsMrGBbnvxrJosO4764GpS8sWRT/Jbr252sxjOe8N4jfbtJUX29U2aNFQSWVc/o8VnKFW1NI5cjBAZ9OOvgpS6KUGkXZ2/PTmvgxvyqGS4pPovIM1OOo=
DOWNLOADS := prometheus alertmanager blackbox_exporter consul_exporter graphite_exporter haproxy_exporter memcached_exporter mysqld_exporter node_exporter pushgateway statsd_exporter
build: clean downloads compile
clean:
rm -rf output downloads repositories
compile:
bundle exec nanoc
deploy: clean downloads compile github_pages_export github_pages_push
downloads: $(DOWNLOADS:%=downloads/%/repo.json) $(DOWNLOADS:%=downloads/%/releases.json)
downloads/%/repo.json:
......@@ -20,19 +20,4 @@ downloads/%/releases.json:
@echo "curl -sf -H 'Accept: application/vnd.github.v3+json' <GITHUB_AUTHENTICATION> https://api.github.com/repos/prometheus/$*/releases > $@"
@curl -sf -H 'Accept: application/vnd.github.v3+json' $(GITHUB_AUTHENTICATION) https://api.github.com/repos/prometheus/$*/releases > $@
github_pages_export:
cd output && \
mkdir -p .github && \
echo "This repository is auto-generated. You have to open pull requests against https://github.com/prometheus/docs instead." > .github/PULL_REQUEST_TEMPLATE.md && \
echo prometheus.io > CNAME && \
git init && \
git config user.name "Travis CI" && \
git config user.email "travis@prometheus.io" && \
git add . && \
git commit --message="Static site builder output"
github_pages_push:
cd output && \
git push -f git@github.com:prometheus/prometheus.github.io master
.PHONY: compile deploy github_pages_export github_pages_push
.PHONY: build compile deploy
# Prometheus Documentation [![Build Status](https://travis-ci.org/prometheus/docs.svg?branch=master)](https://travis-ci.org/prometheus/docs)
# Prometheus Documentation
This repository contains both the content and the static-site generator code for the
Prometheus documentation site.
......@@ -18,7 +18,7 @@ bundle
To generate the static site, run:
```bash
bundle exec nanoc
make build
```
The resulting static site will be stored in the `output` directory.
......
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