e2e daily #18
This file contains 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
# SPDX-FileCopyrightText: The RamenDR authors | |
# SPDX-License-Identifier: Apache-2.0 | |
# yamllint disable rule:line-length | |
--- | |
name: e2e daily | |
on: | |
# Run every day on 03:00. | |
schedule: | |
- cron: '0 3 * * *' | |
# Allow manual run. | |
# (Actions -> E2E Daily -> Run workflow) | |
workflow_dispatch: | |
jobs: | |
refresh-cache: | |
runs-on: [self-hosted, e2e-rdr] | |
if: github.repository == 'RamenDR/ramen' | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Install drenv | |
run: pip install -e test | |
- name: Refresh cache | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 2 | |
retry_wait_seconds: 60 | |
max_attempts: 10 | |
command: | | |
cd test | |
drenv cache -v envs/regional-dr.yaml |