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

Syncing latest changes from upstream main for ramen #165

Merged
merged 2 commits into from
Dec 21, 2023
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
23 changes: 23 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: The RamenDR authors
# SPDX-License-Identifier: Apache-2.0

---
# yamllint disable rule:line-length
name: E2E

on: # yamllint disable-line rule:truthy
pull_request:
types: [opened, synchronize, reopened]

jobs:
e2e-rdr:
runs-on: [self-hosted, e2e-rdr]
if: github.repository == 'RamenDR/ramen' && contains(fromJson('["nirs", "ShyamsundarR", "BenamarMk", "raghavendra-talur", "rakeshgm", "ELENAGER", "netzzer", "kseegerrh"]'), github.actor)

steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Run make target e2e-rdr
run: |
make e2e-rdr
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

# Build the manager binary
FROM golang:1.19.1 as builder
FROM docker.io/library/golang:1.19.1 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ test-drenv:
test-ramenctl:
$(MAKE) -C ramenctl

e2e-rdr: generate manifests docker-build
./e2e/rdr-e2e.sh

##@ Build

# Build manager binary
Expand Down
4 changes: 4 additions & 0 deletions e2e/rdr-e2e.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

echo "Test ran successfully"
exit 0