Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
zramsay committed Sep 28, 2023
1 parent 008ee35 commit e4230ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions app/data/container-build/cerc-builder-js/build-npm-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ fi
echo "GITEA ACTIONS 1 is: $GITEA_ACTIONS"
echo "GITEA ACTIONS 2 is: ${GITEA_ACTIONS}"

echo "token 1 is: $CERC_NPM_AUTH_TOKEN"
echo "token 2 is: ${CERC_NPM_AUTH_TOKEN}"

if [[ "$GITEA_ACTIONS" = "true" ]]; then
echo "WORKS"
else
Expand Down
4 changes: 2 additions & 2 deletions tests/gitea/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ echo "Environment variables:"
env

echo "holla 1 $GITEA_ACTIONS"
export GITEA_ACTIONS=true
echo "holla 2 $GITEA_ACTIONS"
echo "Running gitea test"

# Bit of a hack, test the most recent package
Expand All @@ -32,6 +30,8 @@ $TEST_TARGET_SO --stack package-registry build-containers
output=$($TEST_TARGET_SO --stack package-registry deploy-system up)
token=$(echo $output | grep -o 'export CERC_NPM_AUTH_TOKEN=[^ ]*' | cut -d '=' -f 2)
export CERC_NPM_AUTH_TOKEN=$token
export GITEA_ACTIONS=true
echo "holla 2 $GITEA_ACTIONS"
$TEST_TARGET_SO --stack fixturenet-laconicd setup-repositories
$TEST_TARGET_SO --stack fixturenet-laconicd --verbose --debug build-npms --include laconic-sdk

Expand Down

0 comments on commit e4230ee

Please sign in to comment.