Giter Club home page Giter Club logo

preview-envs-action's People

Contributors

dependabot[bot] avatar johanneswuerbach avatar louisbennett avatar mathieu-benoit avatar noordsestern avatar rachfop avatar tobiasbabin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

preview-envs-action's Issues

Ability to create an Env without providing any image

When I do this:

- name: create preview environment
  uses: humanitec/preview-envs-action@v1
  with:
    humanitec-token: ${{ secrets.HUMANITEC_TOKEN }}
    humanitec-org: humanitec-labs
    humanitec-app: dev-docs
    action: create
    github-token: ${{ secrets.GITHUB_TOKEN }}

I got this error:

Created environment: dev-ephemeral-envs, https://app.humanitec.io/orgs/***/apps/onlineboutique/envs/dev-ephemeral-envs
Created auto-deployment rule for refs/heads/ephemeral-envs and image registry.humanitec.io/***/hello-humanitec
Error: Action failed
Error: HttpError Resource not accessible by integration

I think it would be ideal to provide the option to just create a new Env for an App without providing any image. Think about subsequent tasks to deploy Score, etc.

Does that make sense?

Ability to comment the PR with some information about the Env, Apps, DNS, etc.

It would be great if we could have a dedicated action that we could use to comment the PR with insightful information like:

  • View in Humanitec - link to the
  • EnvId
  • List and links of all the DNS of the App deployed
  • Deployment Diff/Output
  • ...

This is a typically workflow with PR for testing feature branch, especially with new/ephemeral envs.

Something around these lines (credit to @williamoverton for that!), see attached.
image

Kind of different from create and notify, why not comment, comment-summary or `get-summary?

This action could/should wait for the in-progress Deployment.

Kind of what is done in there: https://github.com/Humanitec-DemoOrg/ephemeral-env-demo/blob/main/.github/workflows/pull_request.yaml.

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.