Skip to content

Commit a8f0f74

Browse files
Merge branch 'main' into goff-inprocess-eval
Signed-off-by: Thomas Poignant <[email protected]>
2 parents 938e5c5 + 74774b9 commit a8f0f74

File tree

48 files changed

+3073
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3073
-84
lines changed

.github/component_owners.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ components:
3737
- liran2000
3838
providers/multiprovider:
3939
- liran2000
40+
tools/flagd-http-connector:
41+
- liran2000
4042

4143
ignored-authors:
4244
- renovate-bot

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
build:
1717
- java: 21
1818
profile: codequality
19-
- java: 8
20-
profile: java8
19+
- java: 11
20+
profile: java11
2121

2222
name: with Java ${{ matrix.build.java }}
2323
runs-on: ${{ matrix.os}}
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2727

2828
- name: Set up JDK ${{ matrix.build.java }}
29-
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4
29+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
3030
with:
3131
java-version: ${{ matrix.build.java }}
3232
distribution: 'temurin'

.github/workflows/release-please.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,36 @@ on:
55
name: Run Release Please
66
jobs:
77
release-please:
8-
environment: publish
98
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write # for googleapis/release-please-action to create release commit
11+
pull-requests: write # for googleapis/release-please-action to create release PR
12+
issues: write # for googleapis/release-please-action to create labels
1013

1114
# Release-please creates a PR that tracks all changes
1215
steps:
13-
- uses: google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4
16+
- uses: googleapis/release-please-action@a02a34c4d625f9be7cb89156071d8567266a2445 # v4
1417
id: release
1518
with:
16-
token: ${{secrets.GITHUB_TOKEN}}
19+
token: ${{secrets.RELEASE_PLEASE_ACTION_TOKEN}}
20+
outputs:
21+
release_created: ${{ fromJSON(steps.release.outputs.paths_released)[0] != null }} # if we have a single release path, do the release
1722

23+
publish:
24+
environment: publish
25+
runs-on: ubuntu-latest
26+
permissions:
27+
contents: read
28+
needs: release-please
29+
if: ${{ fromJSON(needs.release-please.outputs.release_created || false) }}
30+
31+
steps:
1832
# The logic below handles the maven publication:
1933
- name: Checkout Repository
20-
if: ${{ steps.release.outputs.releases_created }}
2134
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2235

2336
- name: Set up JDK 21
24-
if: ${{ steps.release.outputs.releases_created }}
25-
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4
37+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
2638
with:
2739
java-version: '21'
2840
distribution: 'temurin'
@@ -32,7 +44,6 @@ jobs:
3244
server-password: OSSRH_PASSWORD
3345

3446
- name: Cache local Maven repository
35-
if: ${{ steps.release.outputs.releases_created }}
3647
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
3748
with:
3849
path: ~/.m2/repository
@@ -41,15 +52,13 @@ jobs:
4152
${{ runner.os }}-maven-
4253
4354
- name: Configure GPG Key
44-
if: ${{ steps.release.outputs.releases_created }}
4555
run: |
4656
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
4757
env:
4858
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
4959

5060
# Release Please has already incremented versions and published tags, so we just need to publish (skip tests).
5161
- name: Maven Verify Deploy -DskipTests
52-
if: ${{ steps.release.outputs.releases_created }}
5362
# The nexus-staging-maven-plugin doesn't follow maven conventions. It stages all the projects with the last submodule: https://help.sonatype.com/repomanager2/staging-releases/configuring-your-project-for-deployment
5463
# This means there's no way to skip publishing of a particular module in a multi-module build, so we iterate over each module and publish them individually,
5564
# letting exists-maven-plugin skip the nexus-staging-maven-plugin's entire deploy goal if the artifact exists.

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[submodule "providers/flagd/test-harness"]
55
path = providers/flagd/test-harness
66
url = https://github.com/open-feature/test-harness.git
7-
branch = v2.7.4
7+
branch = v2.8.0
88
[submodule "providers/flagd/spec"]
99
path = providers/flagd/spec
1010
url = https://github.com/open-feature/spec.git

.release-please-manifest.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
"hooks/open-telemetry": "3.2.1",
44
"providers/go-feature-flag": "0.4.3",
55
"providers/flagsmith": "0.0.10",
6-
"providers/env-var": "0.0.7",
6+
"providers/env-var": "0.0.10",
77
"providers/jsonlogic-eval-provider": "1.1.1",
88
"providers/unleash": "0.1.0-alpha",
99
"providers/flipt": "0.1.1",
1010
"providers/configcat": "0.1.0",
1111
"providers/statsig": "0.1.0",
1212
"providers/multiprovider": "0.0.1",
13-
"tools/junit-openfeature": "0.1.2"
13+
"tools/junit-openfeature": "0.1.2",
14+
"tools/flagd-http-connector": "0.0.2",
15+
".": "0.2.2"
1416
}

.sdkmanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
java=8.0.312-tem
1+
java=11.0.26-tem

0 commit comments

Comments
 (0)