diff --git a/CHANGELOG.md b/CHANGELOG.md index c8b88e45724..d378d4fd060 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## BREAKING CHANGES +* `transfer/publish`: remove component after deprecating it in 2.1.0 (PR #1019). + * Removed `split_h5mu_train_test` component (PR #1020). ## MAJOR CHANGES diff --git a/src/transfer/publish/config.vsh.yaml b/src/transfer/publish/config.vsh.yaml deleted file mode 100644 index ee3299323c1..00000000000 --- a/src/transfer/publish/config.vsh.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: publish -namespace: "transfer" -description: Publish an artifact and optionally rename with parameters -authors: - - __merge__: /src/authors/toni_verbeiren.yaml - roles: [ maintainer ] -arguments: - - name: "--input" - alternatives: ["-i"] - type: file - direction: input - required: true - description: Input filename - - name: "--output" - alternatives: ["-o"] - type: file - direction: output - required: true - description: Output filename -resources: - - type: bash_script - path: script.sh -test_resources: - - type: bash_script - path: run_test.sh - -engines: -- type: docker - image: ubuntu:22.04 - -runners: -- type: executable -- type: nextflow diff --git a/src/transfer/publish/run_test.sh b/src/transfer/publish/run_test.sh deleted file mode 100644 index 576cf6b8931..00000000000 --- a/src/transfer/publish/run_test.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash -set -ex - -touch test_file.txt - -echo ">>> Testing if publish in current local dir works" -./publish \ - --input test_file.txt \ - --output another_file.txt - -[[ ! -f another_file.txt ]] && echo "It seems no output file is generated" && exit 1 - -echo ">>> Testing if publish in new local dir works" -./publish \ - --input test_file.txt \ - --output adir/yadir/another_file.txt - -[[ ! -d adir/yadir ]] && echo "It seems no output directory is generated" && exit 1 -[[ ! -f adir/yadir/another_file.txt ]] && echo "It seems no output file is generated" && exit 1 - -echo ">>> Test finished successfully" diff --git a/src/transfer/publish/script.sh b/src/transfer/publish/script.sh deleted file mode 100644 index 1aeffceac02..00000000000 --- a/src/transfer/publish/script.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -set -eo pipefail - -## VIASH START -par_input="input.txt" -par_output="output.txt" -## VIASH END - -parent=`dirname "$par_output"` -if [[ ! -d "$parent" ]]; then - mkdir -p "$parent" -fi - -cp -r "$par_input" "$par_output" \ No newline at end of file