Skip to content

Commit 2a2562b

Browse files
Update scripts
Signed-off-by: Lukasz Gryglicki <lgryglicki@cncf.io> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
1 parent f8a0b75 commit 2a2562b

4 files changed

Lines changed: 6 additions & 0 deletions

File tree

utils/aws_example_api_logs_usage.sh

100644100755
File mode changed.

utils/clear_cache_go.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# API_URL=https://api-gw.dev.platform.linuxfoundation.org/cla-service DEBUG='' ./utils/clear_cache_go.sh
23

34
if [ -z "$TOKEN" ]
45
then

utils/clear_cache_py.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# 2a) on local (non remote) computer: ~/get_oauth_token.sh (or ~/get_oauth_token_prod.sh) (will open browser, authenticate to LF, and return token data)
66
# 2b) edit 'cla/auth.py': uncomment: 'LG: for local environment override', then run server via: clear && AUTH0_USERNAME_CLAIM_CLI='http://lfx.dev/claims/username' yarn serve:ext
77
# 2c) then TOKEN='value from the get_oauth_token.sh script' DEBUG='' ./utils/clear_cache_py.sh
8+
# Example:
9+
# API_URL=https://api.lfcla.dev.platform.linuxfoundation.org DEBUG='' ./utils/clear_cache_py.sh
810

911
if [ -z "$TOKEN" ]
1012
then

utils/delete_user_repository_project_signature.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22
# DRY=1 - dry run
33
# DRY=1 ./utils/delete_user_repository_project_signature.sh mlehotskylf-org2/easycla-dev lukaszgryglicki
4+
# For ECLA use 'Infosys Limited' on dev - it has lukaszgryglicki allowlisted and ICLA+ECLA requirement
5+
# ./utils/delete_user_repository_project_signature.sh 'mlehotskylf-org2/easycla-dev' lukaszgryglicki ; API_URL=https://api-gw.dev.platform.linuxfoundation.org/cla-service DEBUG='' ./utils/clear_cache_go.sh ; API_URL=https://api.lfcla.dev.platform.linuxfoundation.org DEBUG='' ./utils/clear_cache_py.sh
6+
47
if [ -z "$STAGE" ]
58
then
69
export STAGE=dev

0 commit comments

Comments
 (0)