Skip to content

Commit

Permalink
try yet another variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Jan 3, 2024
1 parent 182266e commit d9709a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jobs:
LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
LOGSTREAM_LOG_TARGETS: ${{ vars.LOGSTREAM_LOG_TARGETS }}
GRAFANA_URL: ${{ vars.GRAFANA_URL }}
BASE64_CONFIG_OVERRIDE_SECRET: "override-me"
BASE64_CONFIG_OVERRIDE_TOKEN: "override-me"
run: |
echo "::add-mask::$CHAINLINK_IMAGE"
Expand Down Expand Up @@ -343,8 +343,8 @@ jobs:
url="$GRAFANA_URL"
EOF
echo "::add-mask::$BASE64_CONFIG_OVERRIDE_SECRET"
echo "BASE64_CONFIG_OVERRIDE_SECRET=$(cat config.toml | base64 -w 0)" >> $GITHUB_ENV
echo "::add-mask::$BASE64_CONFIG_OVERRIDE_TOKEN"
echo "BASE64_CONFIG_OVERRIDE_TOKEN=$(cat config.toml | base64 -w 0)" >> $GITHUB_ENV
## Run this step when changes that require tests to be run are made
- name: Run Tests
if: needs.changes.outputs.src == 'true'
Expand Down Expand Up @@ -548,7 +548,7 @@ jobs:
LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
LOGSTREAM_LOG_TARGETS: ${{ vars.LOGSTREAM_LOG_TARGETS }}
GRAFANA_URL: ${{ vars.GRAFANA_URL }}
BASE64_CONFIG_OVERRIDE_SECRET : "override-me"
BASE64_CONFIG_OVERRIDE_TOKEN : "override-me"
run: |
echo "::add-mask::$CHAINLINK_IMAGE"
Expand Down Expand Up @@ -616,8 +616,8 @@ jobs:
url="$GRAFANA_URL"
EOF
echo "::add-mask::$BASE64_CONFIG_OVERRIDE_SECRET"
echo "BASE64_CONFIG_OVERRIDE_SECRET=$(cat config.toml | base64 -w 0)" >> $GITHUB_ENV
echo "::add-mask::$BASE64_CONFIG_OVERRIDE_TOKEN"
echo "BASE64_CONFIG_OVERRIDE_TOKEN=$(cat config.toml | base64 -w 0)" >> $GITHUB_ENV
## Run this step when changes that require tests to be run are made
- name: Run Tests
if: needs.changes.outputs.src == 'true'
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/testconfig/testconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func GetConfigurationNameFromEnv() (string, error) {
}

const (
Base64OverrideEnvVarName = "BASE64_CONFIG_OVERRIDE_SECRET"
Base64OverrideEnvVarName = "BASE64_CONFIG_OVERRIDE_TOKEN"
NoKey = "NO_KEY"
)

Expand Down

0 comments on commit d9709a1

Please sign in to comment.