Skip to content

Commit

Permalink
Merge pull request #321 from vimc/vimc-6765
Browse files Browse the repository at this point in the history
Trigger orderly.server downstream build after check completed
  • Loading branch information
r-ash authored Nov 4, 2022
2 parents 7d469c5 + d02fc85 commit 4100743
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- main
- master

name: R-CMD-check
name: Check

jobs:
R-CMD-check:
Expand Down Expand Up @@ -77,6 +77,12 @@ jobs:
run: |
brew install libgit2
- name: Install openssl (Windows)
if: runner.os == 'Windows'
run: |
install.packages("openssl", type = "binary")
shell: Rscript {0}

- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
Expand Down Expand Up @@ -110,3 +116,19 @@ jobs:
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check

check-orderly-server:

runs-on: ubuntu-20.04

needs: R-CMD-check

steps:
- uses: convictional/[email protected]
with:
owner: vimc
repo: orderly.server
ref: master
github_token: ${{ secrets.REPO_DISPATCH_TOKEN }}
client_payload: "{\"orderly_version\": \"${{ github.event_name == 'push' && 'master' || github.head_ref }}\"}"
workflow_file_name: R-CMD-check.yaml
7 changes: 7 additions & 0 deletions buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,10 @@ steps:
branches: "master"
build:
branch: master

- trigger: "orderly-dot-server-test"
label: ":rocket: orderly.server (from orderly) :cloud:"
build:
branch: !master
env:
ORDERLY_VERSION: "${BUILDKITE_COMMIT:0:7}"

0 comments on commit 4100743

Please sign in to comment.