Skip to content

Commit

Permalink
tokens config
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreat committed Apr 4, 2024
1 parent c4b819c commit 8c6f0c4
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/mobilecoin-workflow-dev-setup-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ on:
DEV_RANCHER_TOKEN:
description: "Rancher access token"
required: true
DEV_TOKENS_CONFIG_V1_JSON:
description: "dev signed tokens config json"
required: true
DEV_TOKENS_CONFIG_V2_JSON:
description: "dev signed tokens config json"
required: true
Expand All @@ -118,24 +115,12 @@ on:
MAIN_IAS_SPID:
description: "MainNet IAS"
required: true
MAIN_TOKENS_CONFIG_V1_JSON:
description: "MainNet signed tokens config json"
required: true
MAIN_TOKENS_CONFIG_V2_JSON:
description: "MainNet signed tokens config json"
required: true
TEST_IAS_KEY:
description: "TestNet IAS"
required: true
TEST_IAS_SPID:
description: "TestNet IAS"
required: true
TEST_TOKENS_CONFIG_V1_JSON:
description: "TestNet signed tokens config json"
required: true
TEST_TOKENS_CONFIG_V2_JSON:
description: "TestNet signed tokens config json"
required: true

env:
BASE_PATH: .tmp
Expand Down Expand Up @@ -225,12 +210,7 @@ jobs:

- name: Write tokens.signed.json
env:
DEV_TOKENS_CONFIG_V1_JSON: ${{ secrets.DEV_TOKENS_CONFIG_V1_JSON }}
DEV_TOKENS_CONFIG_V2_JSON: ${{ secrets.DEV_TOKENS_CONFIG_V2_JSON }}
MAIN_TOKENS_CONFIG_V1_JSON: ${{ secrets.MAIN_TOKENS_CONFIG_V1_JSON }}
MAIN_TOKENS_CONFIG_V2_JSON: ${{ secrets.MAIN_TOKENS_CONFIG_V2_JSON }}
TEST_TOKENS_CONFIG_V1_JSON: ${{ secrets.TEST_TOKENS_CONFIG_V1_JSON }}
TEST_TOKENS_CONFIG_V2_JSON: ${{ secrets.TEST_TOKENS_CONFIG_V2_JSON }}
run: |
# Create base path
mkdir -p "${BASE_PATH}"
Expand Down Expand Up @@ -401,21 +381,6 @@ jobs:
object_name: fog-mobilecoind
src: ${{ env.MOBILECOIND_BASE_PATH }}

- name: Write tokens.signed.json
env:
DEV_TOKENS_CONFIG_V1_JSON: ${{ secrets.DEV_TOKENS_CONFIG_V1_JSON }}
DEV_TOKENS_CONFIG_V2_JSON: ${{ secrets.DEV_TOKENS_CONFIG_V2_JSON }}
MAIN_TOKENS_CONFIG_V1_JSON: ${{ secrets.MAIN_TOKENS_CONFIG_V1_JSON }}
MAIN_TOKENS_CONFIG_V2_JSON: ${{ secrets.MAIN_TOKENS_CONFIG_V2_JSON }}
TEST_TOKENS_CONFIG_V1_JSON: ${{ secrets.TEST_TOKENS_CONFIG_V1_JSON }}
TEST_TOKENS_CONFIG_V2_JSON: ${{ secrets.TEST_TOKENS_CONFIG_V2_JSON }}
run: |
# Create base path
mkdir -p "${BASE_PATH}"
# Set dev/main/test tokens file based on semver tag.
.internal-ci/util/set_tokens_config_version.sh ${{ inputs.version }} > "${TOKENS_PATH}"
- name: Deploy PostgreSQL instance
uses: mobilecoinofficial/gha-k8s-toolbox@v1
with:
Expand Down

0 comments on commit 8c6f0c4

Please sign in to comment.