Skip to content

Commit 556c281

Browse files
author
HusneShabbir
committed
chore: scorecard e2e updates
1 parent d65f182 commit 556c281

188 files changed

Lines changed: 13682 additions & 4678 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: ❓ Red Hat Developer Hub JIRA
4-
url: https://issues.redhat.com/browse/RHIDP
5-
about: Please report any showcase/RHDH issues or feature requests in JIRA - https://issues.redhat.com/browse/RHIDP
6-
- name: Janus-IDP Plugins
7-
url: https://issues.redhat.com/browse/RHIDP
8-
about: Please report any issues with https://github.com/janus-idp/backstage-plugins in JIRA - https://issues.redhat.com/browse/RHIDP
4+
url: https://issues.redhat.com/browse/RHDHBUGS
5+
about: Please report any redhat-developer/rhdh issues or feature requests in JIRA - https://issues.redhat.com/browse/RHDHBUGS
6+
- name: Red Hat Developer Hub Plugins
7+
url: https://issues.redhat.com/browse/RHDHBUGS
8+
about: Please report any issues with https://github.com/redhat-developer/rhdh-plugins in JIRA - https://issues.redhat.com/browse/RHDHBUGS
99
- name: ❓ Backstage Community Plugins
1010
url: https://github.com/backstage/community-plugins/issues
1111
about: Please report any plugin issues or feature requests in https://github.com/backstage/community-plugins/issues

.github/workflows/codeql.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@bffd034ab1518ad839a542b8a7356e13a240e076 # v3
45+
uses: github/codeql-action/init@45c373516f557556c15d420e3f5e0aa3d64366bc # v3
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
5353
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
5454
# If this step fails, then you should remove it and run the build manually (see below)
5555
- name: Autobuild
56-
uses: github/codeql-action/autobuild@bffd034ab1518ad839a542b8a7356e13a240e076 # v3
56+
uses: github/codeql-action/autobuild@45c373516f557556c15d420e3f5e0aa3d64366bc # v3
5757
# ℹ️ Command-line programs to run using the OS shell.
5858
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
5959
# If the Autobuild fails above, remove it and uncomment the following three lines.
@@ -62,6 +62,6 @@ jobs:
6262
# echo "Run, Build Application using script"
6363
# ./location_of_script_within_repo/buildscript.sh
6464
- name: Perform CodeQL Analysis
65-
uses: github/codeql-action/analyze@bffd034ab1518ad839a542b8a7356e13a240e076 # v3
65+
uses: github/codeql-action/analyze@45c373516f557556c15d420e3f5e0aa3d64366bc # v3
6666
with:
6767
category: '/language:${{matrix.language}}'

.github/workflows/next-build-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ jobs:
213213
uses: ./.github/actions/get-sha
214214

215215
- name: Set up Docker Buildx
216-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
216+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
217217

218218
- name: Set container metadata (for :next builds, 14d expiry)
219219
id: meta-next

.github/workflows/push-e2e-runner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
uses: ./.github/actions/get-sha
6161

6262
- name: Set up Docker Buildx
63-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
63+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
6464

6565
- name: Login to Quay
6666
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3

.github/workflows/toml-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
16-
- uses: tombi-toml/setup-tombi@a9378ac9fe5c29df7d26263deacea4ac642af9c2 # v1
16+
- uses: tombi-toml/setup-tombi@f7cb38e77d9a62bc27a8445bf50e660e9496b893 # v1
1717
- name: Validate TOML files
1818
run: tombi lint

.ibm/pipelines/auth/secrets-rhdh-secrets.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ data:
4242
GITHUB_OAUTH_APP_ID: $GITHUB_OAUTH_APP_ID_ENCODED
4343
GITHUB_OAUTH_APP_SECRET: $GITHUB_OAUTH_APP_SECRET_ENCODED
4444
BACKEND_SECRET: $BACKEND_SECRET
45+
JIRA_TOKEN: $JIRA_TOKEN
4546
type: Opaque

.ibm/pipelines/env_variables.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ QE_USER8_ID=$(cat /tmp/secrets/QE_USER8_ID)
9090
QE_USER8_PASS=$(cat /tmp/secrets/QE_USER8_PASS)
9191
QE_USER9_ID=$(cat /tmp/secrets/QE_USER9_ID)
9292
QE_USER9_PASS=$(cat /tmp/secrets/QE_USER9_PASS)
93+
JIRA_TOKEN=$(cat /tmp/secrets/jira_token)
9394

9495
K8S_CLUSTER_TOKEN_TEMPORARY=$(cat /tmp/secrets/K8S_CLUSTER_TOKEN_TEMPORARY)
9596

.ibm/pipelines/resources/config_map/app-config-rhdh-rbac.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ catalog:
102102
clientId: ${KEYCLOAK_AUTH_CLIENTID}
103103
clientSecret: ${KEYCLOAK_AUTH_CLIENT_SECRET}
104104
schedule:
105-
frequency: { minutes: 1 }
105+
# Let's perform a single execution per test run
106+
frequency: { hours: 24 }
106107
timeout: { minutes: 1 }
107108
githubOrg:
108109
id: production

.ibm/pipelines/resources/config_map/app-config-rhdh.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ catalog:
176176
clientId: ${KEYCLOAK_AUTH_CLIENTID}
177177
clientSecret: ${KEYCLOAK_AUTH_CLIENT_SECRET}
178178
schedule:
179-
frequency: { minutes: 1 }
179+
# Let's perform a single execution per test run
180+
frequency: { hours: 24 }
180181
timeout: { minutes: 1 }
181182
badConfigForMetrics:
182183
baseUrl: ${KEYCLOAK_AUTH_BASE_URL}/auth
@@ -187,14 +188,15 @@ catalog:
187188
clientSecret: ABC
188189
schedule:
189190
# Let's perform a single execution to trigger the metrics fetch failure counter; next fetch will never happen again.
190-
frequency: { minutes: 10000 }
191+
frequency: { hours: 24 }
191192
timeout: { minutes: 1 }
192193
initialDelay: { seconds: 15 }
193194
github:
194195
providerId:
195196
organization: "${GITHUB_ORG}"
196197
schedule:
197-
frequency: { minutes: 30 }
198+
# Let's perform a single execution
199+
frequency: { hours: 24 }
198200
timeout: { minutes: 30 }
199201
githubOrg:
200202
id: production
@@ -206,8 +208,9 @@ catalog:
206208
group: rhdh-qe-test
207209
host: gitlab.com
208210
schedule:
211+
# Let's perform a single execution per test run
209212
frequency:
210-
minutes: 1
213+
hours: 24
211214
initialDelay:
212215
seconds: 15
213216
timeout:

0 commit comments

Comments
 (0)