-
Notifications
You must be signed in to change notification settings - Fork 8
Add a milestone CLOSED validator #229
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
Open
rpappalax
wants to merge
26
commits into
master
Choose a base branch
from
rpapa-release-close
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
847f4b7
initial commit
rpappalax 84b8598
add polling workflow
rpappalax 40d6dfc
fix run handler
rpappalax ed00718
update preflight w/ new workflow
rpappalax 221f846
reset bugzilla
rpappalax 8d60b8f
refactor report_milestones mod
rpappalax 71dc41d
refactor report_milestones mod 2
rpappalax 656ec0b
refactor report_milestones mod 3
rpappalax 32966a5
refactor report_milestones mod 4
rpappalax 2693a32
refactor report_milestones mod 5
rpappalax a9794a0
refactor report_milestones mod 6
rpappalax 934e291
refactor report_milestones mod - fix errors
rpappalax 5ce7361
set dummy TR project
rpappalax a01d319
set dummy TR project 2
rpappalax 9599dc5
print DataFrame tmp
rpappalax acbc2a1
detect DataFrame tmp
rpappalax a24368f
detect DataFrame tmp2
rpappalax 0fed428
detect DataFrame tmp3
rpappalax 153a295
detect DataFrame tmp4
rpappalax 37c3721
detect DataFrame tmp5
rpappalax 30a956b
detect DataFrame tmp6
rpappalax 3c25100
detect DataFrame tmp7
rpappalax 6f124c3
detect DataFrame tmp8
rpappalax abb5370
detect DataFrame tmp9
rpappalax c7b9975
detect DataFrame tmp10
rpappalax 98a286c
detect DataFrame tmp11
rpappalax File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| name: Testops - TestRail Milestone CLOSED - polling | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: [ rpapa-release-close] | ||
| workflow_dispatch: | ||
| inputs: | ||
| branchName: | ||
| description: "rpapa branch" | ||
| required: true | ||
| default: "rpapa-release-close" | ||
|
|
||
| env: | ||
| CLOUD_SQL_DATABASE_NAME: preflight | ||
| CLOUD_SQL_DATABASE_USERNAME: ${{ secrets.CLOUD_SQL_DATABASE_USERNAME }} | ||
| CLOUD_SQL_DATABASE_PASSWORD: ${{ secrets.CLOUD_SQL_DATABASE_PASSWORD }} | ||
| CLOUD_SQL_DATABASE_PORT: ${{ secrets.CLOUD_SQL_DATABASE_PORT }} | ||
| TESTRAIL_HOST: ${{ secrets.TESTRAIL_HOST }} | ||
| TESTRAIL_USERNAME: ${{ secrets.TESTRAIL_USERNAME }} | ||
| TESTRAIL_PASSWORD: ${{ secrets.TESTRAIL_PASSWORD }} | ||
| ATLASSIAN_API_TOKEN: ${{ secrets.ATLASSIAN_API_TOKEN }} | ||
| ATLASSIAN_HOST: ${{ secrets.ATLASSIAN_HOST }} | ||
| ATLASSIAN_USERNAME: ${{ secrets.ATLASSIAN_USERNAME }} | ||
| JIRA_HOST: ${{ secrets.JIRA_HOST }} | ||
| JIRA_USER: ${{ secrets.JIRA_USER }} | ||
| JIRA_PASSWORD: ${{ secrets.JIRA_PASSWORD }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| BUGZILLA_API_KEY: ${{ secrets.BUGZILLA_API_KEY }} | ||
| BITRISE_HOST: ${{ secrets.BITRISE_HOST }} | ||
| BITRISE_APP_SLUG: ${{ secrets.BITRISE_APP_SLUG }} | ||
| BITRISE_TOKEN: ${{ secrets.BITRISE_TOKEN }} | ||
| SENTRY_HOST: ${{ secrets.SENTRY_HOST }} | ||
| SENTRY_API_TOKEN: ${{ secrets.SENTRY_API_TOKEN_CSO }} | ||
| SENTRY_ORGANIZATION_SLUG: ${{ secrets.SENTRY_ORGANIZATION_SLUG }} | ||
| SENTRY_IOS_PROJECT_ID: ${{ secrets.SENTRY_IOS_PROJECT_ID }} | ||
| SENTRY_FENIX_PROJECT_ID: ${{ secrets.SENTRY_FENIX_PROJECT_ID }} | ||
| SENTRY_FENIX_BETA_PROJECT_ID: ${{ secrets.SENTRY_FENIX_BETA_PROJECT_ID }} | ||
|
|
||
| jobs: | ||
| reports: | ||
| name: Run reports (${{ matrix.name }}) | ||
| runs-on: ubuntu-latest | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| max-parallel: 6 | ||
| matrix: | ||
| include: | ||
| - name: Mobile Testrail Milestones CLOSED | ||
| args: --platform mobile --project ALL --report-type testrail-milestones-closed | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.11" | ||
| cache: "pip" | ||
| cache-dependency-path: requirements.txt | ||
| - uses: mattes/gce-cloudsql-proxy-action@v1 | ||
| with: | ||
| creds: ${{ secrets.GCLOUD_AUTH }} | ||
| instance: ${{ secrets.CLOUD_SQL_CONNECTION_NAME }} | ||
| port: ${{ secrets.CLOUD_SQL_DATABASE_PORT }} | ||
| - run: pip install -r requirements.txt | ||
| - run: python ./__main__.py ${{ matrix.args }} | ||
|
|
||
| notify: | ||
| name: Slack notify | ||
| runs-on: ubuntu-latest | ||
| needs: [reports, sentry] | ||
| if: always() | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| - run: echo "JOB_LOG_URL=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> $GITHUB_ENV | ||
| - uses: slackapi/[email protected] | ||
| env: | ||
| WORKFLOW_NAME: ${{ github.workflow }} | ||
| BRANCH: ${{ github.head_ref || github.ref_name }} | ||
| JOB_STATUS: ${{ (needs.reports.result == 'success' && needs.sentry.result == 'success') && ':white_check_mark:' || ':x:' }} | ||
| JOB_STATUS_COLOR: ${{ (needs.reports.result == 'success' && needs.sentry.result == 'success') && '#36a64f' || '#FF0000' }} | ||
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_MOBILE_ALERTS_TOOLING }} | ||
| SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK | ||
| with: | ||
| webhook: ${{ secrets.SLACK_WEBHOOK_URL_MOBILE_ALERTS_TOOLING }} | ||
| webhook-type: webhook-trigger | ||
| payload-file-path: "./config/payload-slack-content.json" | ||
| payload-templated: true | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
introducing a new workflow environment:
demofor PRsOnce the PR has passed review, demo can change to either
stagingorproduction