Skip to content

Commit 973957f

Browse files
authored
Debug deployment (#77)
* Debug deployment * Do not install fedcloud from repo * Export into the env the token
1 parent e837071 commit 973957f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
curl -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 > jq
2929
chmod +x jq
30-
pip install yq ansible git+https://github.com/tdviet/fedcloudclient.git
30+
pip install yq ansible fedcloudclient
3131
# add PWD to the PATH
3232
echo "$PWD" >> "$GITHUB_PATH"
3333
- name: Configure providers access
@@ -46,6 +46,7 @@ jobs:
4646
| jq -r ".access_token")
4747
echo "::add-mask::$OIDC_TOKEN"
4848
echo "OIDC_TOKEN=$OIDC_TOKEN" >> "$GITHUB_ENV"
49+
export OIDC_TOKEN="$OIDC_TOKEN"
4950
cd deployment
5051
./site-config.sh
5152
- name: Setup Terraform

deployment/site-config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dump_config() {
1212
site="$2"
1313
vo="$3"
1414
oidc_token="$4"
15+
set -x
1516
token="$(fedcloud openstack token issue \
1617
--oidc-access-token "$oidc_token" \
1718
--site "$site" --vo "$vo" -j |

0 commit comments

Comments
 (0)