Skip to content

Commit a05f119

Browse files
committed
Replace with default config
1 parent 1ea56b7 commit a05f119

File tree

1 file changed

+36
-46
lines changed

1 file changed

+36
-46
lines changed

.circleci/config.yml

Lines changed: 36 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,42 @@
11
version: 2.1
2-
orbs:
3-
r-packages: displayr/r-packages@dev:alpha
4-
parameters:
5-
trigger-message:
6-
type: string
7-
default: ""
8-
remote-deps:
9-
type: string
10-
default: ""`
11-
plugins-branch:
12-
type: string
13-
default: ""
14-
triggered-packages:
15-
type: string
16-
default: ""
17-
executor:
18-
type: enum
19-
enum: [nightly, rocker, machine,rocker_geo]
20-
default: nightly
21-
2+
jobs:
3+
test:
4+
docker:
5+
- image: cimg/base:stable
6+
steps:
7+
- checkout
8+
# Replace this with a real test runner invocation
9+
- run:
10+
name: Run tests
11+
command: echo 'replace me with real tests!' && false
12+
build:
13+
docker:
14+
- image: cimg/base:stable
15+
steps:
16+
- checkout
17+
# Replace this with steps to build a package, or executable
18+
- run:
19+
name: Build an artifact
20+
command: touch example.txt
21+
- store_artifacts:
22+
path: example.txt
23+
deploy:
24+
# This is an example deploy job, not actually used by the workflow
25+
docker:
26+
- image: cimg/base:stable
27+
steps:
28+
# Replace this with steps to deploy to users
29+
- run:
30+
name: deploy
31+
command: '#e.g. ./deploy.sh'
2232
workflows:
23-
build-and-check-R-package:
33+
example:
2434
jobs:
25-
- r-packages/build_and_check_package:
26-
executor: << pipeline.parameters.executor >>
27-
name: BuildAndCheckPackage
28-
context:
29-
- r_packages
30-
remote_deps: << pipeline.parameters.remote-deps >>
31-
separate_test_job: false
32-
- r-packages/deploy_package:
33-
executor: << pipeline.parameters.executor >>
35+
- test
36+
- build:
3437
requires:
35-
- BuildAndCheckPackage
36-
context:
37-
- r_packages
38-
filters:
39-
branches:
40-
only:
41-
- master
42-
- r-packages/trigger_revdeps:
43-
executor: << pipeline.parameters.executor >>
38+
- test
39+
- deploy:
4440
requires:
45-
- BuildAndCheckPackage
46-
context:
47-
- r_packages
48-
remote_deps: << pipeline.parameters.remote-deps >>
49-
plugins_branch: << pipeline.parameters.plugins-branch >>
50-
trigger_message: << pipeline.parameters.trigger-message >>
51-
triggered_packages: << pipeline.parameters.triggered-packages >>
41+
- test
5242

0 commit comments

Comments
 (0)