Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github-gen/velnor-workflow.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ schema = 1

[generator]
repository = "tailrocks/graphql-java-datetime"
revision = "2678913a8e3db842a2f92e82e2e1119fae7dad35"
revision = "5e311cace1fdfc1b58bf2f620c93cd815a9f005c"

[workflow]
runners = "both"
Expand Down
16 changes: 8 additions & 8 deletions .github/ci/.github-actions-generator-state
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Generated ownership state; do not edit.
schema = 2
[inputs]
config 0b7d48ff41fc5afb
config abd78cd1e67c7678
scan 1b72102e5495def6
generator 48
generator 49
[outputs]
.github/actionlint.yaml ec35f48ae7e90e0e
.github/ci/project.toml b19da7b7165e2f66
.github/workflows/ci-main.yml c67b1a108291c905
.github/workflows/ci-policy.yml a89702018980ea23
.github/workflows/ci-pr.yml d9a1b78ec861fc01
.github/workflows/ci-unit-gradle.yml a3a1798618cd5f49
.github/workflows/maintenance.yml 4d45b21134dcefe5
.github/workflows/nightly.yml 76e5e2bc12a599c6
.github/workflows/ci-main.yml da446cbdb613bc9f
.github/workflows/ci-policy.yml 6f0b5b212b6aea40
.github/workflows/ci-pr.yml 58d212b6c7d374ec
.github/workflows/ci-unit-gradle.yml f47b2203af85cf1e
.github/workflows/maintenance.yml d85e3a9f42881cac
.github/workflows/nightly.yml c73d542eaf687a7e
config/fleet/velnor-host.env d14b419216449423
16 changes: 8 additions & 8 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ jobs:
persist-credentials: false
- name: Set up Velnor workflow runtime
if: ${{ runner.environment == 'github-hosted' }}
uses: tailrocks/velnor/.github/actions/setup-velnor-workflow@2678913a8e3db842a2f92e82e2e1119fae7dad35
uses: tailrocks/velnor/.github/actions/setup-velnor-workflow@5e311cace1fdfc1b58bf2f620c93cd815a9f005c
with:
rev: 2678913a8e3db842a2f92e82e2e1119fae7dad35
rev: 5e311cace1fdfc1b58bf2f620c93cd815a9f005c
- name: Set trusted workflow policy revision
run: echo "VELNOR_WORKFLOW_POLICY_REVISION=2678913a8e3db842a2f92e82e2e1119fae7dad35" >> "$GITHUB_ENV"
run: echo "VELNOR_WORKFLOW_POLICY_REVISION=5e311cace1fdfc1b58bf2f620c93cd815a9f005c" >> "$GITHUB_ENV"
- name: Select affected units
id: plan
env:
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Prepare Velnor workflow runtime
shell: bash
env:
EXPECTED_REVISION: 2678913a8e3db842a2f92e82e2e1119fae7dad35
EXPECTED_REVISION: 5e311cace1fdfc1b58bf2f620c93cd815a9f005c
run: |
set -euo pipefail
stage="$RUNNER_TEMP/velnor-workflow-runtime"
Expand All @@ -97,7 +97,7 @@ jobs:
- name: Publish Velnor workflow runtime
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: velnor-workflow-runtime-2678913a8e3db842a2f92e82e2e1119fae7dad35-${{ runner.os }}-${{ runner.arch }}
name: velnor-workflow-runtime-5e311cace1fdfc1b58bf2f620c93cd815a9f005c-${{ runner.os }}-${{ runner.arch }}
path: ${{ runner.temp }}/velnor-workflow-runtime
if-no-files-found: error
retention-days: 7
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
with:
backend: github
version: 1.11.1
cache-key: velnor-policy-mbx-1.11.1-${{ runner.os }}-${{ runner.arch }}-2678913a8e3db842a2f92e82e2e1119fae7dad35
cache-key: velnor-policy-mbx-1.11.1-${{ runner.os }}-${{ runner.arch }}-5e311cace1fdfc1b58bf2f620c93cd815a9f005c
restore-keys: |
velnor-policy-mbx-1.11.1-${{ runner.os }}-${{ runner.arch }}-
- name: Install pinned Velnor workflow runtime
Expand All @@ -167,7 +167,7 @@ jobs:
cargo install \
--locked \
--git https://github.com/tailrocks/velnor \
--rev 2678913a8e3db842a2f92e82e2e1119fae7dad35 \
--rev 5e311cace1fdfc1b58bf2f620c93cd815a9f005c \
--root "$VELNOR_WORKFLOW_ROOT" \
velnor-workflow \
--bin velnor-workflow
Expand All @@ -189,7 +189,7 @@ jobs:
WORKFLOW_ROOT: ${{ github.workspace }}/policy-checkout
HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
BASE_SHA: ${{ github.event.pull_request.base.sha || github.sha }}
VELNOR_WORKFLOW_POLICY_REVISION: 2678913a8e3db842a2f92e82e2e1119fae7dad35
VELNOR_WORKFLOW_POLICY_REVISION: 5e311cace1fdfc1b58bf2f620c93cd815a9f005c
run: |
set -euo pipefail
velnor-workflow policy \
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
backend: github
version: 1.11.1
cache-key: velnor-policy-mbx-1.11.1-${{ runner.os }}-${{ runner.arch }}-2678913a8e3db842a2f92e82e2e1119fae7dad35
cache-key: velnor-policy-mbx-1.11.1-${{ runner.os }}-${{ runner.arch }}-5e311cace1fdfc1b58bf2f620c93cd815a9f005c
restore-keys: |
velnor-policy-mbx-1.11.1-${{ runner.os }}-${{ runner.arch }}-
- name: Install pinned Velnor workflow runtime
Expand All @@ -71,7 +71,7 @@ jobs:
cargo install \
--locked \
--git https://github.com/tailrocks/velnor \
--rev 2678913a8e3db842a2f92e82e2e1119fae7dad35 \
--rev 5e311cace1fdfc1b58bf2f620c93cd815a9f005c \
--root "$VELNOR_WORKFLOW_ROOT" \
velnor-workflow \
--bin velnor-workflow
Expand All @@ -93,7 +93,7 @@ jobs:
WORKFLOW_ROOT: ${{ github.workspace }}/policy-checkout
HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
BASE_SHA: ${{ github.event.pull_request.base.sha || github.sha }}
VELNOR_WORKFLOW_POLICY_REVISION: 2678913a8e3db842a2f92e82e2e1119fae7dad35
VELNOR_WORKFLOW_POLICY_REVISION: 5e311cace1fdfc1b58bf2f620c93cd815a9f005c
run: |
set -euo pipefail
velnor-workflow policy \
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ jobs:
persist-credentials: false
- name: Set up Velnor workflow runtime
if: ${{ runner.environment == 'github-hosted' }}
uses: tailrocks/velnor/.github/actions/setup-velnor-workflow@2678913a8e3db842a2f92e82e2e1119fae7dad35
uses: tailrocks/velnor/.github/actions/setup-velnor-workflow@5e311cace1fdfc1b58bf2f620c93cd815a9f005c
with:
rev: 2678913a8e3db842a2f92e82e2e1119fae7dad35
rev: 5e311cace1fdfc1b58bf2f620c93cd815a9f005c
- name: Set trusted workflow policy revision
run: echo "VELNOR_WORKFLOW_POLICY_REVISION=2678913a8e3db842a2f92e82e2e1119fae7dad35" >> "$GITHUB_ENV"
run: echo "VELNOR_WORKFLOW_POLICY_REVISION=5e311cace1fdfc1b58bf2f620c93cd815a9f005c" >> "$GITHUB_ENV"
- name: Select affected units
id: plan
env:
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Prepare Velnor workflow runtime
shell: bash
env:
EXPECTED_REVISION: 2678913a8e3db842a2f92e82e2e1119fae7dad35
EXPECTED_REVISION: 5e311cace1fdfc1b58bf2f620c93cd815a9f005c
run: |
set -euo pipefail
stage="$RUNNER_TEMP/velnor-workflow-runtime"
Expand All @@ -96,7 +96,7 @@ jobs:
- name: Publish Velnor workflow runtime
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: velnor-workflow-runtime-2678913a8e3db842a2f92e82e2e1119fae7dad35-${{ runner.os }}-${{ runner.arch }}
name: velnor-workflow-runtime-5e311cace1fdfc1b58bf2f620c93cd815a9f005c-${{ runner.os }}-${{ runner.arch }}
path: ${{ runner.temp }}/velnor-workflow-runtime
if-no-files-found: error
retention-days: 7
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-unit-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ jobs:
- name: Download Velnor workflow runtime
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: velnor-workflow-runtime-2678913a8e3db842a2f92e82e2e1119fae7dad35-${{ runner.os }}-${{ runner.arch }}
name: velnor-workflow-runtime-5e311cace1fdfc1b58bf2f620c93cd815a9f005c-${{ runner.os }}-${{ runner.arch }}
path: .velnor-workflow-runtime
- name: Verify Velnor workflow runtime
shell: bash
env:
EXPECTED_REVISION: 2678913a8e3db842a2f92e82e2e1119fae7dad35
EXPECTED_REVISION: 5e311cace1fdfc1b58bf2f620c93cd815a9f005c
run: |
set -euo pipefail
manifest=.velnor-workflow-runtime/manifest.json
Expand All @@ -143,7 +143,7 @@ jobs:
- name: Add Velnor workflow runtime to PATH
shell: bash
env:
EXPECTED_REVISION: 2678913a8e3db842a2f92e82e2e1119fae7dad35
EXPECTED_REVISION: 5e311cace1fdfc1b58bf2f620c93cd815a9f005c
run: |
set -euo pipefail
home="$RUNNER_TEMP/velnor-workflow-runtime-artifact"
Expand Down Expand Up @@ -298,7 +298,7 @@ jobs:
fi
- name: Report phase timings and cache outcomes
if: always()
uses: tailrocks/velnor/.github/actions/report-velnor-ci-outcomes@2678913a8e3db842a2f92e82e2e1119fae7dad35
uses: tailrocks/velnor/.github/actions/report-velnor-ci-outcomes@5e311cace1fdfc1b58bf2f620c93cd815a9f005c
with:
job_label: ${{ inputs.unit }}
ci_lane: github
Expand Down Expand Up @@ -479,7 +479,7 @@ jobs:
fi
- name: Report phase timings and cache outcomes
if: always()
uses: tailrocks/velnor/.github/actions/report-velnor-ci-outcomes@2678913a8e3db842a2f92e82e2e1119fae7dad35
uses: tailrocks/velnor/.github/actions/report-velnor-ci-outcomes@5e311cace1fdfc1b58bf2f620c93cd815a9f005c
with:
job_label: ${{ inputs.unit }}
ci_lane: velnor
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: |
set -euo pipefail
for workflow in ci-main.yml nightly.yml; do
if [[ "$(gh run list --workflow "$workflow" --status in_progress --limit 1 --json databaseId --jq 'length')" != "0" ]]; then
if [[ "$(gh run list --repo "$GITHUB_REPOSITORY" --workflow "$workflow" --status in_progress --limit 1 --json databaseId --jq 'length')" != "0" ]]; then
echo "skip=true" >> "$GITHUB_OUTPUT"
echo "$workflow is in_progress; skipping cache retention" >> "$GITHUB_STEP_SUMMARY"
exit 0
Expand All @@ -88,12 +88,12 @@ jobs:
echo "skip=false" >> "$GITHUB_OUTPUT"
- name: Set up Velnor workflow runtime
if: ${{ steps.retention-gate.outputs.skip != 'true' && runner.environment == 'github-hosted' }}
uses: tailrocks/velnor/.github/actions/setup-velnor-workflow@2678913a8e3db842a2f92e82e2e1119fae7dad35
uses: tailrocks/velnor/.github/actions/setup-velnor-workflow@5e311cace1fdfc1b58bf2f620c93cd815a9f005c
with:
rev: 2678913a8e3db842a2f92e82e2e1119fae7dad35
rev: 5e311cace1fdfc1b58bf2f620c93cd815a9f005c
- name: Set trusted workflow policy revision
if: steps.retention-gate.outputs.skip != 'true'
run: echo "VELNOR_WORKFLOW_POLICY_REVISION=2678913a8e3db842a2f92e82e2e1119fae7dad35" >> "$GITHUB_ENV"
run: echo "VELNOR_WORKFLOW_POLICY_REVISION=5e311cace1fdfc1b58bf2f620c93cd815a9f005c" >> "$GITHUB_ENV"
- name: Sweep closed-PR merge-ref caches
if: steps.retention-gate.outputs.skip != 'true'
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
- name: Dispatch ci-main on default branch
env:
GH_TOKEN: ${{ github.token }}
GITHUB_REPOSITORY: ${{ github.repository }}
DEFAULT_BRANCH: main
DISPATCH_RUNNER: ${{ github.event.inputs.runner || 'both' }}
DISPATCH_SCOPE: ${{ github.event.inputs.scope || 'full' }}
Expand All @@ -65,6 +66,7 @@ jobs:
run: |
set -euo pipefail
gh workflow run ci-main.yml \
-R "$GITHUB_REPOSITORY" \
--ref "$DEFAULT_BRANCH" \
-f runner="$DISPATCH_RUNNER" \
-f scope="$DISPATCH_SCOPE" \
Expand Down
Loading