Giter Club home page Giter Club logo

ci's People

Watchers

 avatar  avatar  avatar  avatar

ci's Issues

Use of import file in zip format in reportportal.io

I used the import functionality to importing a zip file. That zip file contains test cases, reportportal.properties file, drivers, pom.xml file and also a testNg.xml file but i didn't get any update can anyone suggest me or explain me how to use this import functionality in reportportal.io

The Jenkins environment's used disk space increases too much

The current fix is to only keep the last 5 builds for every job (in the jenkins views as well as on disk). That might not be sufficient. That needs to be in observation.

  • schedule a cron job that makes a docker system prune -a once a week or so

The Jenkins environment needs to be secured

We need to protect the environment with https protocol. This needs to happen in our manifest.

  • enable https

  • secure environment

    • enable security headers
      • enable HSTS
      • X-FrameOptions
      • X-XSS-Protection
      • Referrer-Policy
      • X-Content-Type-Options
      • Content-Security-Policy
      • Feature-Policy
    • redirect from http to https
    • setup a secure ssl cipher suite
    • only enable tls1.2 and tls1.3
    • setup the dhparams
    • make the jenkins session cookie secure
    • make the jenkins session cookie httponly
    • make the jenkins session cookie SameSite=strict
  • enable IPv4

  • bind ssl

  • close from outside world; browsing the jenkins environment with port 8080 should not work; browsing that address should only be allowed from the nginx node

  • clarify letsencrypt. Our current "integration" seems to use some fake/dummy certificate from let's encrypt (LE). Ideally we need our automatic process to get a valid certificate and setup the configuration as part of our jps flow, if that's not possible we need to re-evaluate how we want to proceed

  • organize automatic ssl certificate renewal with certbot

Environment deletion not working

At the end of the e2e tests, we perform Jelastic environment deletion. The API call to do that does not seem to be working. Ticket 9050 is open on our Jelastic provider.

Organize automatic update of hasura client

Currently, the ci environment is installed with hasura client v1.0.0-beta.9. We need to e.g. execute a cron job that updates that client automatically every week or so.

Add job to create production consumer frontend docker image

We need a parameterized jenkins pipeline that

  1. allows to select a tag of the consumer-frontend repo
  2. builds a docker image with the consumer-frontend software installed (only the built software is necessary, i.e. the contents of the dist folder obtained after quasar build)
  3. publishes the docker image to our docker hub account

The image is then deployed as part of our production manifest (cf. https://github.com/shopozor/consumer-frontend/issues/10).

docker login doesn't work anymore

Upon docker login -u *** -p *** in our Jenkins pipeline, we get the following error

Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

This is curious because it worked fine until yesterday. Even a ping to the docker registry url fails. However, it works fine on my development laptop.

The work-around will be that we will self-host our docker registry to avoid that kind of problems.

Add job to create production management frontend docker image

We need a parameterized jenkins pipeline that

  1. allows to select a tag of the management-frontend repo
  2. builds a docker image with the management-frontend software installed (only the built software is necessary, i.e. the contents of the dist folder obtained after quasar build)
  3. publishes the docker image to our docker hub account

The image is then deployed as part of our production manifest (cf. https://github.com/shopozor/management-frontend/issues/21).

We have no control on the environment name length

Various tests on our CI/CD server showed that the environment name shopozor-management-frontend-e2e prevents it from running the e2e tests, i.e. it is not possible to install the e2e manifest even though the installation manifest was successfully installed.

One way to prevent that problem from happening would be to set a maximal length for the frontend environment names in the shopozor ci manifest's settings section. That functionality is, however, not supported yet (ticket 12056).

Test databases need be named differently

Currently, the acceptance test database is called test_saleor. If two instances of the acceptance tests pipeline are running concurrently, then the tests will fail because the test database will be attempted to be deleted. We need to fix that. The current work-around is to wait until the acceptance tests are finished before updating a PR or running a new instance of the test pipeline. The same holds true for the unit tests pipeline.

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.