Skip to content

Commit a0471f7

Browse files
authored
Merge pull request #227 from Roming22/main
feat: Rename RHTAP to TSSC
2 parents 8e117d4 + 31512c8 commit a0471f7

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

hack/get-github-app-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -o errexit -o nounset -o pipefail
33

4-
kubectl -n rhtap get secret rhtap-github-integration -o json | jq --raw-output '
4+
kubectl -n rhtap get secret tssc-github-integration -o json | jq --raw-output '
55
.data |
66
{
77
GITHUB__APP__ID: .id,

hack/get-trustification-env.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ set -o errexit -o nounset -o pipefail
77
# - Set the generated env vars before running the promotion pipeline
88
# - e.g. with `eval "$(hack/get-trustification-env.sh)"`
99

10-
TPA_NAMESPACE=${TPA_NAMESPACE:-'rhtap-tpa'}
11-
KEYCLOAK_NAMESPACE=${KEYCLOAK_NAMESPACE:-'rhtap-keycloak'}
10+
TPA_NAMESPACE=${TPA_NAMESPACE:-'tssc-tpa'}
11+
KEYCLOAK_NAMESPACE=${KEYCLOAK_NAMESPACE:-'tssc-keycloak'}
1212

1313
declare -A trustification_env
1414

1515
trustification_env=(
1616
[BOMBASTIC_API_URL]="https://$(oc -n "$TPA_NAMESPACE" get route --selector app.kubernetes.io/name=bombastic-api -o jsonpath='{.items[].spec.host}')"
1717
[OIDC_ISSUER_URL]="https://$(oc -n "$KEYCLOAK_NAMESPACE" get route --selector app=keycloak -o jsonpath='{.items[].spec.host}')/realms/chicken"
1818
[OIDC_CLIENT_ID]=walker
19-
[OIDC_CLIENT_SECRET]=$(oc -n rhtap-tpa get secret tpa-realm-chicken-clients -o go-template='{{.data.walker | base64decode}}')
19+
[OIDC_CLIENT_SECRET]=$(oc -n tssc-tpa get secret tpa-realm-chicken-clients -o go-template='{{.data.walker | base64decode}}')
2020
[SUPPORTED_CYCLONEDX_VERSION]=1.4
2121
)
2222

init-tas-vars.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44
echo "Checking for REKOR and TUF"
55

66
# get hosts, if errors occur or cannot find routes, set to none
7-
RT=$(oc get routes -n rhtap-tas -o name 2> /dev/null | grep rekor-server)
7+
RT=$(oc get routes -n tssc-tas -o name 2> /dev/null | grep rekor-server)
88
if [[ $RT == "" ]]; then
99
export REKOR_HOST=''
1010
export IGNORE_REKOR=true
1111
else
12-
HOST=$(oc get -n rhtap-tas $RT -o jsonpath={.spec.host})
12+
HOST=$(oc get -n tssc-tas $RT -o jsonpath={.spec.host})
1313
export REKOR_HOST=https://$HOST
1414
export IGNORE_REKOR=false
1515
fi
1616

17-
RT=$(oc get routes -n rhtap-tas -o name 2> /dev/null | grep tuf)
17+
RT=$(oc get routes -n tssc-tas -o name 2> /dev/null | grep tuf)
1818
if [[ $RT == "" ]]; then
1919
export TUF_MIRROR=''
2020
else
21-
HOST=$(oc get -n rhtap-tas $RT -o jsonpath={.spec.host})
21+
HOST=$(oc get -n tssc-tas $RT -o jsonpath={.spec.host})
2222
export TUF_MIRROR=https://$HOST
2323
fi
2424

rhtap/env.template.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ export TARGET_BRANCH=${TARGET_BRANCH-""}
4141
# enterprise contract
4242
export POLICY_CONFIGURATION=${POLICY_CONFIGURATION-"github.com/enterprise-contract/config//rhtap-v0.6"}
4343
#internal, assumes jenkins is local openshift
44-
export REKOR_HOST=${REKOR_HOST-http://rekor-server.rhtap-tas.svc}
44+
export REKOR_HOST=${REKOR_HOST-http://rekor-server.tssc-tas.svc}
4545
export IGNORE_REKOR=${IGNORE_REKOR-false}
4646
export INFO=${INFO-true}
4747
export STRICT=${STRICT-true}
4848
export EFFECTIVE_TIME=${EFFECTIVE_TIME-now}
4949
export HOMEDIR=${HOMEDIR-$(pwd)}
50-
export TUF_MIRROR=${TUF_MIRROR-http://tuf.rhtap-tas.svc}
50+
export TUF_MIRROR=${TUF_MIRROR-http://tuf.tssc-tas.svc}
5151

5252
# Allow PR to succeed even if TAS vars not configured
5353
export FAIL_IF_TRUSTIFICATION_NOT_CONFIGURED=false

0 commit comments

Comments
 (0)