Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger preview namespace #26

Merged
merged 2 commits into from
Jun 7, 2024
Merged

Trigger preview namespace #26

merged 2 commits into from
Jun 7, 2024

Conversation

aajimal
Copy link

@aajimal aajimal commented Jun 7, 2024

No description provided.

@aajimal aajimal added the preview label Jun 7, 2024
@aajimal aajimal added preview and removed preview labels Jun 7, 2024
@aajimal
Copy link
Author

aajimal commented Jun 7, 2024

image

Steps:

  1. Open a PR (draft or regular does not matter)
  2. Label the PR with 'preview'
  3. Wait a couple of minutes
  4. Observe that the following happens:
    1. A new namespace is created for the PR
    2. A new argocd app is created and deployed to the namespace

To ensure that the app (and cronjobs) are deleted you can do one of the following:

  • Close/Merge the PR
  • Remove the preview label from the PR

@aajimal aajimal marked this pull request as ready for review June 7, 2024 23:21
@aajimal aajimal merged commit 50f57dd into master Jun 7, 2024
9 checks passed
@aajimal aajimal deleted the test-preview branch June 7, 2024 23:22
@aajimal aajimal removed the preview label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant