Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Log in to the Container registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.WRITE_PACKAGE_TOKEN }}

- name: Checkout the Gitops repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: fiaisis/gitops
token: ${{ secrets.GITOPS_STAGING_EDIT_TOKEN }}

- name: Build and push live-data-operator Docker image
id: live_data_operator_build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
file: ./container/operator.Dockerfile
push: true
Expand All @@ -50,7 +50,7 @@ jobs:
echo "::set-output name=digest::$FILTERED_DIGEST"

- name: Edit the YAML live-data-operator.yml file for staging for live data operator
uses: mikefarah/yq@v4.44.1
uses: mikefarah/yq@v4.52.4
with:
cmd: yq e -i '.spec.template.spec.containers[] |= select(.name == "live-data-operator").image = "ghcr.io/fiaisis/live-data-operator@${{ steps.live_data_operator_build.outputs.digest }}"' './components/live-data-operator/envs/staging/live-data-operator.yml'

Expand All @@ -64,7 +64,7 @@ jobs:

- name: Build and push live-data-processor Docker image
id: live_data_processor_build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
file: ./container/processor.Dockerfile
push: true
Expand All @@ -79,7 +79,7 @@ jobs:


- name: Update LIVE_DATA_PROCESSOR_IMAGE in the Deployment YAML
uses: mikefarah/yq@v4.44.1
uses: mikefarah/yq@v4.52.4
with:
cmd: yq e -i '.spec.template.spec.containers[] |= (select(.name == "live-data-operator") | .env[] |= select(.name == "LIVE_DATA_PROCESSOR_IMAGE_SHA").value = "${{ steps.remove_sha256_processor.outputs.digest }}")' './components/live-data-operator/envs/staging/live-data-operator.yml'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: 'Dependency Review'
uses: actions/dependency-review-action@ce3cf9537a52e8119d91fd484ab5b8a807627bf8 # v4.6.0
uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
8 changes: 4 additions & 4 deletions .github/workflows/formatting_and_linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ jobs:
steps:
- name: Checkout project
if: github.actor != 'dependabot[bot]'
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # v4.1.1
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.1.1
with:
token: ${{ secrets.COMMIT_TOKEN }}

- name: Checkout project (dependabot)
if: github.actor == 'dependabot[bot]'
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # v4.1.1
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.1.1

- name: Set up Python
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.12'

- name: Set up cache for Python dependencies
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
Expand Down