Details
-
Type:
Task
-
Status: To-Do (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:3
-
Epic Link:
-
Sprint:Summer 2026
Description
Bitbucket wants us to migrate to using tokens with scoped permissions in our pipeline scripts.
For this task, let's update all the IGB App repositories in the lorainelab workspace in bitbucket to use two new repository variables: TOKEN and EMAIL.
The TOKEN should be a scoped bitbucket token with scope write:repository:bitbucket. The EMAIL should correspond to a user with write permissions for the Loraine Lab workspace. Currently, that is [~ann.loraine] only. Someone will need to update all the IGB App repositories' repository variables to have TOKEN and EMAIL.
Strategy:
For each repository:
- Edit the bitbucket pipeline YML to use TOKEN and EMAIL, merged into the lorainelab repo
- Add repository variables TOKEN and EMAIL to every repository
- As an example, see: https://bitbucket.org/lorainelab/reads-without-large-gaps/src/main/bitbucket-pipelines.yml
Note that bitbucket is changing it's forking rules. I don't know how this will affect our usual workflow of submitting PR's from forks.
Attachments
Issue Links
- relates to
-
IGBF-4419 Use API tokens in Loraine Lab Bitbucket pipelines
-
- Closed
-
Can I use the bitbucket API to list all repositories in the IGB Apps project?