From 554af892ff1568491475033a5d4201e81551d54a Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Tue, 12 Apr 2022 15:55:51 +0200 Subject: [PATCH] Update drone --- .drone.yml | 37 +------------------------------------ drone/drone_docker | 30 ++++++++++++++++++++++++++++++ drone/drone_ssh | 30 ++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 36 deletions(-) mode change 100644 => 120000 .drone.yml create mode 100644 drone/drone_docker create mode 100644 drone/drone_ssh diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 39d035db..00000000 --- a/.drone.yml +++ /dev/null @@ -1,36 +0,0 @@ ---- -kind: pipeline -type: ssh -name: default - -clone: - depth: 10 - -server: - host: 130.120.229.139 - user: test - password: - from_secret: ssh_pass - -steps: -- name: configure - pull: never - image: ubuntu/qp2_env - commands: - - ./configure -i all -c ./config/gfortran_debug.cfg - - source quantum_package.rc ; qp plugins download https://gitlab.com/scemama/qp_plugins_scemama - - source quantum_package.rc ; qp plugins install champ - -- name: compile - pull: never - image: ubuntu/qp2_env - commands: - - ninja - -- name: testing - pull: never - image: ubuntu/qp2_env - commands: - - qp test - - diff --git a/.drone.yml b/.drone.yml new file mode 120000 index 00000000..b44fc76b --- /dev/null +++ b/.drone.yml @@ -0,0 +1 @@ +drone/drone_ssh \ No newline at end of file diff --git a/drone/drone_docker b/drone/drone_docker new file mode 100644 index 00000000..0cbeb613 --- /dev/null +++ b/drone/drone_docker @@ -0,0 +1,30 @@ +--- +kind: pipeline +type: ssh +name: default + +clone: + depth: 10 + +steps: +- name: configure + pull: never + image: ubuntu/qp2_env + commands: + - ./configure -i all -c ./config/gfortran_debug.cfg + - source quantum_package.rc ; qp plugins download https://gitlab.com/scemama/qp_plugins_scemama + - source quantum_package.rc ; qp plugins install champ + +- name: compile + pull: never + image: ubuntu/qp2_env + commands: + - ninja + +- name: testing + pull: never + image: ubuntu/qp2_env + commands: + - qp test + + diff --git a/drone/drone_ssh b/drone/drone_ssh new file mode 100644 index 00000000..e15b3fd5 --- /dev/null +++ b/drone/drone_ssh @@ -0,0 +1,30 @@ +--- +kind: pipeline +type: ssh +name: default + +clone: + depth: 10 + +server: + host: 130.120.229.139 + user: test + password: + from_secret: ssh_pass + +steps: +- name: configure + commands: + - ./configure -i all -c ./config/gfortran_debug.cfg + - source quantum_package.rc ; qp plugins download https://gitlab.com/scemama/qp_plugins_scemama + - source quantum_package.rc ; qp plugins install champ + +- name: compile + commands: + - ninja + +- name: testing + commands: + - qp test + +