Skip to content

Commit 5da1d4e

Browse files
committed
🚧 work in process
1 parent aa4d791 commit 5da1d4e

File tree

2,300 files changed

+52569
-287039
lines changed

Some content is hidden

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

2,300 files changed

+52569
-287039
lines changed

‎.github/scripts/release-build.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ echo "$release_notes$(cat $root/changelog.md)" > $root/changelog.md
2929

3030
# generate SDK
3131
cd "$root"
32-
make gen
32+
sed -i "<outscale-api-version>s|.*|${new_api_version}</outscale-api-version>|" pom.xml
3333

3434
# setup git && commit
3535
git config user.name "Outscale Bot"
3636
git config user.email "opensource+bot@outscale.com"
37-
for f in src dist; do
37+
for f in src dist pom.xml; do
3838
git add $f || true
3939
done
4040
git commit -asm "osc-sdk-java v$new_sdk_version"

‎.github/workflows/build.yml‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,30 @@ on:
66
description: 'Outscale API version'
77
required: true
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
auto-build:
1114
environment: auto-build
12-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-24.04
1316
steps:
14-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v5
1518
with:
1619
ref: main
1720
- uses: actions/setup-java@v3
1821
with:
1922
distribution: 'temurin'
2023
java-version: '11'
2124
cache: 'maven'
25+
2226
- name: Write Outscale API version to use
2327
run: echo "${{ github.event.inputs.api_version }}" > api_version
2428
- name: check for release duplicate
2529
env:
2630
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2731
run: make release-check-duplicate
32+
2833
- name: auto-generate release
2934
run: make release-build
3035
- name: push release branch
@@ -34,4 +39,4 @@ jobs:
3439
- name: create pull request
3540
run: make release-pr
3641
env:
37-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
42+
GH_TOKEN: ${{ secrets.GH_TOKEN }}

‎.github/workflows/cred-scan.yml‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@ name: Credential Scanner
22

33
on:
44
pull_request:
5-
branches:
6-
- main
7-
push:
8-
branches:
9-
- main
5+
branches: [ main ]
6+
7+
permissions:
8+
contents: read
109

1110
jobs:
1211
cred-scan:
13-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1413
steps:
15-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v5
1615
- name: Scan credentials
17-
uses: outscale-dev/cred-scan@main
16+
uses: outscale/cred-scan@main
1817
with:
1918
scan_path: "./"

‎.github/workflows/github-sanity-scan.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ on:
44
pull_request:
55
branches: [ main ]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
github-sanity-scan:
9-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1013
steps:
11-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v5
1215
- name: Github sanity scanner
1316
uses: outscale/github-sanity-scan@main
1417
with:
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
name: osc-sdk-java maven publishing
2+
23
on:
34
release:
45
types: [released]
56

7+
permissions:
8+
contents: read
9+
610
jobs:
711
publish:
812
environment: publish
9-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-24.04
1014
steps:
11-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v5
1216
- uses: actions/setup-java@v3
1317
with:
1418
distribution: 'temurin'
@@ -18,9 +22,10 @@ jobs:
1822
server-username: SONATYPE_USERNAME
1923
server-password: SONATYPE_PASSWORD
2024
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
25+
2126
- name: Publish
2227
run: mvn deploy
2328
env:
2429
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
2530
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
26-
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
31+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

‎.github/workflows/pull-request.yml‎

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ permissions:
1010

1111
jobs:
1212
reuse-test:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-24.04
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v5
1616
- name: Reuse specification test
1717
run: make reuse-test
1818
examples-test:
1919
environment: eu-west-2
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-24.04
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v5
2323
- uses: actions/setup-java@v3
2424
with:
2525
distribution: 'temurin'
@@ -35,19 +35,8 @@ jobs:
3535
OSC_USERNAME: ${{ secrets.OSC_USERNAME }}
3636
OSC_PASSWORD: ${{ secrets.OSC_PASSWORD }}
3737
run: make examples-test
38-
regeneration-test:
39-
runs-on: ubuntu-20.04
40-
steps:
41-
- uses: actions/checkout@v3
42-
- uses: actions/setup-java@v3
43-
with:
44-
distribution: 'temurin'
45-
java-version: '11'
46-
cache: 'maven'
47-
- name: SDK re-generation test
48-
run: make regen-test
4938
dependabot-auto-merge:
50-
needs: [reuse-test, examples-test, regeneration-test]
39+
needs: [reuse-test, examples-test]
5140
runs-on: ubuntu-latest
5241
if: ${{ github.actor == 'dependabot[bot]' }}
5342
steps:

‎.osc-api-patches/outscale-yaml.patch‎

Lines changed: 0 additions & 91 deletions
This file was deleted.

‎.osc-patches/after-format/0001-give-basePath-priority-if-set-by-user.patch‎

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)