Skip to content

Commit

Permalink
e2e-test
Browse files Browse the repository at this point in the history
Signed-off-by: Raghavendra Talur <[email protected]>
  • Loading branch information
raghavendra-talur committed Dec 14, 2023
1 parent b8bedb9 commit 4030c3a
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/e2e.yaml
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

View workflow job for this annotation

GitHub Actions / Linters

46:104 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 46 in .github/workflows/e2e.yaml

View workflow job for this annotation

GitHub Actions / Linters

46:104 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 46 in .github/workflows/e2e.yaml

View workflow job for this annotation

GitHub Actions / Linters

46:104 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 46 in .github/workflows/e2e.yaml

View workflow job for this annotation

GitHub Actions / Linters

46:104 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 46 in .github/workflows/e2e.yaml

View workflow job for this annotation

GitHub Actions / Linters

46:104 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 46 in .github/workflows/e2e.yaml

View workflow job for this annotation

GitHub Actions / Linters

46:104 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 46 in .github/workflows/e2e.yaml

View workflow job for this annotation

GitHub Actions / Linters

46:104 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit 4030c3a

Please sign in to comment.