-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: enhance the security of gh workflows (#10564)
* ci: enhance security of workflows * ci: fix docs git add of search folders * chore: remove jans-tent * docs: update docs with the removal of jans tent * ci: fix pip upgrade Signed-off-by: moabu <[email protected]> * ci: fix ignore previously installed packages Signed-off-by: moabu <[email protected]> * ci: fix clean up dep in build of assets Signed-off-by: moabu <[email protected]> * ci: fix clean up dep in build of assets Signed-off-by: moabu <[email protected]> * ci: fix clean up Signed-off-by: moabu <[email protected]> * ci: fix clean up Signed-off-by: moabu <[email protected]> * ci: fix clean up Signed-off-by: moabu <[email protected]> * ci: fix clean up Signed-off-by: moabu <[email protected]> * ci: fix permission level for clean up Signed-off-by: moabu <[email protected]> * ci: skip deleting if the service doesn't have any packages Signed-off-by: moabu <[email protected]> * ci: load all pages Signed-off-by: moabu <[email protected]> * ci: load all pages Signed-off-by: moabu <[email protected]> * ci: load all pages Signed-off-by: moabu <[email protected]> --------- Signed-off-by: moabu <[email protected]>
- Loading branch information
Showing
52 changed files
with
103 additions
and
2,617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ jobs: | |
egress-policy: audit | ||
|
||
- name: Install Cosign | ||
uses: sigstore/[email protected] | ||
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0 | ||
|
||
- name: Checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
|
@@ -91,9 +91,9 @@ jobs: | |
if: steps.build_docker_image.outputs.build || github.event_name == 'tags' | ||
run: | | ||
sudo apt-get update | ||
sudo python3 -m pip install --upgrade pip | ||
sudo pip3 install setuptools --upgrade | ||
sudo pip3 install -r ./automation/requirements.txt | ||
sudo python3 -m pip install --upgrade pip || echo "Failed to upgrade pip" | ||
sudo pip3 install --ignore-installed setuptools --upgrade | ||
sudo pip3 install --ignore-installed -r ./automation/requirements.txt | ||
sudo apt-get update | ||
#- uses: actions/delete-package-versions@v5 | ||
|
@@ -165,19 +165,19 @@ jobs: | |
fi | ||
# UPDATE BUILD DATES INSIDE THE DOCKERFILE BEFORE BUILDING THE DEV IMAGES TRIGGERED BY JENKINS | ||
- name: Setup Python 3.7 | ||
- name: Setup Python 3.10 | ||
if: github.event_name == 'workflow_dispatch' && ${{ matrix.docker-images }} != 'loadtesting-jmeter' | ||
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 | ||
with: | ||
python-version: 3.7 | ||
python-version: "3.10" | ||
|
||
- name: Install Python dependencies | ||
if: github.event_name == 'workflow_dispatch' && ${{ matrix.docker-images }} != 'loadtesting-jmeter' | ||
run: | | ||
sudo apt-get update | ||
sudo python3 -m pip install --upgrade pip | ||
sudo pip3 install setuptools --upgrade | ||
sudo pip3 install -r ./automation/requirements.txt | ||
sudo python3 -m pip install --upgrade pip || echo "Failed to upgrade pip" | ||
sudo pip3 install --ignore-installed setuptools --upgrade | ||
sudo pip3 install --ignore-installed -r ./automation/requirements.txt | ||
sudo apt-get update | ||
sudo apt-get install jq | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.