Skip to content

Commit d1f3e0b

Browse files
authored
Merge pull request #2 from WyriHaximusNet/add-ci
Add CI
2 parents beb7a02 + 97f647d commit d1f3e0b

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @WyriHaximus

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: WyriHaximus

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Continuous Integration
2+
env:
3+
DOCKER_IMAGE: wyrihaximusnet/kubernetes-redis-db-asignment-operator
4+
DOCKER_BUILDKIT: 1
5+
on:
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
jobs:
11+
lint:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Lint Dockerfile
18+
uses: docker://hadolint/hadolint:latest-debian
19+
with:
20+
entrypoint: hadolint
21+
args: Dockerfile
22+
build:
23+
needs:
24+
- lint
25+
runs-on: ubuntu-latest
26+
strategy:
27+
fail-fast: false
28+
steps:
29+
- uses: actions/checkout@v2
30+
- run: docker build . -t "${DOCKER_IMAGE}:ci-latest"
31+
- run: docker images

.hadolint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ignored:
2+
- DL3018 # Pin versions in apk add - See: https://github.com/hadolint/hadolint/wiki/DL3018
3+
- DL3020 # We're copying the scripts for this operator to work

0 commit comments

Comments
 (0)