Skip to content

Commit fac3d5d

Browse files
authored
πŸ”„ synced file(s) with upbound/sa-up (#14)
* πŸ”„ synced local 'Makefile' with remote 'shared/configurations/Makefile' * πŸ”„ synced local '.github/workflows' with remote 'shared/configurations/workflows' * πŸ”„ synced local '.github/renovate.json5' with remote 'shared/configurations/renovate.json5' * πŸ”„ synced local '.gitmodules' with remote 'shared/configurations/.gitmodules' * πŸ”„ created local '.github/CODEOWNERS' from remote '.github/CODEOWNERS' --------- Co-authored-by: upbound-bot <null>
1 parent 5e7e9db commit fac3d5d

File tree

7 files changed

+313
-124
lines changed

7 files changed

+313
-124
lines changed

β€Ž.github/CODEOWNERSβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @upbound/team-solutions

β€Ž.github/renovate.json5β€Ž

Lines changed: 89 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,94 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:recommended",
5-
"helpers:pinGitHubActionDigests",
6-
":semanticCommits"
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
extends: [
4+
'config:recommended',
5+
'helpers:pinGitHubActionDigests',
6+
':semanticCommits',
77
],
8-
"rebaseWhen": "conflicted",
9-
"prConcurrentLimit": 5,
10-
"baseBranches": ["main"],
11-
"labels": ["automated"],
12-
"customManagers": [
8+
rebaseWhen: 'conflicted',
9+
prConcurrentLimit: 5,
10+
baseBranches: [
11+
'main',
12+
],
13+
labels: [
14+
'automated',
15+
],
16+
ignorePaths: [ // default renovate ignorePaths without '**/examples/**'
17+
'**/node_modules/**',
18+
'**/bower_components/**',
19+
'**/vendor/**',
20+
'**/__tests__/**',
21+
'**/test/**',
22+
'**/tests/**',
23+
'**/__fixtures__/**'
24+
],
25+
crossplane: {
26+
fileMatch: ['(^|/)examples/.*\\.ya?ml$']
27+
},
28+
packageRules: [
29+
{
30+
matchFileNames: [
31+
'.github/**',
32+
],
33+
groupName: 'github-actions dependencies',
34+
},
1335
{
14-
"customType": "regex",
15-
"description": "Bump up version in the Makefile",
16-
"fileMatch": ["^Makefile$"],
17-
"matchStrings": [
18-
"UP_VERSION = (?<currentValue>.*?)\\n"
19-
],
20-
"datasourceTemplate": "github-releases",
21-
"depNameTemplate": "upbound/up",
22-
}, {
23-
"customType": "regex",
24-
"description": "Bump uptest version in the Makefile",
25-
"fileMatch": ["^Makefile$"],
26-
"matchStrings": [
27-
"UPTEST_VERSION = (?<currentValue>.*?)\\n"
28-
],
29-
"datasourceTemplate": "github-releases",
30-
"depNameTemplate": "upbound/uptest",
31-
}, {
32-
"customType": "regex",
33-
"description": "Bump Crossplane(UXP) version in the Makefile",
34-
"fileMatch": ["^Makefile$"],
35-
"matchStrings": [
36-
"CROSSPLANE_VERSION = (?<currentValue>.*?)\\n"
37-
],
38-
"datasourceTemplate": "github-releases",
39-
"versioningTemplate": "regex:^v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-up.1$",
40-
"extractVersionTemplate": "^v(?<version>.*)$",
41-
"depNameTemplate": "upbound/universal-crossplane",
42-
}, {
43-
"customType": "regex",
44-
"description": "Bump providers/functions/configurations in crossplane.yaml",
45-
"fileMatch": ["crossplane.yaml"],
46-
"matchStrings": [
47-
"#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s*\\n\\s*version:\\s*\"(?<currentValue>[^\"]+)\""
48-
],
49-
"datasourceTemplate": "{{{datasource}}}",
50-
"depNameTemplate": "{{{depName}}}",
51-
}
36+
matchFileNames: [
37+
'crossplane.yaml',
38+
],
39+
groupName: 'crossplane dependencies',
40+
},
41+
{
42+
matchFileNames: [
43+
'Makefile',
44+
],
45+
groupName: 'Makefile dependencies',
46+
},
47+
{
48+
matchManagers: ['crossplane'],
49+
matchFileNames: ['examples/**'],
50+
groupName: 'examples'
51+
},
52+
],
53+
customManagers: [
54+
{
55+
customType: 'regex',
56+
description: 'Bump up version in the Makefile',
57+
fileMatch: [
58+
'^Makefile$',
59+
],
60+
matchStrings: [
61+
'UP_VERSION = (?<currentValue>.*?)\\n',
62+
],
63+
datasourceTemplate: 'github-releases',
64+
depNameTemplate: 'upbound/up',
65+
},
66+
{
67+
customType: 'regex',
68+
description: 'Bump uptest version in the Makefile',
69+
fileMatch: [
70+
'^Makefile$',
71+
],
72+
matchStrings: [
73+
'UPTEST_VERSION = (?<currentValue>.*?)\\n',
74+
],
75+
datasourceTemplate: 'github-releases',
76+
depNameTemplate: 'upbound/uptest',
77+
},
78+
{
79+
customType: 'regex',
80+
description: 'Bump providers/functions/configurations in crossplane.yaml',
81+
fileMatch: [
82+
'crossplane.yaml',
83+
],
84+
matchStrings: [
85+
'#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s*\\n\\s*version:\\s*"(?<currentValue>[^"]+)"',
86+
],
87+
datasourceTemplate: '{{{datasource}}}',
88+
depNameTemplate: '{{{depName}}}',
89+
},
5290
],
91+
"git-submodules": {
92+
"enabled": true
93+
}
5394
}

β€Ž.github/workflows/ci.yamlβ€Ž

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ on:
99

1010
env:
1111
DOCKER_BUILDX_VERSION: 'v0.8.2'
12+
1213
XPKG_ACCESS_ID: ${{ secrets.XPKG_ACCESS_ID }}
1314

1415
jobs:
1516
detect-noop:
16-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-24.04
1718
outputs:
1819
noop: ${{ steps.noop.outputs.should_skip }}
1920
steps:
@@ -26,24 +27,19 @@ jobs:
2627
do_not_skip: '["workflow_dispatch", "schedule", "push"]'
2728

2829
publish-artifacts:
29-
runs-on: ubuntu-22.04
30+
runs-on: ubuntu-24.04
3031
needs: detect-noop
3132
if: needs.detect-noop.outputs.noop != 'true'
3233

3334
steps:
34-
- name: Setup QEMU
35-
uses: docker/setup-qemu-action@5927c834f5b4fdf503fca6f4c7eccda82949e1ee # v3
36-
with:
37-
platforms: all
38-
3935
- name: Setup Docker Buildx
40-
uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3
36+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
4137
with:
4238
version: ${{ env.DOCKER_BUILDX_VERSION }}
4339
install: true
4440

4541
- name: Checkout
46-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
42+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4743
with:
4844
submodules: true
4945

@@ -58,18 +54,19 @@ jobs:
5854
BUILD_ARGS: "--load"
5955

6056
- name: Publish Artifacts to GitHub
61-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
57+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
6258
with:
6359
name: output
6460
path: _output/**
6561

6662
- name: Login to Upbound
67-
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3
63+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
6864
if: env.XPKG_ACCESS_ID != ''
6965
with:
7066
registry: xpkg.upbound.io
7167
username: ${{ secrets.XPKG_ACCESS_ID }}
7268
password: ${{ secrets.XPKG_TOKEN }}
7369

7470
- name: Publish Artifacts
71+
if: env.XPKG_ACCESS_ID != ''
7572
run: make -j2 publish BRANCH_NAME=${GITHUB_REF##*/}

β€Ž.github/workflows/tag.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ on:
1212

1313
jobs:
1414
create-tag:
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-24.04
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2020

2121
- name: Create Tag
2222
uses: negz/create-tag@39bae1e0932567a58c20dea5a1a0d18358503320 # v1

β€Ž.github/workflows/yamllint.yamlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ jobs:
55
name: runner / yamllint
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
8+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
99
- name: yamllint
10-
uses: reviewdog/action-yamllint@4e4ba96d03a0e12a0e71c29e5fef1db309d09201 # v1.18.0
10+
uses: reviewdog/action-yamllint@1dca3ad811867be18fbe293a9818d715a6c2cd46 # v1.20.0
1111
with:
1212
reporter: github-pr-review
1313
filter_mode: nofilter

β€Ž.gitmodulesβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "build"]
22
path = build
3-
url = https://github.com/crossplane/build
3+
url = https://github.com/crossplane/build.git

0 commit comments

Comments
Β (0)