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

Do index updates via GitHub actions #24

Merged
merged 6 commits into from
Dec 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/update-index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Update Index

# Only allow one workflow run per branch at a time.
# When one is already running, new runs will be pending.
# https://github.blog/changelog/2021-04-19-github-actions-limit-workflow-run-or-job-concurrency/
concurrency:
group: index-update-${{ github.ref }}
# Do not use cancel-in-progress! Or we might create a scenario where all workflows get canceled before they complete.

on:
# every 5 minutes. Increase time if workflows are overlapping.
schedule:
- cron: '*/5 * * * *'
# manual rebuilds by TSC members
workflow_dispatch:

jobs:
update_index:
name: 'Update Index'
uses: StackStorm-Exchange/ci/.github/workflows/index-update.yaml@master
16 changes: 16 additions & 0 deletions v1/exclude_packs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Any packs in this file are excluded from the index.
#
# Each line is a pack name and should be part of the pack's repo name:
# StackStorm-Exchange/stackstorm-<pack name here>
# So, the "foo_bar" pack would be in this repo:
# StackStorm-Exchange/stackstorm-foo_bar
#
# Comment lines begin with "#"

# utility packs
test
test2
test-content-version

# These packs are NOT excluded. CI uses them to test using the index.
#python3_test