Skip to content

Commit

Permalink
Moving to Screwdriver (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaisarma authored Apr 27, 2021
1 parent 02468a3 commit 89106d2
Show file tree
Hide file tree
Showing 11 changed files with 68 additions and 52 deletions.
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Bullet-BQL

[![Build Status](https://travis-ci.org/bullet-db/bullet-bql.svg?branch=master)](https://travis-ci.com/bullet-db/bullet-bql) [![Coverage Status](https://coveralls.io/repos/github/bullet-db/bullet-bql/badge.svg?branch=master)](https://coveralls.io/github/bullet-db/bullet-bql?branch=master) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.yahoo.bullet/bullet-bql/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.yahoo.bullet/bullet-bql/)
[![Build Status](https://cd.screwdriver.cd/pipelines/7222/badge)](https://cd.screwdriver.cd/pipelines/7222)
[![Coverage Status](https://coveralls.io/repos/github/bullet-db/bullet-bql/badge.svg?branch=master)](https://coveralls.io/github/bullet-db/bullet-bql?branch=master)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.yahoo.bullet/bullet-bql/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.yahoo.bullet/bullet-bql/)

>BQL is a SQL-like query language specifically designed for the [Bullet](https://bullet-db.github.io/) query engine, which provides an easy-to-use yet powerful interactive SQL-like interface.
Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.0.0</version>
<configuration>
<repoToken>${env.COVERALLS_TOKEN}</repoToken>
</configuration>
</plugin>

<plugin>
Expand Down
24 changes: 24 additions & 0 deletions screwdriver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
cache:
pipeline: ["~/.m2"]

shared:
image: maven:3.6.3-jdk-8

jobs:
main:
requires: [~pr, ~commit]
secrets:
- COVERALLS_TOKEN
steps:
- build: mvn -B clean verify
- coverage: mvn coveralls:report

release:
requires: [~tag:/^bullet-bql-\d+\.\d+\.\d+/]
secrets:
- SONATYPE_USERNAME
- SONATYPE_PASSWORD
- GPG_PASSPHRASE
- GPG_ENCPHRASE
steps:
- publish: screwdriver/release.sh
Binary file added screwdriver/pubring.gpg.enc
Binary file not shown.
12 changes: 12 additions & 0 deletions screwdriver/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

set -e

export GPG_TTY=$(tty)

openssl aes-256-cbc -pass pass:$GPG_ENCPHRASE -in screwdriver/pubring.gpg.enc -out screwdriver/pubring.gpg -d
openssl aes-256-cbc -pass pass:$GPG_ENCPHRASE -in screwdriver/secring.gpg.enc -out screwdriver/secring.gpg -d

mvn clean deploy --settings screwdriver/settings.xml -DskipTests=true -Possrh -Prelease

rm -rf screwdriver/*.gpg
Binary file added screwdriver/secring.gpg.enc
Binary file not shown.
26 changes: 26 additions & 0 deletions screwdriver/settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>ossrh</id>
<username>${env.SONATYPE_USERNAME}</username>
<password>${env.SONATYPE_PASSWORD}</password>
</server>
</servers>

<profiles>
<profile>
<id>ossrh</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
<gpg.defaultKeyring>false</gpg.defaultKeyring>
<gpg.homedir>${env.SD_SOURCE_DIR}/screwdriver</gpg.homedir>
<gpg.publickeyring>pubring.gpg</gpg.publickeyring>
<gpg.secretkeyring>secring.gpg</gpg.secretkeyring>
</properties>
</profile>
</profiles>
</settings>
Binary file removed travis/pubring.gpg.enc
Binary file not shown.
Binary file removed travis/secring.gpg.enc
Binary file not shown.
26 changes: 0 additions & 26 deletions travis/settings.xml

This file was deleted.

0 comments on commit 89106d2

Please sign in to comment.