forked from RamenDR/ramen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Raghavendra Talur <[email protected]>
- Loading branch information
1 parent
b8bedb9
commit 4030c3a
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# SPDX-FileCopyrightText: The RamenDR authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
--- | ||
# yamllint disable rule:line-length | ||
|
||
name: E2E | ||
|
||
# This workflow will run when developer push a topic branch to their | ||
# fork in github, minimizing noise for maintainers. This | ||
# workflow also runs on nightly basis at 12:00 AM (00:00 UTC) | ||
|
||
on: # yamllint disable-line rule:truthy | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
env: | ||
# Values can be overriden by repository variables. | ||
IMAGE_TAG_BASE: ${{ vars.IMAGE_TAG_BASE || 'quay.io/ramendr/ramen' }} | ||
IMAGE_REPOSITORY: ${{ vars.IMAGE_REPOSITORY || 'ramendr' }} | ||
IMAGE_NAME: ${{ vars.IMAGE_NAME || 'ramen' }} | ||
OPERATOR_SUGGESTED_NAMESPACE: ${{ vars.OPERATOR_SUGGESTED_NAMESPACE || 'ramen-system' }} | ||
# Constants | ||
GO_VERSION: "1.19" | ||
IMAGE_REGISTRY: "quay.io" | ||
IMAGE_TAG: "ci" | ||
DOCKERCMD: "podman" | ||
DRIVER: "container" | ||
defaults: | ||
run: | ||
shell: bash | ||
jobs: | ||
e2e-test: | ||
name: e2e tests | ||
runs-on: self-hosted | ||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build image | ||
run: make docker-build | ||
|
||
- name: Export image | ||
run: ${{env.DOCKERCMD}} save -o /tmp/ramen-operator.tar ${IMAGE_TAG_BASE}-operator:${IMAGE_TAG} | ||
Check failure on line 46 in .github/workflows/e2e.yaml GitHub Actions / Linters
Check failure on line 46 in .github/workflows/e2e.yaml GitHub Actions / Linters
Check failure on line 46 in .github/workflows/e2e.yaml GitHub Actions / Linters
Check failure on line 46 in .github/workflows/e2e.yaml GitHub Actions / Linters
Check failure on line 46 in .github/workflows/e2e.yaml GitHub Actions / Linters
Check failure on line 46 in .github/workflows/e2e.yaml GitHub Actions / Linters
|