Compare commits

..

2 Commits

Author SHA1 Message Date
Philip Gough
9e2acd6fcd test 2023-08-15 11:59:37 +01:00
Philip Gough
0b7a4d100b Update workflow for failing versions update 2023-08-14 17:33:32 +01:00
3 changed files with 8 additions and 12 deletions

View File

@@ -12,10 +12,6 @@ jobs:
strategy:
matrix:
branch:
- 'release-0.9'
- 'release-0.10'
- 'release-0.11'
- 'release-0.12'
- 'main'
steps:
- uses: actions/checkout@v3
@@ -31,16 +27,14 @@ jobs:
# Write to temporary file to make update atomic
scripts/generate-versions.sh > /tmp/versions.json
mv /tmp/versions.json jsonnet/kube-prometheus/versions.json
# Display the raw diff between versions.
git diff
# Get the links to the changelogs of the updated versions and make them
# available to the reviewers
{
echo 'new_changelogs<<EOF'
echo $(scripts/get-new-changelogs.sh)
echo EOF
} >> $GITHUB_OUTPUT
if: matrix.branch == 'main'
new_changelogs=$(scripts/get-new-changelogs.sh)
echo "test"
echo "$new_changelogs"
echo "new_changelogs=$new_changelogs" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Update jsonnet dependencies
run: |
make update

View File

@@ -238,6 +238,7 @@ function(params) {
args: [
'--cert-dir=/var/run/serving-cert',
'--config=/etc/adapter/config.yaml',
'--logtostderr=true',
'--metrics-relist-interval=1m',
'--prometheus-url=' + pa._config.prometheusURL,
'--secure-port=6443',

View File

@@ -32,6 +32,7 @@ spec:
- args:
- --cert-dir=/var/run/serving-cert
- --config=/etc/adapter/config.yaml
- --logtostderr=true
- --metrics-relist-interval=1m
- --prometheus-url=http://prometheus-k8s.monitoring.svc:9090/
- --secure-port=6443