Skip to content

Commit 69c773f

Browse files
committed
ci: add build and tests github workflows
1 parent d45bade commit 69c773f

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ on:
5353
workflow_dispatch:
5454

5555
permissions:
56+
packages: write
5657
contents: write
5758

5859
# https://docs.github.com/en/actions/using-jobs/using-concurrency
@@ -67,7 +68,22 @@ defaults:
6768

6869
jobs:
6970

70-
ci:
71-
name: ci
72-
uses: okdp/gh-workflows/.github/workflows/helm-lint-template.yml@v1
71+
run_tests:
72+
name: run tests
73+
uses: okdp/gh-workflows/.github/workflows/makefile-run-template.yml@v1
74+
with:
75+
go_version: "1.23"
76+
command: "make test"
77+
78+
docker_test:
79+
name: docker test
80+
uses: okdp/gh-workflows/.github/workflows/docker-build-test-push-template.yml@v1
81+
with:
82+
path: "./"
83+
secrets: inherit
7384

85+
helm_lint:
86+
name: helm lint
87+
uses: okdp/gh-workflows/.github/workflows/helm-lint-template.yml@v1
88+
with:
89+
skip_chart_test: true

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[![ci](https://github.com/okdp/spark-web-proxy/actions/workflows/ci.yml/badge.svg)](https://github.com/okdp/spark-web-proxy/actions/workflows/ci.yml)
22
[![release-please](https://github.com/okdp/spark-web-proxy/actions/workflows/release-please.yml/badge.svg)](https://github.com/okdp/spark-web-proxy/actions/workflows/release-please.yml)
3+
[![image-rebuild](https://github.com/okdp/spark-web-proxy/actions/workflows/docker-rebuild.yml/badge.svg)](https://github.com/okdp/spark-web-proxy/actions/workflows/docker-rebuild.yml)
34
[![License Apache2](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
45

56

@@ -74,4 +75,3 @@ metadata:
7475
## Authentication
7576

7677
[Spark Authentication Filter](https://github.com/OKDP/okdp-spark-auth-filter) can be applied to both Spark History Server and Spark Jobs to enable user authentication and authorization.
77-

0 commit comments

Comments
 (0)