-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (37 loc) · 1.15 KB
/
generate-index.yaml
File metadata and controls
41 lines (37 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Hive - Generate Results Index
on:
schedule:
- cron: '0 */3 * * *' # Every 3 hours
workflow_dispatch:
inputs:
s3-bucket:
description: 'S3 bucket to use'
required: false
default: 'hive-results'
type: string
s3-path:
description: 'Path to the reports in S3 bucket'
required: false
default: 'generic'
type: string
env:
INSTALL_RCLONE_VERSION: v1.68.2
jobs:
generate-index:
runs-on: self-hosted-ghr-size-ccx33-x64
concurrency:
group: "generate-index-${{ inputs.s3-bucket || 'hive-results' }}-${{ inputs.s3-path || 'generic' }}"
cancel-in-progress: true
steps:
- name: Run Index Generator
uses: ethpandaops/hive-github-action@master # v0.6.0-unreleased
with:
skip_tests: true
s3_upload: true
s3_bucket: ${{ inputs.s3-bucket || 'hive-results' }}
s3_path: ${{ inputs.s3-path || 'generic' }}
rclone_config: ${{ secrets.HIVE_RCLONE_CONFIG }}
rclone_version: ${{ env.INSTALL_RCLONE_VERSION }}
website_upload: false
website_listing_limit: '3000'
website_index_generation: true