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
43 changes: 9 additions & 34 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
'helpers:pinGitHubActionDigests',
':semanticCommits',
],
rebaseWhen: 'conflicted',
rebaseWhen: 'auto',
rebaseLabel: 'rebase',
prConcurrentLimit: 5,
autoApprove: true,
automerge: true,
automergeType: 'pr',
baseBranches: [
'main',
],
labels: [
'automated',
'run-e2e-tests',
],
ignorePaths: [ // default renovate ignorePaths without '**/examples/**'
'**/node_modules/**',
Expand All @@ -34,16 +39,10 @@
},
{
matchFileNames: [
'crossplane.yaml',
'upbound.yaml',
],
groupName: 'crossplane dependencies',
},
{
matchFileNames: [
'Makefile',
],
groupName: 'Makefile dependencies',
},
{
matchManagers: ['crossplane'],
matchFileNames: ['examples/**'],
Expand All @@ -53,33 +52,9 @@
customManagers: [
{
customType: 'regex',
description: 'Bump up version in the Makefile',
fileMatch: [
'^Makefile$',
],
matchStrings: [
'UP_VERSION = (?<currentValue>.*?)\\n',
],
datasourceTemplate: 'github-releases',
depNameTemplate: 'upbound/up',
},
{
customType: 'regex',
description: 'Bump uptest version in the Makefile',
fileMatch: [
'^Makefile$',
],
matchStrings: [
'UPTEST_VERSION = (?<currentValue>.*?)\\n',
],
datasourceTemplate: 'github-releases',
depNameTemplate: 'upbound/uptest',
},
{
customType: 'regex',
description: 'Bump providers/functions/configurations in crossplane.yaml',
description: 'Bump providers/functions/configurations in upbound.yaml',
fileMatch: [
'crossplane.yaml',
'upbound.yaml',
],
matchStrings: [
'#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s*\\n\\s*version:\\s*"(?<currentValue>[^"]+)"',
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
steps:
- name: Checkout
id: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
uses: actions/checkout@v4

- name: Install and login with up
if: env.UP_API_TOKEN != '' && env.UP_ORG != ''
uses: upbound/action-up@53fe6395637d884c80d2bbc8c2d75d0ece776ced # v1
uses: upbound/action-up@v1
with:
api-token: ${{ secrets.UP_API_TOKEN }}
organization: ${{ secrets.UP_ORG }}
Expand All @@ -40,7 +40,7 @@ jobs:

- name: Build and Push Upbound project
if: env.UP_API_TOKEN != ''
uses: upbound/action-up-project@87016022642d4076f1360639bdf0f04527c28983 # v1
uses: upbound/action-up-project@v1
with:
push-project: true
tag: ${{ inputs.version || '' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/composition-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- name: Checkout
id: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
uses: actions/checkout@v4

- name: Install up
uses: upbound/action-up@53fe6395637d884c80d2bbc8c2d75d0ece776ced # v1
uses: upbound/action-up@v1
with:
skip-login: true

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
steps:
- name: Checkout
id: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
uses: actions/checkout@v4

- name: Install and login with up
if: env.UP_API_TOKEN != '' && env.UP_ORG != ''
uses: upbound/action-up@53fe6395637d884c80d2bbc8c2d75d0ece776ced # v1
uses: upbound/action-up@v1
with:
api-token: ${{ env.UP_API_TOKEN }}
organization: ${{ env.UP_ORG }}
Expand All @@ -46,5 +46,4 @@ jobs:
run: up ctx ${{ env.UP_ORG }}/upbound-gcp-us-central-1/${{ env.UP_GROUP }}

- name: Run e2e tests
if: env.UP_API_TOKEN != '' && env.UP_ORG != ''
run: up test run tests/* --e2e
2 changes: 1 addition & 1 deletion .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: yamllint
uses: reviewdog/action-yamllint@f01d8a48fd8d89f89895499fca2cff09f9e9e8c0 # v1.21.0
uses: reviewdog/action-yamllint@1dca3ad811867be18fbe293a9818d715a6c2cd46 # v1.20.0
with:
reporter: github-pr-review
filter_mode: nofilter
Expand Down
Loading