Skip to content

Commit

Permalink
Update get_credentials.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrie30 committed May 25, 2024
1 parent 2fb4923 commit ab6fc62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/local-gitlab/get_credentials.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ done

set -x

docker exec -it gitlab gitlab-rails runner "token = User.find_by_username('root').personal_access_tokens.create(scopes: [:api, :read_api, :sudo], name: 'CI Test Token', expires_at: 365.days.from_now); token.set_token('password'); token.save!"
docker exec gitlab gitlab-rails runner "token = User.find_by_username('root').personal_access_tokens.create(scopes: [:api, :read_api, :sudo], name: 'CI Test Token', expires_at: 365.days.from_now); token.set_token('password'); token.save!"

API_TOKEN="password"

Expand Down

0 comments on commit ab6fc62

Please sign in to comment.