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

chore(deps): update runtime to v0.4.0 - abandoned #22

Closed
wants to merge 72 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
77f53a0
force push ci
mjnagel Jun 14, 2024
08b38ec
Merge branch 'defenseunicorns:main' into main
mjnagel Jun 14, 2024
751ce0e
ci: wip test workflow_run
mjnagel Jun 14, 2024
c427851
fix: workflow outputs silly
mjnagel Jun 14, 2024
68c26ab
ci: wip fix artifacts
mjnagel Jun 14, 2024
079c939
ci: another one
mjnagel Jun 14, 2024
549cdf7
ci: json
mjnagel Jun 14, 2024
5ee487e
syntax fix
mjnagel Jun 14, 2024
274b29d
ci: wip fix?
mjnagel Jun 14, 2024
5e45513
ci: wip token
mjnagel Jun 14, 2024
00eb17a
wip: ls
mjnagel Jun 14, 2024
810790f
ci: fix
mjnagel Jun 14, 2024
6609918
ci: debug
mjnagel Jun 14, 2024
f1e4a08
doh
mjnagel Jun 14, 2024
12d2872
check changes?
mjnagel Jun 14, 2024
3188570
cleanup workflows
mjnagel Jun 14, 2024
761de3a
ci: wip status check magicks
mjnagel Jun 14, 2024
9536326
ci: fix use job status
mjnagel Jun 14, 2024
75cfbe4
fix: github token
mjnagel Jun 14, 2024
11ca27f
chatgpt got me
mjnagel Jun 14, 2024
29545b6
fix: forgot to commit :(
mjnagel Jun 14, 2024
3a3372c
ci: test contexts, names
mjnagel Jun 14, 2024
ca4b54c
fail
mjnagel Jun 14, 2024
920fe1e
ci: remove inputs for fun
mjnagel Jun 14, 2024
f2389a3
fix: ci things
mjnagel Jun 14, 2024
d5c51f3
fix: inputs silly
mjnagel Jun 14, 2024
20983d7
fix: update status for test
mjnagel Jun 14, 2024
c49e6ea
fix: named inputs
mjnagel Jun 14, 2024
73c0d96
free the names
mjnagel Jun 14, 2024
beecc41
more free names
mjnagel Jun 14, 2024
60ca1d0
fix: concurrency group
mjnagel Jun 14, 2024
eba372c
fix: workflow links
mjnagel Jun 14, 2024
d640453
chore(main): release 0.23.0
github-actions[bot] Jun 14, 2024
f8ac93c
remove pr number
mjnagel Jun 14, 2024
bb67ba5
Merge branch 'defenseunicorns:main' into main
mjnagel Jun 22, 2024
60b2852
Merge branch 'defenseunicorns:main' into main
mjnagel Jun 25, 2024
4eede07
Merge pull request #2 from BagelLab/release-please--branches--main
mjnagel Jul 10, 2024
2cefa29
chore: test publish
mjnagel Jul 10, 2024
347b061
bagellab
mjnagel Jul 10, 2024
3c226db
double equals
mjnagel Jul 10, 2024
8e992e3
chore(main): release 0.23.0
github-actions[bot] Jul 10, 2024
4144e76
Merge pull request #5 from BagelLab/release-please--branches--main
mjnagel Jul 10, 2024
df87b55
fix: runners, snapshot
mjnagel Jul 10, 2024
09c623a
chore(main): release 0.23.1
github-actions[bot] Jul 10, 2024
9320e11
Merge pull request #6 from BagelLab/release-please--branches--main
mjnagel Jul 10, 2024
5a78de7
fix: id-token
mjnagel Jul 10, 2024
bdc8677
fix: comment out debug
mjnagel Jul 10, 2024
6df0592
chore(main): release 0.23.2
github-actions[bot] Jul 10, 2024
bf86110
Merge pull request #7 from BagelLab/release-please--branches--main
mjnagel Jul 10, 2024
5870a77
fix: workflow silliness
mjnagel Jul 10, 2024
55cb491
chore(main): release 0.23.3
github-actions[bot] Jul 10, 2024
782a7d2
Merge pull request #8 from BagelLab/release-please--branches--main
mjnagel Jul 10, 2024
84805e0
fix: simplify publish repo output
mjnagel Jul 12, 2024
e0e6ebc
chore(main): release 0.23.4
github-actions[bot] Jul 12, 2024
149414d
Merge pull request #9 from BagelLab/release-please--branches--main
mjnagel Jul 12, 2024
0e556ae
fix(ci): test snapshot fix
mjnagel Jul 15, 2024
3dc039d
fix: test
mjnagel Jul 15, 2024
5053bad
fix: version
mjnagel Jul 15, 2024
5584e77
ci: test publish changes
mjnagel Jul 17, 2024
743987c
ci: try thing
mjnagel Jul 17, 2024
7d2ae9c
ci: no fail-fast, normal runners
mjnagel Jul 17, 2024
e2aaebe
ci: no mute debug
mjnagel Jul 17, 2024
1c925f0
fix: ci
mjnagel Jul 17, 2024
2ae4621
chore(main): release 0.23.0
github-actions[bot] Jul 17, 2024
a94e622
ci: mute it up
mjnagel Jul 17, 2024
32f881e
Merge pull request #11 from BagelLab/release-please--branches--main
mjnagel Jul 17, 2024
0119a34
chore(main): release 0.23.0
github-actions[bot] Jul 17, 2024
643a561
Merge pull request #12 from BagelLab/release-please--branches--main
mjnagel Jul 17, 2024
bd56402
rebase, test renovate [ci skip]
mjnagel Sep 20, 2024
7834e01
Update zarf.yaml
mjnagel Sep 20, 2024
a30f8ac
Update renovate.json
mjnagel Sep 20, 2024
43c11f4
chore(deps): update runtime to v0.4.0
renovate[bot] Sep 20, 2024
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
5 changes: 5 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Lint Codespell configurations
[codespell]
skip = .codespellrc,.git,node_modules,build,dist,*.zst,CHANGELOG.md
ignore-words-list = NotIn,AKS
enable-colors =
10 changes: 5 additions & 5 deletions .github/actions/debug-output/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ runs:
- name: Print basic debug info for a k8s cluster
run: |
echo "::group::kubectl get all"
uds zarf tools kubectl get all -A | tee /tmp/debug-k-get-all.log
uds zarf tools kubectl get all -A | tee /tmp/debug-k-get-all.log || true
echo "::endgroup::"
echo "::group::kubectl get pv,pvc"
uds zarf tools kubectl get pv,pvc -A | tee /tmp/debug-k-get-pv-pvc.log
uds zarf tools kubectl get pv,pvc -A | tee /tmp/debug-k-get-pv-pvc.log || true
echo "::endgroup::"
echo "::group::kubectl get package"
uds zarf tools kubectl get package -A | tee /tmp/debug-k-get-package.log
uds zarf tools kubectl get package -A | tee /tmp/debug-k-get-package.log || true
echo "::endgroup::"
echo "::group::kubectl get events"
uds zarf tools kubectl get events -A --sort-by='.lastTimestamp' | tee /tmp/debug-k-get-events.log
uds zarf tools kubectl get events -A --sort-by='.lastTimestamp' | tee /tmp/debug-k-get-events.log || true
echo "::endgroup::"
echo "::group::kubectl describe nodes"
uds zarf tools kubectl describe nodes k3d-uds-server-0 | tee /tmp/debug-k-describe-node.log
uds zarf tools kubectl describe nodes k3d-uds-server-0 | tee /tmp/debug-k-describe-node.log || true
echo "::endgroup::"
shell: bash
19 changes: 19 additions & 0 deletions .github/actions/lint-check/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: lint-check
description: "Check Project for Linting Errors"

runs:
using: composite
steps:
- name: Use Node.js latest
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 20
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install UDS CLI
# renovate: datasource=github-tags depName=defenseunicorns/uds-cli versioning=semver
run: brew install defenseunicorns/tap/[email protected]
shell: bash
- name: Run Formatting Checks
run: uds run lint-check --no-progress
shell: bash
51 changes: 51 additions & 0 deletions .github/actions/notify-lula/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Notify Lula
description: "Comment on PR to notify Lula Team"


inputs:
state:
description: 'state of the comment update'
required: true
default: ''
flavor:
description: 'flavor of the comment update'
required: true
default: ''
ghToken:
description: 'GITHUB_TOKEN'
required: true

runs:
using: composite
steps:
- name: Find Comment
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: Compliance ${{ inputs.flavor }} Evaluation
token: ${{ inputs.ghToken }}

- name: Create comment
if: ${{ steps.fc.outputs.comment-id == '' && inputs.state == 'failure'}}
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
with:
issue-number: ${{ github.event.pull_request.number }}
token: ${{ inputs.ghToken }}
body: |
Compliance ${{ inputs.flavor }} Evaluation: ${{ inputs.state }}

CC: @defenseunicorns/lula-dev

- name: Update comment
if: ${{ steps.fc.outputs.comment-id != '' }}
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
token: ${{ inputs.ghToken }}
edit-mode: replace
body: |
Compliance ${{ inputs.flavor }} Evaluation: ${{ inputs.state }}

CC: @defenseunicorns/lula-dev
2 changes: 1 addition & 1 deletion .github/actions/save-logs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
sudo chown $USER /tmp/uds-*.log || echo ""
shell: bash

- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: debug-log${{ inputs.suffix }}
path: |
Expand Down
22 changes: 19 additions & 3 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,36 @@ inputs:
registry1Password:
description: 'IRON_BANK_ROBOT_PASSWORD'
required: true
chainguardIdentity:
description: "ID for Chainguard Identity"
required: true

runs:
using: "composite"
steps:
- name: Use Node.js latest
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
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
# renovate: datasource=github-tags depName=k3d-io/k3d versioning=semver
run: curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.7.4 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]
run: brew install defenseunicorns/tap/[email protected]

- name: Install Lula
uses: defenseunicorns/lula-action/setup@badad8c4b1570095f57e66ffd62664847698a3b9 # v0.0.1
with:
# renovate: datasource=github-tags depName=defenseunicorns/lula versioning=semver-coerced
version: v0.7.0

- name: Iron Bank Login
if: ${{ inputs.registry1Username != '' }}
Expand All @@ -40,6 +50,12 @@ runs:
run: echo "${{ env.REGISTRY_PASSWORD }}" | uds zarf tools registry login -u "${{ env.REGISTRY_USERNAME }}" --password-stdin registry1.dso.mil
shell: bash

- name: Chainguard Login
if: ${{ inputs.chainguardIdentity != '' }}
uses: chainguard-dev/setup-chainctl@f52718d822dc73d21a04ef2082822c4a203163b3 # v0.2.2
with:
identity: ${{ inputs.chainguardIdentity }}

- name: GHCR Login
if: ${{ inputs.ghToken != '' }}
env:
Expand Down
10 changes: 6 additions & 4 deletions .github/bundles/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ metadata:
name: uds-core-eks-nightly
description: A UDS bundle for deploying EKS and UDS Core
# x-release-please-start-version
version: "0.22.2"
version: "0.27.3"
# x-release-please-end

packages:
- name: init
repository: ghcr.io/defenseunicorns/packages/init
ref: v0.35.0
repository: ghcr.io/zarf-dev/packages/init
ref: v0.40.1

- name: core
path: ../../build/
# x-release-please-start-version
ref: 0.22.2
ref: 0.27.3
# x-release-please-end
optionalComponents:
- metrics-server
overrides:
velero:
velero:
Expand Down
71 changes: 71 additions & 0 deletions .github/filters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,96 @@ all:

authservice:
- "src/authservice/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"

grafana:
- "src/grafana/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"

istio:
- "src/istio/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"

keycloak:
- "src/keycloak/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"

kiali:
- "src/kiali/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"

loki:
- "src/loki/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"

metrics-server:
- "src/metrics-server/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"

neuvector:
- "src/neuvector/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"

prometheus-stack:
- "src/prometheus-stack/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"

promtail:
- "src/promtail/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"

tempo:
- "src/tempo/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"

velero:
- "src/velero/**"
- "!**/*.md"
- "!**/*.jpg"
- "!**/*.png"
- "!**/*.gif"
- "!**/*.svg"
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Relates to #
## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide Steps](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)(https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md#submitting-a-pull-request) followed
- [ ] [Contributor Guide](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md) followed
8 changes: 4 additions & 4 deletions .github/test-infra/buckets-iac/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ provider "aws" {
}

terraform {
required_version = "1.5.7"
required_version = ">= 1.8.0"
backend "s3" {
}
required_providers {
Expand All @@ -20,7 +20,7 @@ terraform {

random = {
source = "hashicorp/random"
version = "3.5.1"
version = "3.6.3"
}
}
}
Expand Down Expand Up @@ -67,7 +67,7 @@ resource "random_id" "unique_id" {

module "generate_kms" {
for_each = local.bucket_configurations
source = "github.com/defenseunicorns/terraform-aws-uds-kms?ref=v0.0.2"
source = "github.com/defenseunicorns/terraform-aws-uds-kms?ref=v0.0.6"

key_owners = var.key_owner_arns
# A list of IAM ARNs for those who will have full key permissions (`kms:*`)
Expand All @@ -91,7 +91,7 @@ module "S3" {

module "irsa" {
for_each = local.bucket_configurations
source = "github.com/defenseunicorns/terraform-aws-uds-irsa?ref=v0.0.2"
source = "github.com/defenseunicorns/terraform-aws-uds-irsa?ref=v0.0.3"
name = each.value.name
kubernetes_service_account = each.value.service_account
kubernetes_namespace = each.value.namespace
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3

- name: Install commitlint
run: |
npm install --save-dev @commitlint/config-conventional@19.2.2
npm install --save-dev @commitlint/cli@19.3.0
npm install --save-dev @commitlint/config-conventional@19.5.0
npm install --save-dev @commitlint/cli@19.5.0

- name: Lint PR title
env:
Expand Down
Loading
Loading