Vibhu Pandey 7460e650af
feat(workflow): integrate with workflow identity pool (#4945)
* feat(workflows): add wif workflow
* feat(workflows): add name of compute instance
* feat(workflows): fix permissions
* feat(workflows):  add an OR true since github runs with -e
* ci(testing-deployment): include GITHUB envs
* ci(testing-deployment): move GCP information to secrets
* ci(staging-deployment): wif workflow

---------

Co-authored-by: Prashant Shahi <prashant@signoz.io>
2024-05-10 23:23:31 +05:30
..
2022-06-14 20:50:13 +05:30
2022-01-08 12:44:14 +05:30

Github actions

Testing the UI manually on each PR

First we need to make sure the UI is ready

  • Check the Start tunnel step in e2e-k8s/deploy-on-k3s-cluster job and make sure you see your url is: https://pull-<number>-signoz.loca.lt
  • This job will run until the PR is merged or closed to keep the local tunneling alive
    • github will cancel this job if the PR wasn't merged after 6h
    • if the job was cancel, go to the action and press Re-run all jobs

Now you can open your browser at https://pull--signoz.loca.lt and check the UI.

Environment Variables

To run GitHub workflow, a few environment variables needs to add in GitHub secrets

Variables Description Example
REPONAME Provide the DockerHub user/organisation name of the image. signoz
DOCKERHUB_USERNAME Docker hub username signoz
DOCKERHUB_TOKEN Docker hub password/token with push permission ****
SONAR_TOKEN SonarCloud token ****