Giter Site home page Giter Site logo

fescobar / allure-docker-service-examples Goto Github PK

View Code? Open in Web Editor NEW
59.0 2.0 70.0 3.17 MB

Repository to share examples about Allure Docker Service & Allure Docker Service UI

Gherkin 9.54% C# 17.24% Java 37.28% Shell 4.74% JavaScript 8.36% TypeScript 9.59% Python 13.24%
allure allure-docker-service allure-docker-service-ui report reporting-tool testing testing-tools automation kubernetes docker

allure-docker-service-examples's People

Contributors

fescobar avatar skymoore avatar unickq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

allure-docker-service-examples's Issues

Allure-Docker-Service-UI ERR_ABORTED 404

Hi @fescobar ,

I deployed allure-docker-service according to the documentation. I can able to access Allure Docker Service API (Swagger UI) from browser but I could not able to access the UI of https://xxx/allure-ui/allure-docker-service-ui/ although curl response is 200 as below.

I will be appreciate if you can help how can I access the UI of allure.

Here is the chrome console output when I try to access docker-service-ui
GET https://xxx/env-config.js net::ERR_ABORTED 404 (Not Found)

Here is ingress configuration.

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: allure-ingress-service-load-balancer
  namespace: allure-docker-service
  annotations:
    kubernetes.io/ingress.class: traefik
    traefik.ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
    - host: xxxx
      http:
        paths:
          - path: /allure-api
            backend:
              serviceName: allure-service-load-balancer
              servicePort: 6060
          - path: /allure-ui
            backend:
              serviceName: allure-service-load-balancer
              servicePort: 7070

here are the pod logs

capel0068340585:~ semural$ kubectl logs -f allure-deployment-66ccc46d94-9xjwh -n allure-docker-service -c allure
ALLURE_VERSION: 2.13.5
Not checking results automatically
Opening existing report
[INFO] /app/allure-docker-api/app.py:132 Setting URL_PREFIX=/allure-api
[INFO] /app/allure-docker-api/app.py:140 Setting SECURITY_USER
[INFO] /app/allure-docker-api/app.py:146 Setting SECURITY_PASS
[INFO] /app/allure-docker-api/app.py:156 Setting SECURITY_ENABLED=0 by default
2020-10-04 11:18:14.496:INFO::main: Logging initialized @368ms to org.eclipse.jetty.util.log.StdErrLog
 kubectl logs -f allure-deployment-66ccc46d94-9xjwh -n allure-docker-service -c allure-ui
ALLURE_DOCKER_API_URL=https://xxx/allure-api/allure-docker-service
ROUTER_BASE_NAME=/allure-ui/allure-docker-service-ui
Here is the curl response

capel0068340585:~ semural$ curl https://xxx/allure-ui/allure-docker-service-ui -ik
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: public, max-age=0
Content-Length: 2055
Content-Type: text/html; charset=UTF-8
Date: Sun, 04 Oct 2020 13:42:12 GMT
Etag: W/"807-17449812ec8"
Last-Modified: Tue, 01 Sep 2020 11:50:37 GMT
Vary: Accept-Encoding
X-Powered-By: Express

<!doctype html><html lang="en"><head><base href="/"/><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="shortcut icon" href="./favicon.ico"><title>Allure Docker Service UI</title><script src="./env-config.js"></script><link href="./static/css/main.2eaee7e6.chunk.css" rel="stylesheet"></head><body><div id="root"></div><script>!function(e){function r(r){for(var n,l,i=r[0],a=r[1],c=r[2],p=0,s=[];p<i.length;p++)l=i[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,c||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var a=t[i];0!==o[a]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="./";var i=this["webpackJsonpallure-docker-service-ui"]=this["webpackJsonpallure-docker-service-ui"]||[],a=i.push.bind(i);i.push=r,i=i.slice();for(var c=0;c<i.length;c++)r(i[c]);var f=a;t()}([])</script><script src="./static/js/2.305ecc37.chunk.js"></script><script src="./static/js/main.9d828d2f.chunk.js"></script></body></html>capel0068340585:~ semural$

Unable to access allure ui - Openshift deployment

Hi,

I'm not able to access allure ui after deploying it to Openshift. I have created a route to access the pod and also dont have any restricted scc on the namespace.

Error:- Cannot read properties of undefined (reading 'security_enabled')

How can I trigger a rebuild of emailable-report-allure-docker-service.html?

Hi I'm trying to trigger a rebuild of emailable-report-allure-docker-service.html, I generate reports from multiple locations and I need to inject those reports into the allure-reports structure by doing the following:

  1. create a new folder in the allure-reports directory and dump in the externally generated report
  2. I overwrite the contents of the latest to make my external report the latest

All the above works fine except the emailable-report-allure-docker-service.html content still points to the previous latest, is there a script or another method to trigger a rebuild of the emailable report to pick up the latest changes?

Thanks
Donagh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.