-
Notifications
You must be signed in to change notification settings - Fork 7
Ecse #1192
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
liangyingz
wants to merge
11
commits into
master
Choose a base branch
from
ecse
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
Ecse #1192
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
97d3900
ecse event
liangyingz f80e119
remove HQTW
liangyingz 4dcad87
not update l0_latest table for ecse event
liangyingz f4d1cd9
pipeline list
liangyingz acc4421
Potential fix for pull request finding 'CodeQL / Workflow does not co…
liangyingz 4f806e5
Potential fix for pull request finding 'CodeQL / Workflow does not co…
liangyingz a50aa97
Potential fix for pull request finding 'CodeQL / Workflow does not co…
liangyingz 5d8b3d6
Potential fix for pull request finding 'CodeQL / Workflow does not co…
liangyingz 7df56e4
Potential fix for pull request finding 'CodeQL / Workflow does not co…
liangyingz 2dcef0b
Potential fix for pull request finding 'CodeQL / Workflow does not co…
liangyingz 723fd49
Potential fix for pull request finding 'CodeQL / Workflow does not co…
liangyingz 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,47 @@ | ||
| name: CERT-cert-site-list | ||
| on: | ||
| push: | ||
| branches: | ||
| - 'cert' | ||
| paths: | ||
| - 'pipe/ecse/site-list.json' | ||
| workflow_dispatch: {} # Allows trigger of workflow from web interface | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # Workflow-level concurrency | ||
| concurrency: | ||
| group: ${{ | ||
| contains(github.workflow, 'update-dag') || | ||
| contains(github.workflow, 'site-list') && 'operations-queue' | ||
| || github.workflow | ||
| }} | ||
| cancel-in-progress: false # Queue them up, don't cancel | ||
|
|
||
| jobs: | ||
| put_files: | ||
| runs-on: arc-neon-gke | ||
| #runs-on: ubuntu-latest | ||
| env: | ||
| PACHD_ADDRESS: grpcs://pachyderm-cert.transitions-nonprod.gcp.neoninternal.org:443 | ||
| PACH_TOKEN: ${{ secrets.RepoOwnerPachydermCert }} | ||
| REPO: ecse_site_list # Pachyderm repo | ||
| BRANCH: master | ||
| IN_PATHS: 'pipe/ecse/site-list.json' # Comma-separated list (no spaces) to one or more paths or directories. Length must match OUT_PATHS. If directory, all files in directory will be placed in pachyderm at corresponding entry of OUT_PATHS. | ||
| OUT_PATHS: 'site-list.json' # Comma-separated list (no spaces) of corresponding path(s) to place the files(s) in Pachyderm. Must be same length as IN_PATHS. If corresponding entry in IN_PATHS is a file, specify to the file. If corresponding entry in IN_PATHS is a directory, specify to the directory. | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - run: ls -la | ||
|
|
||
| - name: Put file | ||
| uses: ./.github/actions/put-files | ||
| with: | ||
| pachd_address: ${{ env.PACHD_ADDRESS }} | ||
| pach_token: ${{ env.PACH_TOKEN }} | ||
| repo_name: ${{ env.REPO }} | ||
| branch_name: ${{ env.BRANCH }} | ||
| in_paths: ${{ env.IN_PATHS }} | ||
| out_paths: ${{ env.OUT_PATHS }} | ||
|
|
||
|
|
||
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,73 @@ | ||
| name: CERT-ecse-update-dag | ||
| on: | ||
| push: | ||
| branches: | ||
| - 'none' | ||
| paths: | ||
| - 'pipe/ecse/*.yaml' | ||
| - 'pipe/ecse/pipe_list_ecse.txt' | ||
| workflow_dispatch: {} # Allows trigger of workflow from web interface | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # Workflow-level concurrency | ||
| concurrency: | ||
| group: ${{ | ||
| contains(github.workflow, 'update-dag') || | ||
| contains(github.workflow, 'site-list') && 'operations-queue' | ||
| || github.workflow | ||
| }} | ||
| cancel-in-progress: false # Queue them up, don't cancel | ||
|
|
||
| jobs: | ||
| # ------------------------------------------------------------- | ||
| # Using GitHub's API is not supported for push events | ||
| # ------------------------------------------------------------- | ||
| # | ||
| # ---------------------------------------------------------------------------------------------- | ||
| # Using local .git history | ||
| # ---------------------------------------------------------------------------------------------- | ||
| # Event `push`: Compare the preceding remote commit -> to the current commit of the main branch | ||
| # ---------------------------------------------------------------------------------------------- | ||
|
|
||
| changed_files: | ||
| runs-on: ubuntu-latest # windows-latest || macos-latest | ||
| outputs: | ||
| # Use this changed_file_list if you plan to use get-changed-files-action | ||
| changed_file_list: ${{ steps.changed-files-action.outputs.changed_file_list }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 # OR "2" -> To retrieve the preceding commit. | ||
|
|
||
| # Using get-changed-files-action | ||
| - name: Get changed files action | ||
| id: changed-files-action | ||
| uses: ./.github/actions/get-changed-files | ||
|
|
||
| update_pipelines: | ||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| needs: changed_files | ||
| runs-on: arc-neon-gke | ||
| #runs-on: ubuntu-latest | ||
| env: | ||
| PACHD_ADDRESS: grpcs://pachyderm-cert.transitions-nonprod.gcp.neoninternal.org:443 | ||
| PACH_TOKEN: ${{ secrets.RepoOwnerPachydermCert }} | ||
| PATHS: 'pipe/ecse=pipe_list_ecse.txt' # Format: '<directory>=<pipe_list_file>'. Separate multiple with comma (e.g. 'pipe/pqs1=pipe_list_pqs1.txt,pipe/parWaterSurface=pipe_list_parWaterSurface.txt'). Order matters. | ||
| TRANSACTION: True | ||
| UPDATE_SCOPE: changed # 'all' or 'changed'. If not specified, all will be updated. 'changed' will update/create any changed/non-existent pipelines. | ||
| CHANGED_FILES: ${{needs.changed_files.outputs.changed_file_list}} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - run: ls -la | ||
|
|
||
| - name: Update pipelines | ||
| uses: ./.github/actions/update-pipelines | ||
| with: | ||
| pachd_address: ${{ env.PACHD_ADDRESS }} | ||
| pach_token: ${{ env.PACH_TOKEN }} | ||
| paths: ${{ env.PATHS }} | ||
| transaction: ${{ env.TRANSACTION }} | ||
| update_scope: ${{ env.UPDATE_SCOPE }} | ||
| changed_files: ${{ env.CHANGED_FILES }} | ||
|
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
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,47 @@ | ||
| name: DEV-ecse-site-list | ||
| on: | ||
| push: | ||
| branches: | ||
| - 'master' | ||
| paths: | ||
| - 'pipe/ecse/site-list.json' | ||
| workflow_dispatch: {} # Allows trigger of workflow from web interface | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # Workflow-level concurrency | ||
| concurrency: | ||
| group: ${{ | ||
| contains(github.workflow, 'update-dag') || | ||
| contains(github.workflow, 'site-list') && 'operations-queue' | ||
| || github.workflow | ||
| }} | ||
| cancel-in-progress: false # Queue them up, don't cancel | ||
|
|
||
| jobs: | ||
| put_files: | ||
| runs-on: arc-neon-gke | ||
| #runs-on: ubuntu-latest | ||
| env: | ||
| PACHD_ADDRESS: grpcs://pachyderm-dev.transitions-nonprod.gcp.neoninternal.org:443 | ||
| PACH_TOKEN: ${{ secrets.RepoOwnerPachydermDev }} | ||
| REPO: ecse_site_list # Pachyderm repo | ||
| BRANCH: master | ||
| IN_PATHS: 'pipe/ecse/site-list.json' # Comma-separated list (no spaces) to one or more paths or directories. Length must match OUT_PATHS. If directory, all files in directory will be placed in pachyderm at corresponding entry of OUT_PATHS. | ||
| OUT_PATHS: 'site-list.json' # Comma-separated list (no spaces) of corresponding path(s) to place the files(s) in Pachyderm. Must be same length as IN_PATHS. If corresponding entry in IN_PATHS is a file, specify to the file. If corresponding entry in IN_PATHS is a directory, specify to the directory. | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - run: ls -la | ||
|
|
||
| - name: Put file | ||
| uses: ./.github/actions/put-files | ||
| with: | ||
| pachd_address: ${{ env.PACHD_ADDRESS }} | ||
| pach_token: ${{ env.PACH_TOKEN }} | ||
| repo_name: ${{ env.REPO }} | ||
| branch_name: ${{ env.BRANCH }} | ||
| in_paths: ${{ env.IN_PATHS }} | ||
| out_paths: ${{ env.OUT_PATHS }} | ||
|
|
||
|
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
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,76 @@ | ||
| name: DEV-ecse-update-dag | ||
| on: | ||
| push: | ||
| branches: | ||
| - 'none' | ||
| paths: | ||
| - 'pipe/ecse/*.yaml' | ||
| - 'pipe/ecse/pipe_list_ecse.txt' | ||
| workflow_dispatch: {} # Allows trigger of workflow from web interface | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # Workflow-level concurrency | ||
| concurrency: | ||
| group: ${{ | ||
| contains(github.workflow, 'update-dag') || | ||
| contains(github.workflow, 'site-list') && 'operations-queue' | ||
| || github.workflow | ||
| }} | ||
| cancel-in-progress: false # Queue them up, don't cancel | ||
|
|
||
| jobs: | ||
| # ------------------------------------------------------------- | ||
| # Using GitHub's API is not supported for push events | ||
| # ------------------------------------------------------------- | ||
| # | ||
| # ---------------------------------------------------------------------------------------------- | ||
| # Using local .git history | ||
| # ---------------------------------------------------------------------------------------------- | ||
| # Event `push`: Compare the preceding remote commit -> to the current commit of the main branch | ||
| # ---------------------------------------------------------------------------------------------- | ||
|
|
||
| changed_files: | ||
| runs-on: ubuntu-latest # windows-latest || macos-latest | ||
| outputs: | ||
| # Use this changed_file_list if you plan to use get-changed-files-action | ||
| changed_file_list: ${{ steps.changed-files-action.outputs.changed_file_list }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 # OR "2" -> To retrieve the preceding commit. | ||
|
|
||
| # Using get-changed-files-action | ||
| - name: Get changed files action | ||
| id: changed-files-action | ||
| uses: ./.github/actions/get-changed-files | ||
|
|
||
| update_pipelines: | ||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| needs: changed_files | ||
| runs-on: arc-neon-gke | ||
| #runs-on: ubuntu-latest | ||
| env: | ||
| PACHD_ADDRESS: grpcs://pachyderm-dev.transitions-nonprod.gcp.neoninternal.org:443 | ||
| PACH_TOKEN: ${{ secrets.RepoOwnerPachydermDev }} | ||
| PATHS: 'pipe/ecse=pipe_list_ecse.txt' # Format: '<directory>=<pipe_list_file>'. Separate multiple with comma (e.g. 'pipe/pqs1=pipe_list_pqs1.txt,pipe/parWaterSurface=pipe_list_parWaterSurface.txt'). Order matters. | ||
| TRANSACTION: True | ||
| UPDATE_SCOPE: changed # 'all' or 'changed'. If not specified, all will be updated. 'changed' will update/create any changed/non-existent pipelines. | ||
| CHANGED_FILES: ${{needs.changed_files.outputs.changed_file_list}} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - run: ls -la | ||
|
|
||
| - name: Update pipelines | ||
| uses: ./.github/actions/update-pipelines | ||
| with: | ||
| pachd_address: ${{ env.PACHD_ADDRESS }} | ||
| pach_token: ${{ env.PACH_TOKEN }} | ||
| paths: ${{ env.PATHS }} | ||
| transaction: ${{ env.TRANSACTION }} | ||
| update_scope: ${{ env.UPDATE_SCOPE }} | ||
| changed_files: ${{ env.CHANGED_FILES }} | ||
|
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
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,47 @@ | ||
| name: PROD-ecse-site-list | ||
| on: | ||
| push: | ||
| branches: | ||
| - 'prod' | ||
| paths: | ||
| - 'pipe/ecse/site-list.json' | ||
| workflow_dispatch: {} # Allows trigger of workflow from web interface | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # Workflow-level concurrency | ||
| concurrency: | ||
| group: ${{ | ||
| contains(github.workflow, 'update-dag') || | ||
| contains(github.workflow, 'site-list') && 'operations-queue' | ||
| || github.workflow | ||
| }} | ||
| cancel-in-progress: false # Queue them up, don't cancel | ||
|
|
||
| jobs: | ||
| put_files: | ||
| runs-on: arc-neon-gke | ||
| #runs-on: ubuntu-latest | ||
| env: | ||
| PACHD_ADDRESS: grpcs://pachyderm-prod.transitions.gcp.neoninternal.org:443 | ||
| PACH_TOKEN: ${{ secrets.RepoOwnerPachydermProd }} | ||
| REPO: ecse_site_list # Pachyderm repo | ||
| BRANCH: master | ||
| IN_PATHS: 'pipe/ecse/site-list.json' # Comma-separated list (no spaces) to one or more paths or directories. Length must match OUT_PATHS. If directory, all files in directory will be placed in pachyderm at corresponding entry of OUT_PATHS. | ||
| OUT_PATHS: 'site-list.json' # Comma-separated list (no spaces) of corresponding path(s) to place the files(s) in Pachyderm. Must be same length as IN_PATHS. If corresponding entry in IN_PATHS is a file, specify to the file. If corresponding entry in IN_PATHS is a directory, specify to the directory. | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - run: ls -la | ||
|
|
||
| - name: Put file | ||
| uses: ./.github/actions/put-files | ||
| with: | ||
| pachd_address: ${{ env.PACHD_ADDRESS }} | ||
| pach_token: ${{ env.PACH_TOKEN }} | ||
| repo_name: ${{ env.REPO }} | ||
| branch_name: ${{ env.BRANCH }} | ||
| in_paths: ${{ env.IN_PATHS }} | ||
| out_paths: ${{ env.OUT_PATHS }} | ||
|
|
||
|
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
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,73 @@ | ||
| name: PROD-ecse-update-dag | ||
| on: | ||
| push: | ||
| branches: | ||
| - 'prod' | ||
| paths: | ||
| - 'pipe/ecse/*.yaml' | ||
| - 'pipe/ecse/pipe_list_ecse.txt' | ||
| workflow_dispatch: {} # Allows trigger of workflow from web interface | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # Workflow-level concurrency | ||
| concurrency: | ||
| group: ${{ | ||
| contains(github.workflow, 'update-dag') || | ||
| contains(github.workflow, 'site-list') && 'operations-queue' | ||
| || github.workflow | ||
| }} | ||
| cancel-in-progress: false # Queue them up, don't cancel | ||
|
|
||
| jobs: | ||
| # ------------------------------------------------------------- | ||
| # Using GitHub's API is not supported for push events | ||
| # ------------------------------------------------------------- | ||
| # | ||
| # ---------------------------------------------------------------------------------------------- | ||
| # Using local .git history | ||
| # ---------------------------------------------------------------------------------------------- | ||
| # Event `push`: Compare the preceding remote commit -> to the current commit of the main branch | ||
| # ---------------------------------------------------------------------------------------------- | ||
|
|
||
| changed_files: | ||
| runs-on: ubuntu-latest # windows-latest || macos-latest | ||
| outputs: | ||
| # Use this changed_file_list if you plan to use get-changed-files-action | ||
| changed_file_list: ${{ steps.changed-files-action.outputs.changed_file_list }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 # OR "2" -> To retrieve the preceding commit. | ||
|
|
||
| # Using get-changed-files-action | ||
| - name: Get changed files action | ||
| id: changed-files-action | ||
| uses: ./.github/actions/get-changed-files | ||
|
|
||
| update_pipelines: | ||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| needs: changed_files | ||
| runs-on: arc-neon-gke | ||
| #runs-on: ubuntu-latest | ||
| env: | ||
| PACHD_ADDRESS: grpcs://pachyderm-prod.transitions.gcp.neoninternal.org:443 | ||
| PACH_TOKEN: ${{ secrets.RepoOwnerPachydermProd }} | ||
| PATHS: 'pipe/ecse=pipe_list_ecse.txt' # Format: '<directory>=<pipe_list_file>'. Separate multiple with comma (e.g. 'pipe/pqs1=pipe_list_pqs1.txt,pipe/parWaterSurface=pipe_list_parWaterSurface.txt'). Order matters. | ||
| TRANSACTION: True | ||
| UPDATE_SCOPE: changed # 'all' or 'changed'. If not specified, all will be updated. 'changed' will update/create any changed/non-existent pipelines. | ||
| CHANGED_FILES: ${{needs.changed_files.outputs.changed_file_list}} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - run: ls -la | ||
|
|
||
| - name: Update pipelines | ||
| uses: ./.github/actions/update-pipelines | ||
| with: | ||
| pachd_address: ${{ env.PACHD_ADDRESS }} | ||
| pach_token: ${{ env.PACH_TOKEN }} | ||
| paths: ${{ env.PATHS }} | ||
| transaction: ${{ env.TRANSACTION }} | ||
| update_scope: ${{ env.UPDATE_SCOPE }} | ||
| changed_files: ${{ env.CHANGED_FILES }} | ||
|
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
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
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,2 @@ | ||
| ecse_cron_daily_and_date_control.yaml | ||
| ecse_event_data_source_kafka.yaml |
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.
Uh oh!
There was an error while loading. Please reload this page.