Skip to content

Commit

Permalink
Merge pull request #940 from metrumresearchgroup/fix/drone
Browse files Browse the repository at this point in the history
re-config .drone file
  • Loading branch information
kylebaron authored Mar 16, 2022
2 parents 84db49c + 735c5a5 commit 33df8fa
Showing 1 changed file with 1 addition and 54 deletions.
55 changes: 1 addition & 54 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,3 @@
---
kind: pipeline
type: docker
name: mpn:latest

platform:
os: linux
arch: amd64

steps:
- name: pull
image: omerxx/drone-ecr-auth
commands:
- $(aws ecr get-login --no-include-email --region us-east-1)
- docker pull 906087756158.dkr.ecr.us-east-1.amazonaws.com/r-dev-ci-mpn-4.1:latest
- docker pull 906087756158.dkr.ecr.us-east-1.amazonaws.com/r-dev-ci-mpn-4.0:latest
- docker pull 906087756158.dkr.ecr.us-east-1.amazonaws.com/r-dev-ci-mpn-3.6:latest
volumes:
- name: docker.sock
path: /var/run/docker.sock

- name: "Check package: R 4.1"
pull: never
image: 906087756158.dkr.ecr.us-east-1.amazonaws.com/r-dev-ci-mpn-4.1:latest
commands:
- R -s -e 'devtools::install_deps(upgrade = '"'"'never'"'"', dependencies = TRUE)'
- make drone

- name: "Check package: R 4.0"
pull: never
image: 906087756158.dkr.ecr.us-east-1.amazonaws.com/r-dev-ci-mpn-4.0:latest
commands:
- R -s -e 'devtools::install_deps(upgrade = '"'"'never'"'"', dependencies = TRUE)'
- make drone

# - name: "Check package: R 3.6"
# pull: never
# image: 906087756158.dkr.ecr.us-east-1.amazonaws.com/r-dev-ci-mpn-3.6:latest
# commands:
# - R -s -e 'devtools::install_deps(upgrade = '"'"'never'"'"', dependencies = TRUE)'
# - make drone

volumes:
- name: docker.sock
host:
path: /var/run/docker.sock

trigger:
event:
exclude:
- promote

---
kind: pipeline
type: docker
Expand Down Expand Up @@ -134,8 +82,8 @@ trigger:
- promote

depends_on:
- mpn:latest
- cran-latest

---
kind: pipeline
type: docker
Expand Down Expand Up @@ -205,5 +153,4 @@ trigger:
- tag

depends_on:
- mpn:latest
- cran-latest

0 comments on commit 33df8fa

Please sign in to comment.