-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update scripts to pass shellcheck
See https://github.com/koalaman/shellcheck Remove unusued files: * push.sh * Dockerfile.e2e * frontend/test-e2e.sh
- Loading branch information
Showing
14 changed files
with
102 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# shellcheck shell=bash | ||
# Source this script: "source ./chromium-version.sh" | ||
|
||
# Chrome Version 76.0.3809.0 (Developer Build) (64-bit) | ||
export FORCE_CHROME_BRANCH_BASE="665006" | ||
export FORCE_CHROME_BRANCH_SHA256SUM="a1ae2e0950828f991119825f62c24464ab3765aa219d150a94fb782a4c66a744" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,43 @@ | ||
# This file is an example of how you might set up your environment to | ||
# run the tectonic console against OpenShift during development. To use it for running | ||
# bridge, do | ||
# shellcheck shell=bash | ||
# | ||
# This file is an example of how you might set up your environment to run the | ||
# console against an OpenShift cluster during development. To use it for | ||
# running bridge, do | ||
# | ||
# . contrib/oc-environment.sh | ||
# ./bin/bridge | ||
# | ||
# You'll need oc, and you'll need to be logged into a cluster. | ||
# | ||
# The environment variables beginning with "BRIDGE_" act just like bridge | ||
# command line arguments - in fact. to get more information about any of them, | ||
# you can run ./bin/bridge --help | ||
|
||
BRIDGE_USER_AUTH="disabled" | ||
export BRIDGE_USER_AUTH | ||
|
||
BRIDGE_K8S_MODE="off-cluster" | ||
export BRIDGE_K8S_MODE | ||
|
||
BRIDGE_K8S_MODE_OFF_CLUSTER_ENDPOINT=$(oc whoami --show-server) | ||
export BRIDGE_K8S_MODE_OFF_CLUSTER_ENDPOINT | ||
|
||
BRIDGE_K8S_MODE_OFF_CLUSTER_SKIP_VERIFY_TLS=true | ||
export BRIDGE_K8S_MODE_OFF_CLUSTER_SKIP_VERIFY_TLS | ||
|
||
BRIDGE_K8S_MODE_OFF_CLUSTER_THANOS=$(oc -n openshift-monitoring get configmap sharing-config -o jsonpath='{.data.thanosURL}') | ||
export BRIDGE_K8S_MODE_OFF_CLUSTER_THANOS | ||
|
||
BRIDGE_K8S_MODE_OFF_CLUSTER_PROMETHEUS=$(oc -n openshift-monitoring get configmap sharing-config -o jsonpath='{.data.prometheusURL}') | ||
export BRIDGE_K8S_MODE_OFF_CLUSTER_PROMETHEUS | ||
|
||
BRIDGE_K8S_MODE_OFF_CLUSTER_ALERTMANAGER=$(oc -n openshift-monitoring get configmap sharing-config -o jsonpath='{.data.alertmanagerURL}') | ||
export BRIDGE_K8S_MODE_OFF_CLUSTER_ALERTMANAGER | ||
|
||
BRIDGE_K8S_AUTH="bearer-token" | ||
export BRIDGE_K8S_AUTH | ||
|
||
# You'll need a working oc logged in, and you'll need jq installed and in your | ||
# path for this script to work correctly. | ||
|
||
# The environment variables beginning with "BRIDGE_" act just like | ||
# bridge command line arguments - in fact. to get more information | ||
# about any of them, you can run ./bin/bridge --help | ||
|
||
export BRIDGE_USER_AUTH="disabled" | ||
export BRIDGE_K8S_MODE="off-cluster" | ||
export BRIDGE_K8S_MODE_OFF_CLUSTER_ENDPOINT=$(oc whoami --show-server) | ||
export BRIDGE_K8S_MODE_OFF_CLUSTER_SKIP_VERIFY_TLS=true | ||
export BRIDGE_K8S_MODE_OFF_CLUSTER_THANOS=$(oc -n openshift-monitoring get configmap sharing-config -o jsonpath='{.data.thanosURL}') | ||
export BRIDGE_K8S_MODE_OFF_CLUSTER_PROMETHEUS=$(oc -n openshift-monitoring get configmap sharing-config -o jsonpath='{.data.prometheusURL}') | ||
export BRIDGE_K8S_MODE_OFF_CLUSTER_ALERTMANAGER=$(oc -n openshift-monitoring get configmap sharing-config -o jsonpath='{.data.alertmanagerURL}') | ||
export BRIDGE_K8S_AUTH="bearer-token" | ||
export BRIDGE_K8S_AUTH_BEARER_TOKEN=$(oc whoami --show-token) | ||
BRIDGE_K8S_AUTH_BEARER_TOKEN=$(oc whoami --show-token) | ||
export BRIDGE_K8S_AUTH_BEARER_TOKEN | ||
|
||
echo "Using $BRIDGE_K8S_MODE_OFF_CLUSTER_ENDPOINT" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
shellcheck --external-sources -- *.sh contrib/*.sh examples/*.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.