-
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 #46 from defenseunicorns/feat-enable-confluence-cl…
…ustering-by-default
- Loading branch information
Showing
36 changed files
with
446 additions
and
293 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
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,15 +1,13 @@ | ||
# Copyright 2024 Defense Unicorns | ||
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
||
name: Metadata | ||
|
||
on: | ||
# This workflow is triggered on pull requests to the main branch. | ||
pull_request: | ||
branches: [main] | ||
types: [milestoned, opened, edited, synchronize] | ||
|
||
# This allows other repositories to call this workflow in a reusable way | ||
workflow_call: | ||
|
||
jobs: | ||
validate: | ||
name: Validate | ||
uses: defenseunicorns/uds-common/.github/workflows/commitlint.yaml@e3008473beab00b12a94f9fcc7340124338d5c08 # v0.13.1 | ||
uses: defenseunicorns/uds-common/.github/workflows/callable-commitlint.yaml@f0164622ffc2007e96a0e1deaa3f5064db04b148 # v1.1.0 |
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,35 +1,15 @@ | ||
# Copyright 2024 Defense Unicorns | ||
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
||
name: Scan | ||
|
||
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 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Environment setup | ||
uses: defenseunicorns/uds-common/.github/actions/setup@e3008473beab00b12a94f9fcc7340124338d5c08 # v0.13.1 | ||
with: | ||
registry1Username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }} | ||
registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} | ||
ghToken: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- 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@f0164622ffc2007e96a0e1deaa3f5064db04b148 # v1.1.0 | ||
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,33 @@ | ||
# Copyright 2024 Defense Unicorns | ||
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
||
name: Setup | ||
|
||
# This workflow is triggered on pull requests to the main branch. | ||
on: | ||
pull_request: | ||
paths: | ||
- ".github/**" | ||
- "bundle/**" | ||
- "values/**" | ||
- "tasks/**" | ||
- "tests/**" | ||
- "tasks.yaml" | ||
- "zarf.yaml" | ||
|
||
# Permissions for the GITHUB_TOKEN used by the workflow. | ||
permissions: | ||
id-token: write # Needed for OIDC-related operations. | ||
contents: read # Allows reading the content of the repository. | ||
pull-requests: read # Allows reading pull request metadata. | ||
|
||
# Default settings for all run commands in the workflow jobs. | ||
defaults: | ||
run: | ||
shell: bash -e -o pipefail {0} # Ensures that scripts fail on error and pipefail is set. | ||
|
||
jobs: | ||
run-test: | ||
name: Test | ||
uses: ./.github/workflows/test.yaml | ||
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,45 @@ | ||
# 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] | ||
uses: defenseunicorns/uds-common/.github/workflows/callable-publish.yaml@f0164622ffc2007e96a0e1deaa3f5064db04b148 # v1.1.0 | ||
with: | ||
flavor: ${{ matrix.flavor }} | ||
runsOn: uds-marketplace-ubuntu-big-boy-4-core | ||
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.
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
File renamed without changes.
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,18 @@ | ||
# Dual Licensing | ||
|
||
This software is licensed under either of: | ||
|
||
- GNU Affero General Public License v3.0 (AGPLv3), see [LICENSE.md](./LICENSE.md) | ||
- Defense Unicorns Commercial License, see below | ||
|
||
## Defense Unicorns Commercial License | ||
|
||
The use of this software under a commercial license is subject to the individual | ||
terms of the license agreement between the licensee and Defense Unicorns. The | ||
content of this license depends on the specific agreement and may vary. For | ||
more information about obtaining a commercial license, please contact | ||
Defense Unicorns at [defenseunicorns.com](https://defenseunicorns.com). | ||
|
||
To use this software under the commercial license, you must have a valid license | ||
agreement with Defense Unicorns. The terms of the Defense Unicorns, Inc. license | ||
agreement supplant and supersede the terms of the AGPL v3 license. |
Oops, something went wrong.