From d7791aea3630aecdb940b98731ffaf6dcffe80f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=94=D0=BE=D1=80=D0=BE?= =?UTF-8?q?=D1=88=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Mon, 27 Apr 2020 18:09:57 +0300 Subject: [PATCH] Revert "Merge pull request #5 from Logitech/adoroshenko/jitic" This reverts commit 60bf1bc5a90a6bda4ebf00ce67bec90f0bf6c8ef, reversing changes made to 26f0cc04d952f7916986edb5f723ae60e74fabe1. --- actions/jitic/Dockerfile | 6 ------ actions/jitic/action.yml | 29 ----------------------------- actions/jitic/docker-entrypoint.sh | 11 ----------- 3 files changed, 46 deletions(-) delete mode 100644 actions/jitic/Dockerfile delete mode 100644 actions/jitic/action.yml delete mode 100755 actions/jitic/docker-entrypoint.sh diff --git a/actions/jitic/Dockerfile b/actions/jitic/Dockerfile deleted file mode 100644 index c4daf9f..0000000 --- a/actions/jitic/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -FROM golang:latest -ARG jitic_version=v1.1.1 -ADD docker-entrypoint.sh /docker-entrypoint.sh -RUN go get github.com/andygrunwald/jitic && \ - go build github.com/andygrunwald/jitic -ENTRYPOINT ["/docker-entrypoint.sh"] diff --git a/actions/jitic/action.yml b/actions/jitic/action.yml deleted file mode 100644 index cf43998..0000000 --- a/actions/jitic/action.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: 'jitic - JIRA Ticket Checker' -description: 'Checks the existence of one or more issues in the JIRA issue tracker. If the issue exists we will shutdown with exit code 0. Otherwise with 1.' -inputs: - url: - description: 'JIRA instance URL (format: scheme://[username[:password]@]host[:port]/).' - required: false - default: https://jira.logitech.com/ - issues: - description: Message to retrieve the issues from. - required: true - user: - description: JIRA Username. - required: true - pass: - description: JIRA Password. - required: true -runs: - using: 'docker' - image: 'Dockerfile' - args: - - jitic - - -url - - '${{ inputs.url }}' - - -user - - '${{ inputs.user }}' - - -pass - - '${{ inputs.pass }}' - - -issues - - '${{ inputs.issues }}' diff --git a/actions/jitic/docker-entrypoint.sh b/actions/jitic/docker-entrypoint.sh deleted file mode 100755 index 5366388..0000000 --- a/actions/jitic/docker-entrypoint.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -if [ "$1" = 'jitic' ]; then - shift - /go/jitic "$@" - exit_code=$? - [ $exit_code -eq 1 ] && echo "Jira issue does not exists" - exit $exit_code -else - exec "$@" -fi