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

test: introduce new uds task file & ci structure #14

Merged
merged 47 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
241e5c1
flatten zarf variables in istio capability
jeff-mccoy Nov 2, 2023
fb8589e
add istio-only variant
jeff-mccoy Nov 2, 2023
176310d
add example bundles for standard & istio-only with k3d + zarf init
jeff-mccoy Nov 2, 2023
b1f6baa
remove uneeded pepr snippet
jeff-mccoy Nov 2, 2023
60ad559
introduce uds task files
jeff-mccoy Nov 2, 2023
9febb2a
uds 0.9
jeff-mccoy Nov 3, 2023
f8f818f
Add loki (#10)
zachariahmiller Nov 2, 2023
2ac7088
chore: add commit lint workflow (#19)
zachariahmiller Nov 3, 2023
1a3b2d4
that's not supposed to be there...
jeff-mccoy Nov 3, 2023
c076b61
wip: weed whacker
jeff-mccoy Nov 3, 2023
c2eb4bd
Merge branch 'main' into shiny-new-toys
jeff-mccoy Nov 3, 2023
0677c90
brew plz
jeff-mccoy Nov 3, 2023
8f06d26
errr
jeff-mccoy Nov 3, 2023
e4ea3d6
more filters things
jeff-mccoy Nov 3, 2023
f74f3c2
idk
jeff-mccoy Nov 3, 2023
8251c41
j/k
jeff-mccoy Nov 4, 2023
d62a6de
brew things
jeff-mccoy Nov 4, 2023
e46c34f
uds 10
jeff-mccoy Nov 4, 2023
51ff204
brew & concurrency things
jeff-mccoy Nov 4, 2023
4548f4d
env variable things
jeff-mccoy Nov 4, 2023
4647e84
env var
jeff-mccoy Nov 4, 2023
50c1e74
vars
jeff-mccoy Nov 4, 2023
b2e31d3
ugh
jeff-mccoy Nov 4, 2023
98f8026
why gh
jeff-mccoy Nov 4, 2023
1ccf9c1
hmmm
jeff-mccoy Nov 4, 2023
4b7043c
try a different layout for single vs all capability pepr things
jeff-mccoy Nov 4, 2023
2ea9d10
naming
jeff-mccoy Nov 4, 2023
2b8d057
more name things
jeff-mccoy Nov 4, 2023
b202e52
re-add concurrency
jeff-mccoy Nov 4, 2023
6f83604
cleanup in aisle 6 please
jeff-mccoy Nov 5, 2023
bc8350e
ignore missing Pepr Zarf Packages
jeff-mccoy Nov 5, 2023
a45646d
typo
jeff-mccoy Nov 5, 2023
998b2a7
dumb error ignore for now
jeff-mccoy Nov 5, 2023
ee82299
more ci work
jeff-mccoy Nov 6, 2023
5a17941
fix pepr missing pkg buil
jeff-mccoy Nov 6, 2023
23b9416
debug some things
jeff-mccoy Nov 6, 2023
8fcdd5a
debug test
jeff-mccoy Nov 6, 2023
cb80d4e
make uds-core test fall under matrix rules as well
jeff-mccoy Nov 6, 2023
1c95934
experimenting
jeff-mccoy Nov 6, 2023
153f124
just kidding
jeff-mccoy Nov 6, 2023
5e40632
try some things
jeff-mccoy Nov 6, 2023
d178d11
hmmm
jeff-mccoy Nov 6, 2023
3dfa2c6
work work
jeff-mccoy Nov 6, 2023
39b5d7a
rude
jeff-mccoy Nov 6, 2023
84c71df
cleanup
jeff-mccoy Nov 6, 2023
60460e7
make a bunch of fake capability runners go crazy
jeff-mccoy Nov 7, 2023
f03b6a0
feels like there should be a nice regex way to do this....
jeff-mccoy Nov 7, 2023
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
30 changes: 30 additions & 0 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# action.yml
name: "Setup Environment"
description: "Setup dependencies for the testing UDS capabilities"

runs:
using: "composite"
steps:
- name: Install Zarf
uses: defenseunicorns/setup-zarf@main
with:
# renovate: datasource=github-tags depName=defenseunicorns/zarf versioning=semver
version: v0.31.0
download-init-package: true

- name: Use Node.js latest
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: 20

- name: Install k3d
shell: bash
run: curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.6.0 bash

- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master

- name: Install UDS CLI
shell: bash
# renovate: datasource=github-tags depName=defenseunicorns/uds-cli versioning=semver
run: brew install defenseunicorns/tap/[email protected]
3 changes: 0 additions & 3 deletions .github/bundle-filters.yaml

This file was deleted.

41 changes: 38 additions & 3 deletions .github/filters.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
all:
- ".github/**"
- "capabilities/**"
- "examples/**"
- "packages/**"
- "tasks/**"
- "pepr.ts"
- "package-lock.json"
- "zarf-config.yaml"

authservice:
- "capabilities/authservice/**"
grafana:
- "capabilities/grafana/**"
istio:
- 'capabilities/istio/**/*'
# neuvector:
# - 'capabilities/neuvector/**/*'
- "capabilities/istio/**"
keycloak:
- "capabilities/keycloak/**"
kiali:
- "capabilities/kiali/**"
kyverno:
- "capabilities/kyverno/**"
kyverno-policies:
- "capabilities/kyverno-policies/**"
kyverno-reporter:
- "capabilities/kyverno-reporter/**"
loki:
- "capabilities/loki/**"
metrics-server:
- "capabilities/metrics-server/**"
neuvector:
- "capabilities/neuvector/**"
prometheus-stack:
- "capabilities/prometheus-stack/**"
promtail:
- "capabilities/promtail/**"
tempo:
- "capabilities/tempo/**"
velero:
- "capabilities/velero/**"
116 changes: 0 additions & 116 deletions .github/workflows/build-and-test-bundle.yaml

This file was deleted.

112 changes: 0 additions & 112 deletions .github/workflows/build-and-test.yaml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/ci-on-pull-request-k3d.yaml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR Title Check
name: Metadata

on:
pull_request:
Expand All @@ -8,6 +8,7 @@ on:
jobs:
title_check:
runs-on: ubuntu-latest
name: Validate PR Title
permissions:
pull-requests: read

Expand All @@ -24,4 +25,4 @@ jobs:
run: npm install --save-dev @commitlint/{config-conventional,cli}

- name: Lint PR title
run: echo "${{ github.event.pull_request.title }}" | npx commitlint
run: echo "${{ github.event.pull_request.title }}" | npx commitlint
Loading