Skip to content

Commit

Permalink
Merge pull request #165 from red-hat-storage/sync_us--main
Browse files Browse the repository at this point in the history
Syncing latest changes from upstream main for ramen
  • Loading branch information
ShyamsundarR authored Dec 21, 2023
2 parents 0289d8c + 3f6f4a8 commit 7b0a91c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
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

0 comments on commit 7b0a91c

Please sign in to comment.