Compare commits
3 commits
fbbb5b129a
...
7f75d2b2c1
Author | SHA1 | Date | |
---|---|---|---|
7f75d2b2c1 | |||
b74e0e47d5 | |||
e71fd62bf3 |
4 changed files with 45 additions and 0 deletions
|
@ -5,3 +5,6 @@ indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.yaml]
|
||||||
|
indent_size = 2
|
13
.woodpecker/build.yaml
Normal file
13
.woodpecker/build.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
platforms: linux/amd64
|
||||||
|
repo: stawros/allure
|
||||||
|
registry: hattori.ztsh.eu
|
||||||
|
tags: ${CI_COMMIT_TAG}
|
||||||
|
username: stawros
|
||||||
|
password:
|
||||||
|
from_secret: hattori_pat
|
||||||
|
when:
|
||||||
|
- event: tag
|
27
Dockerfile
Normal file
27
Dockerfile
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
#The MIT License (MIT)
|
||||||
|
#Copyright 2020-2023 Anton Aftakhov
|
||||||
|
|
||||||
|
FROM openjdk:8-jre-alpine
|
||||||
|
|
||||||
|
ARG RELEASE=2.27.0
|
||||||
|
ARG ALLURE_REPO=https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline
|
||||||
|
|
||||||
|
RUN echo "$RELEASE" && \
|
||||||
|
apk update && \
|
||||||
|
apk add --no-cache bash wget unzip && \
|
||||||
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
RUN wget --no-verbose -O /tmp/allure-"$RELEASE".tgz "$ALLURE_REPO"/"$RELEASE"/allure-commandline-"$RELEASE".tgz && \
|
||||||
|
tar -xf /tmp/allure-"$RELEASE".tgz && \
|
||||||
|
rm -rf /tmp/* && \
|
||||||
|
chmod -R +x /allure-"$RELEASE"/bin
|
||||||
|
|
||||||
|
ENV ROOT=/app \
|
||||||
|
PATH=$PATH:/allure-$RELEASE/bin
|
||||||
|
|
||||||
|
RUN mkdir -p "$ROOT"
|
||||||
|
|
||||||
|
WORKDIR $ROOT
|
||||||
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
ENTRYPOINT ["/entrypoint.sh"]
|
2
entrypoint.sh
Normal file
2
entrypoint.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
ls -alh
|
||||||
|
allure --version
|
Loading…
Add table
Add a link
Reference in a new issue