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

Add stage-app-pull-request workflow and drop-staging workflow #396

Merged
merged 12 commits into from
Aug 13, 2023

Conversation

tomoya0x00
Copy link
Contributor

@tomoya0x00 tomoya0x00 commented Aug 9, 2023

Issue

Overview (Required)

In this PR, I added the stage-app-pull-request workflow and the drop-staging workflow.

The original versions are below:

The stage-app-pull-request workflow will be run after Build workflow is succeeded. Also, the trigger for that workflow must be a PR.

The stage-app-pull-request workflow does the following:

  • Upload an apk that is built in the trigger Build workflow to DeployGate

    • like this:
      image
  • Create a DeployGate distribution page for each PR branch

    • like this:
      image
  • Commit a DeployGate distribution page URL as a deployed URL to a PR

    • like this:
      image
  • Update distribution apk in a DeployGate distribution page if the page has already existed

The drop-staging workflow does the following:

  • DeleteDeployGate a distribution page when an associated PR is closed

@github-actions
Copy link

github-actions bot commented Aug 9, 2023

Test Results

26 tests   26 ✔️  3m 49s ⏱️
  7 suites    0 💤
  7 files      0

Results for commit 0c2ae34.

♻️ This comment has been updated with latest results.

@tomoya0x00 tomoya0x00 marked this pull request as ready for review August 9, 2023 14:25
@tomoya0x00 tomoya0x00 marked this pull request as draft August 9, 2023 14:25
@tomoya0x00 tomoya0x00 changed the title Add stage-app-pull-request workflow and drop-staging workflow [WIP] Add stage-app-pull-request workflow and drop-staging workflow Aug 9, 2023
@github-actions github-actions bot temporarily deployed to deploygate-distribution August 9, 2023 15:08 Inactive
@github-actions github-actions bot temporarily deployed to deploygate-distribution August 9, 2023 16:16 Inactive
@github-actions github-actions bot temporarily deployed to deploygate-distribution August 9, 2023 16:19 Inactive
@github-actions github-actions bot temporarily deployed to deploygate-distribution August 9, 2023 16:24 Inactive
@github-actions github-actions bot temporarily deployed to deploygate-distribution August 9, 2023 16:27 Inactive
@tomoya0x00 tomoya0x00 changed the title [WIP] Add stage-app-pull-request workflow and drop-staging workflow Add stage-app-pull-request workflow and drop-staging workflow Aug 12, 2023
@tomoya0x00 tomoya0x00 marked this pull request as ready for review August 12, 2023 15:27
@tomoya0x00 tomoya0x00 requested a review from takahirom August 12, 2023 15:27
Copy link
Member

@takahirom takahirom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@tomoya0x00 tomoya0x00 merged commit 49dd887 into main Aug 13, 2023
@tomoya0x00 tomoya0x00 deleted the tomoya0x00/add_stage_pr_workflow branch August 13, 2023 12:11
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.

[Build] Deploy apk by using DeployGate or something
2 participants