Skip to content

Commit

Permalink
Replace ci-cd.yml with screwdriver.yaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
Doom9527 committed Apr 14, 2024
1 parent f0357b4 commit 05711ba
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/ci-cd.yml

This file was deleted.

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

annotations:
screwdriver.cd/restrictPR: fork

shared:
annotations:
screwdriver.cd/cpu: TURBO
screwdriver.cd/ram: TURBO

environment:
#Fetches history so Sonar can assign blame.
GIT_SHALLOW_CLONE: false

jobs:
master-commit:
image: maven:3.8.5-openjdk-17
requires: [~pr, ~commit]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report

elide-7-build:
image: maven:3.8.5-openjdk-17
requires: [~pr:elide-7.x, ~commit:elide-7.x]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report

elide-6-build:
image: maven:3.8.2-openjdk-11
requires: [~pr:elide-6.x, ~commit:elide-6.x]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report

elide-5-build:
image: maven:3.6.3-jdk-8
requires: [~pr:elide-5.x, ~commit:elide-5.x]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report

elide-4-build:
image: maven:3.6.3-jdk-8
requires: [~pr:elide-4.x, ~commit:elide-4.x]
secrets:
- COVERALLS_REPO_TOKEN
steps:
- build: mvn -B clean verify coveralls:report

release-java17:
image: maven:3.8.5-openjdk-17
secrets:
- GPG_KEYNAME
- GPG_PASSPHRASE
- GPG_ENCPHRASE
- OSSRH_USER
- OSSRH_TOKEN
requires: [~tag:/^7/, ~release:/^7/]
steps:
- prebuild: microdnf install --nodocs openssl gnupg
- build: "screwdriver/scripts/build.sh"
- publish: "screwdriver/scripts/publish.sh"

release-java11:
image: maven:3.8.2-openjdk-11
secrets:
- GPG_KEYNAME
- GPG_PASSPHRASE
- GPG_ENCPHRASE
- OSSRH_USER
- OSSRH_TOKEN
requires: [~tag:/^6/, ~release:/^6/]
steps:
- build: "screwdriver/scripts/build.sh"
- publish: "screwdriver/scripts/publish.sh"

0 comments on commit 05711ba

Please sign in to comment.