Skip to content

Commit

Permalink
STF 1.5.5 release ops (#25)
Browse files Browse the repository at this point in the history
* Remove invalid addition to requirements.txt (#11)

When I rebased I inadvertently added an invalid reference which breaks
cachito. Imports require requirements.txt to be pinned to a version.

Signed-off-by: Leif Madsen <[email protected]>

Signed-off-by: Leif Madsen <[email protected]>

* Clean up hadolint output (#15)

* Clean up hadolint output

Clean up hadolint output which causes failures testing in GitHub
Actions. Remove unnecessary upgrades (which are reverted by requirements
files) and package installation (satisfied by requirements).

Resolves: STF-1256

* Syncronize versions across requirements files

* Extend available options to prometheus-webhook-snmp (#14)

* Extend available options to prometheus-webhook-snmp

Related: STF-559

* Adjust Dockerfile to conform to hadolint checks

* Set pip installation version

* Various fixes for linting and build warnings

- Complete clean up of the linting and verify everything continues to
  build
- Clean up the Dockerfile for python package updates which were just
  being overridden by the requirements-built.txt

* Use proper .hadolint.yaml file

* Don't Dockerfile lint error on info

* Allow shell meta-character problems in SNMP vars (#16)

* Allow shell meta-characters in SNMP vars

* [zuul] Add zuul jobs to prometheus-webhook-snmp (#18)

Depends-On: http://github.com/infrawatch/service-telemetry-operator/pull/512

* [zuul] Use the stf-crc-jobs project template (#19)

Instead of updating the .zuul.yaml file everytime
infrawatch/service-telemetry-operator adds a new job, the
project-template can be updated in STO, which will
propogate the change to the project and avoid leaving gaps
in testing.

Depends-On: http://github.com/infrawatch/service-telemetry-operator/pull/514

* Bump actions checkout to v4 (#21)

Bump actions checkout to v4 since Node.js 16 actions are deprecated.
We need to update to Node.js 20, which is included in actions/checkout@v4.

* [docker] Update yum repos for CentOS8 Stream EOL (#22)

---------

Signed-off-by: Leif Madsen <[email protected]>
Co-authored-by: Leif Madsen <[email protected]>
Co-authored-by: Leif Madsen <[email protected]>
Co-authored-by: Chris Sibbitt <[email protected]>
Co-authored-by: Emma Foley <[email protected]>
  • Loading branch information
5 people authored Aug 26, 2024
1 parent b07a806 commit 7f60aef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4.1.3
with:
fetch-depth: 0

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

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4.1.3

- name: Verify image builds
run: docker build --tag infrawatch/prometheus-webhook-snmp:latest --file Dockerfile .
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM quay.io/centos/centos:stream8

# Update repos to use the vault mirror, now that CentOS 8 Stream is EOL
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

# >> ignore SC2086 because passing quoted env vars to dnf causes issues (fail to install)
# hadolint ignore=SC2086
RUN INSTALL_PKGS="\
Expand Down

0 comments on commit 7f60aef

Please sign in to comment.