Skip to content

Commit 4100743

Browse files
authored
Merge pull request #321 from vimc/vimc-6765
Trigger orderly.server downstream build after check completed
2 parents 7d469c5 + d02fc85 commit 4100743

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- main
1111
- master
1212

13-
name: R-CMD-check
13+
name: Check
1414

1515
jobs:
1616
R-CMD-check:
@@ -77,6 +77,12 @@ jobs:
7777
run: |
7878
brew install libgit2
7979
80+
- name: Install openssl (Windows)
81+
if: runner.os == 'Windows'
82+
run: |
83+
install.packages("openssl", type = "binary")
84+
shell: Rscript {0}
85+
8086
- name: Install dependencies
8187
run: |
8288
remotes::install_deps(dependencies = TRUE)
@@ -110,3 +116,19 @@ jobs:
110116
with:
111117
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
112118
path: check
119+
120+
check-orderly-server:
121+
122+
runs-on: ubuntu-20.04
123+
124+
needs: R-CMD-check
125+
126+
steps:
127+
- uses: convictional/[email protected]
128+
with:
129+
owner: vimc
130+
repo: orderly.server
131+
ref: master
132+
github_token: ${{ secrets.REPO_DISPATCH_TOKEN }}
133+
client_payload: "{\"orderly_version\": \"${{ github.event_name == 'push' && 'master' || github.head_ref }}\"}"
134+
workflow_file_name: R-CMD-check.yaml

buildkite/pipeline.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ steps:
3333
branches: "master"
3434
build:
3535
branch: master
36+
37+
- trigger: "orderly-dot-server-test"
38+
label: ":rocket: orderly.server (from orderly) :cloud:"
39+
build:
40+
branch: !master
41+
env:
42+
ORDERLY_VERSION: "${BUILDKITE_COMMIT:0:7}"

0 commit comments

Comments
 (0)