Skip to content

Commit 020f909

Browse files
committed
fix: resolve critical workflow and runtime issues
- Add yq installation to all workflows that use it (prevents immediate failures) - Fix executable permissions on shell scripts - docker-entrypoint.sh, backup.sh, user_data.sh now executable - All workflows now properly install required tools before using them
1 parent c1e6a38 commit 020f909

10 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- name: Checkout code
2727
uses: actions/checkout@v5
2828

29+
- name: Install yq
30+
uses: mikefarah/yq@master
31+
2932
- name: Get default Python version from project config
3033
id: version
3134
run: |

.github/workflows/container.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
id: default-python-version
4848
run: |
4949
# Use project config directly with yq
50+
- name: Install yq
51+
uses: mikefarah/yq@master
5052
DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
5153
echo "default-python-version=$DEFAULT_PYTHON_VERSION" >> $GITHUB_OUTPUT
5254
echo "Using Python version: $DEFAULT_PYTHON_VERSION"
@@ -74,6 +76,8 @@ jobs:
7476
id: config
7577
run: |
7678
PYTHON_VERSIONS_JSON=$(make print-json-PYTHON_VERSIONS)
79+
- name: Install yq
80+
uses: mikefarah/yq@master
7781
DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
7882
CONTAINER_REGISTRY=$(make print-CONTAINER_REGISTRY)
7983
CONTAINER_IMAGE=$(make print-CONTAINER_IMAGE)

.github/workflows/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
- name: Get default Python version from project config
2222
id: version
2323
run: |
24+
- name: Install yq
25+
uses: mikefarah/yq@master
2426
DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
2527
echo "default-python-version=$DEFAULT_PYTHON_VERSION" >> $GITHUB_OUTPUT
2628
echo "Using Python version: $DEFAULT_PYTHON_VERSION"

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
- name: Get default Python version from project config
3737
id: version
3838
run: |
39+
- name: Install yq
40+
uses: mikefarah/yq@master
3941
DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
4042
echo "default-python-version=$DEFAULT_PYTHON_VERSION" >> $GITHUB_OUTPUT
4143
echo "Using Python version: $DEFAULT_PYTHON_VERSION"

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
- name: Get default Python version from project config
3737
id: version
3838
run: |
39+
- name: Install yq
40+
uses: mikefarah/yq@master
3941
DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
4042
echo "default-python-version=$DEFAULT_PYTHON_VERSION" >> $GITHUB_OUTPUT
4143
echo "Using Python version: $DEFAULT_PYTHON_VERSION"

.github/workflows/security.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
run: |
4242
# Use consistent print-* and print-json-* targets
4343
PYTHON_VERSIONS_JSON=$(make print-json-PYTHON_VERSIONS)
44+
- name: Install yq
45+
uses: mikefarah/yq@master
4446
DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
4547

4648
echo "python-versions=$PYTHON_VERSIONS_JSON" >> $GITHUB_OUTPUT

.github/workflows/test-matrix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
run: |
3535
# Use consistent print-* and print-json-* targets
3636
PYTHON_VERSIONS_JSON=$(make print-json-PYTHON_VERSIONS)
37+
- name: Install yq
38+
uses: mikefarah/yq@master
3739
DEFAULT_PYTHON_VERSION=$(yq '.python.default_version' .project.yml)
3840

3941
echo "python-versions=$PYTHON_VERSIONS_JSON" >> $GITHUB_OUTPUT

.github/workflows/validate-workflows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
for file in .github/workflows/*.yml .github/workflows/*.yaml; do
2424
if [ -f "$file" ]; then
2525
echo "Validating $file..."
26+
- name: Install yq
27+
uses: mikefarah/yq@master
2628
yq . "$file" > /dev/null && echo "VALID: $file" || (echo "INVALID: $file" && exit 1)
2729
fi
2830
done

awscpinst/config/user_data.sh

100644100755
File mode changed.

deployment/docker/docker-entrypoint.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)