-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
143ff66
commit 4eddf66
Showing
4 changed files
with
17 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,8 +27,13 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Start the k8s cluster | ||
uses: ./.github/actions/start-k8s-cluster | ||
- name: Setup the k8s cluster | ||
uses: palmsoftware/[email protected] | ||
with: | ||
disableDefaultCni: true | ||
numControlPlaneNodes: 1 | ||
numWorkerNodes: 3 | ||
installOLM: true | ||
|
||
- name: Create `local-test-infra` OpenShift resources | ||
uses: ./.github/actions/create-local-test-infra-resources | ||
|
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 |
---|---|---|
|
@@ -59,26 +59,6 @@ jobs: | |
PFLT_DOCKERCONFIG: '/home/runner/.docker/config' | ||
|
||
steps: | ||
# Restart docker using /mnt/docker-storage (sdb) instead of /var/lib/docker (sda). | ||
# This step needs to be done right after the partner repo's bootstrap scripts, as they | ||
# overwrite the docker's daemon.json. | ||
- name: Create docker/daemon.json if it does not exist | ||
run: | | ||
if [ ! -f /etc/docker/daemon.json ]; then | ||
echo '{}' | sudo tee /etc/docker/daemon.json | ||
fi | ||
- name: Make docker to use /mnt (sdb) for storage | ||
run: | | ||
df -h | ||
lsblk | ||
sudo mkdir /mnt/docker-storage | ||
sudo jq '. +={"data-root" : "/mnt/docker-storage"}' < /etc/docker/daemon.json > /tmp/docker-daemon.json | ||
sudo cp /tmp/docker-daemon.json /etc/docker/daemon.json | ||
cat /etc/docker/daemon.json | ||
sudo systemctl restart docker | ||
sudo ls -la /mnt/docker-storage | ||
- name: Set up Go 1.23 | ||
uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -87,19 +67,21 @@ jobs: | |
- name: Disable default go problem matcher | ||
run: echo "::remove-matcher owner=go::" | ||
|
||
- name: Write temporary docker file | ||
run: | | ||
mkdir -p /home/runner/.docker | ||
touch ${PFLT_DOCKERCONFIG} | ||
echo '{ "auths": {} }' >> ${PFLT_DOCKERCONFIG} | ||
- name: Setup quick-k8s cluster | ||
uses: palmsoftware/[email protected] | ||
with: | ||
disableDefaultCni: true | ||
numControlPlaneNodes: 1 | ||
numWorkerNodes: 3 | ||
installOLM: true | ||
|
||
- name: Check out `certsuite-sample-workload` | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.sha }} | ||
|
||
- name: Start the k8s cluster | ||
uses: ./.github/actions/start-k8s-cluster | ||
- name: run tmate | ||
uses: mxschmitt/action-tmate@v3 | ||
|
||
- name: Create `local-test-infra` OpenShift resources | ||
uses: ./.github/actions/create-local-test-infra-resources | ||
|
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