-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from defenseunicorns/renovate/renovate-support…
…-dependencies chore(deps): update renovate support dependencies
- Loading branch information
Showing
37 changed files
with
993 additions
and
490 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
name: CI Docs Shim | ||
# Copyright 2024 Defense Unicorns | ||
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
||
name: CI Doc Shim | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
types: [milestoned, opened, synchronize] | ||
|
||
jobs: | ||
run-test: | ||
name: ${{ matrix.type }} ${{ matrix.flavor }} | ||
runs-on: "ubuntu-latest" | ||
timeout-minutes: 20 | ||
validate: | ||
strategy: | ||
matrix: | ||
flavor: [upstream, registry1] | ||
type: [install, upgrade] | ||
steps: | ||
- name: Shim for ${{ matrix.type }} ${{ matrix.flavor }} | ||
run: | | ||
echo "Documentation-only change detected; marking ${{ matrix.type }} ${{ matrix.flavor }} as successful." | ||
flavor: [upstream, registry1] | ||
uses: defenseunicorns/uds-common/.github/workflows/callable-ci-docs-shim.yaml@c52077c870a576d01f169f96d74d1b393c6488ba # v1.1.2 | ||
with: | ||
flavor: ${{ matrix.flavor }} | ||
type: ${{ matrix.type }} | ||
secrets: inherit # Inherits all secrets from the parent workflow. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,15 @@ | ||
name: Scan | ||
# Copyright 2024 Defense Unicorns | ||
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
||
name: Lint | ||
|
||
on: | ||
# This workflow is triggered on pull requests to the main branch. | ||
pull_request: | ||
branches: [main] | ||
types: [milestoned, opened, synchronize] | ||
# milestoned is added here as a workaround for release-please not triggering PR workflows (PRs should be added to a milestone to trigger the workflow). | ||
types: [milestoned, opened, reopened, synchronize] | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
name: Lint | ||
permissions: | ||
contents: read # Allows reading the repo contents | ||
id-token: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Environment setup | ||
uses: defenseunicorns/uds-common/.github/actions/setup@76287d41ec5f06ecbdd0a6453877a78675aceffe # v0.11.2 | ||
with: | ||
registry1Username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }} | ||
registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} | ||
ghToken: ${{ secrets.GITHUB_TOKEN }} | ||
chainguardIdentity: ${{ secrets.CHAINGUARD_IDENTITY }} | ||
|
||
- name: Install lint deps | ||
run: | | ||
uds run lint:deps --no-progress | ||
- name: Lint the repository | ||
run: | | ||
uds run lint:yaml --no-progress | ||
uses: defenseunicorns/uds-common/.github/workflows/callable-lint.yaml@c52077c870a576d01f169f96d74d1b393c6488ba # v1.1.2 | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 2024 Defense Unicorns | ||
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
# Permissions for the GITHUB_TOKEN used by the workflow. | ||
permissions: | ||
contents: read # Allows reading the content of the repository. | ||
packages: read # Allows reading the content of the repository's packages. | ||
id-token: write | ||
|
||
jobs: | ||
tag-new-version: | ||
permissions: write-all | ||
runs-on: ubuntu-latest | ||
outputs: | ||
release_created: ${{ steps.release-flag.outputs.release_created }} | ||
steps: | ||
- name: Create Release Tag | ||
id: tag | ||
uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3 | ||
- id: release-flag | ||
run: echo "release_created=${{ steps.tag.outputs.release_created || false }}" >> "$GITHUB_OUTPUT" | ||
|
||
publish: | ||
permissions: | ||
contents: read # Allows reading the content of the repository. | ||
packages: write # Allows reading the content of the repository's packages. | ||
id-token: write | ||
needs: tag-new-version | ||
if: ${{ needs.tag-new-version.outputs.release_created == 'true' }} | ||
strategy: | ||
matrix: | ||
flavor: [upstream, registry1] | ||
architecture: [amd64, arm64] | ||
exclude: | ||
- flavor: registry1 | ||
architecture: arm64 | ||
uses: defenseunicorns/uds-common/.github/workflows/callable-publish.yaml@c52077c870a576d01f169f96d74d1b393c6488ba # v1.1.2 | ||
with: | ||
flavor: ${{ matrix.flavor }} | ||
runsOn: ${{ matrix.architecture == 'arm64' && 'uds-swf-ubuntu-arm64-4-core' || 'uds-swf-ubuntu-big-boy-8-core' }} | ||
timeout: 60 | ||
secrets: inherit # Inherits all secrets from the parent workflow. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.