Skip to content

Commit a843162

Browse files
authored
chore: nightly release (#1961)
* chore: nightly release Signed-off-by: moabu <47318409+moabu@users.noreply.github.com> * chore: fix chart annotations Signed-off-by: moabu <47318409+moabu@users.noreply.github.com> * ci: address workflows security Signed-off-by: moabu <47318409+moabu@users.noreply.github.com> --------- Signed-off-by: moabu <47318409+moabu@users.noreply.github.com>
1 parent 49c7cca commit a843162

Some content is hidden

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

77 files changed

+256
-231
lines changed

.github/workflows/activate-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
pull_request:
66
types:
77
- closed
8+
permissions:
9+
contents: read
810
jobs:
911
create_release:
1012
if: ${{ (github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'autorelease:pending')) }}

.github/workflows/build-docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ on:
2828
concurrency:
2929
group: run-once
3030
cancel-in-progress: false
31+
permissions:
32+
contents: read
3133
jobs:
3234
build:
3335
if: github.repository_owner == 'GluuFederation'

.github/workflows/build-packages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
tags:
66
- 'v**'
77
- 'nightly'
8+
permissions:
9+
contents: read
810
jobs:
911
publish_binary_packages:
1012
if: github.repository == 'GluuFederation/flex'
@@ -98,7 +100,7 @@ jobs:
98100
id: run_build
99101
run: |
100102
cd flex/
101-
sudo python${{ matrix.python_version }} flex_setup.py --jans-branch="v1.2.0" --jans-setup-branch="v1.2.0" -download-exit -yes --keep-downloads --keep-setup -force-download
103+
sudo python${{ matrix.python_version }} flex_setup.py --jans-branch="main" --jans-setup-branch="main" -download-exit -yes --keep-downloads --keep-setup -force-download
102104
cp -r /opt/dist flex-src/opt/
103105
cp -r /opt/jans flex-src/opt/
104106
touch flex-src/opt/jans/jans-setup/package

.github/workflows/central_code_quality_check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ on:
2121
- 'docker-**/version.txt'
2222
- '**.md'
2323
workflow_dispatch:
24-
24+
permissions:
25+
contents: read
2526
jobs:
2627
sonar-scan:
2728
name: sonar scan

.github/workflows/clean_github_cache.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
types:
55
- closed
66
workflow_dispatch:
7-
7+
permissions:
8+
contents: read
89
jobs:
910
cleanup:
1011
runs-on: ubuntu-latest

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
workflow_dispatch:
1010
schedule:
1111
- cron: '0 8 * * *'
12-
12+
permissions:
13+
contents: read
1314
jobs:
1415
analyze:
1516
name: Analyze

.github/workflows/commit-check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
- reopened
1616
- synchronize
1717
push:
18-
18+
permissions:
19+
contents: read
1920
jobs:
2021
check-commit-message:
2122
name: Check Commit Message
@@ -24,7 +25,7 @@ jobs:
2425
- name: Checkout Project
2526
uses: actions/checkout@v3
2627
with:
27-
# We need to fetch with a depth of 2 for pull_request so we can do HEAD^2
28+
# We need to fetch with a depth of 2 for pull_request, so we can do HEAD^2
2829
fetch-depth: 2
2930

3031
- uses: actions/setup-node@v3

.github/workflows/delete_workflow_runs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
schedule:
44
- cron: '0 0 */2 * *'
55
workflow_dispatch:
6+
permissions:
7+
contents: read
68
jobs:
79
del_runs:
810
runs-on: ubuntu-latest

.github/workflows/docker_build_image.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ jobs:
7474
if: steps.build_docker_image.outputs.build || github.event_name == 'tags'
7575
run: |
7676
sudo apt-get update
77-
#sudo python3 -m pip install --upgrade pip
78-
sudo pip3 install setuptools --upgrade
79-
sudo pip3 install -r ./automation/requirements.txt
77+
sudo python3 -m pip install --upgrade pip || echo "Failed to upgrade pip"
78+
sudo pip3 install --ignore-installed setuptools --upgrade
79+
sudo pip3 install --ignore-installed -r ./automation/requirements.txt
8080
sudo apt-get update
8181
8282
@@ -149,11 +149,11 @@ jobs:
149149
if: github.event_name == 'workflow_dispatch'
150150
run: |
151151
sudo apt-get update
152-
#sudo python3 -m pip install --upgrade pip
153-
sudo pip3 install setuptools --upgrade
154-
sudo pip3 install -r ./automation/requirements.txt
152+
sudo python3 -m pip install --upgrade pip || echo "Failed to upgrade pip"
153+
sudo pip3 install --ignore-installed setuptools --upgrade
154+
sudo pip3 install --ignore-installed -r ./automation/requirements.txt
155155
sudo apt-get update
156-
sudo apt-get install jq
156+
sudo apt-get install --ignore-installed jq
157157
158158
- name: Update Build date in Dockerfile
159159
if: github.event_name == 'workflow_dispatch'

.github/workflows/docker_imagescan.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ on:
1818
- "!docker-**/version.txt"
1919
- "!**.md"
2020
workflow_dispatch:
21+
permissions:
22+
contents: read
2123
jobs:
2224
build:
2325
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)