Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bitbucket commands #235

Merged
merged 16 commits into from
Sep 12, 2023
Merged

Add Bitbucket commands #235

merged 16 commits into from
Sep 12, 2023

Conversation

begonaguereca
Copy link
Collaborator

@begonaguereca begonaguereca commented Aug 16, 2023

What's changing?

✨ BITBUCKET RELEASE TIME ✨

How's this tested?

Help 
dotnet run --project src/ActionsImporter/ActionsImporter.csproj -- audit bitbucket --help

dotnet run --project src/ActionsImporter/ActionsImporter.csproj -- dry-run bitbucket --help

dotnet run --project src/ActionsImporter/ActionsImporter.csproj -- migrate bitbucket --help


Audit: 
PREFIX THIS ---> `dotnet run --project src/ActionsImporter/ActionsImporter.csproj --`

audit bitbucket -o tmp/ --workspace actions-importer  
audit bitbucket -o tmp/ -w actions-importer  
audit bitbucket -o tmp/ -w actions-importer --project-key SW
audit bitbucket -o tmp/ -w actions-importer -p SW
audit bitbucket -o tmp/ -w actions-importer -p SW --config-file-path spec/fixtures/source_files/bitbucket/config.yml


Dry-run build 
PREFIX THIS ---> `dotnet run --project src/ActionsImporter/ActionsImporter.csproj --`

dry-run bitbucket -o tmp/ -w actions-importer --repository jon-snow 
dry-run  bitbucket -o tmp/ -w actions-importer -r jon-snow 
dry-run bitbucket -o tmp/ -w actions-importer -r jon-snow --source-file-path spec/fixtures/source_files/bitbucket/bitbucket
dry-run bitbucket -o tmp/ -w actions-importer -r jon-snow  --config-file-path spec/fixtures/source_files/bitbucket/config.yml
 

Migrate build
PREFIX THIS ---> `dotnet run --project src/ActionsImporter/ActionsImporter.csproj --`

migrate bitbucket -o tmp/ -w actions-importer --repository jon-snow --target-url https://github.com/begonaguereca/demo
migrate bitbucket -o tmp/ -w actions-importer -r jon-snow   --target-url https://github.com/begonaguereca/demo 
migrate bitbucket -o tmp/ -w actions-importer -r jon-snow  --source-file-path spec/fixtures/source_files/bamboo/bamboo.yml --target-url https://github.com/begonaguereca/demo
migrate bitbucket -o tmp/ -w actions-importer -r jon-snow  --config-file-path spec/fixtures/source_files/bitbucket/config.yml --target-url https://github.com/begonaguereca/demo

FORECAST

dotnet run --project src/ActionsImporter/ActionsImporter.csproj -- forecast bitbucket --workspace actions-importer -o output/forecast 

With --project-key

dotnet run --project src/ActionsImporter/ActionsImporter.csproj -- forecast bitbucket --workspace actions-importer -o output/forecast --project-key SW

Closes github/valet#6641

@github-actions
Copy link

github-actions bot commented Aug 16, 2023

Unit Test Results

42 tests  +1   42 ✔️ +1   0s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ±0 

Results for commit 587e99d. ± Comparison against base commit b36e329.

♻️ This comment has been updated with latest results.

@github github deleted a comment from goldavaleria Sep 11, 2023
@github github deleted a comment from goldavaleria Sep 11, 2023
README.md Outdated Show resolved Hide resolved
Co-authored-by: Ethan Dennis <ethanis@github.com>
@begonaguereca begonaguereca marked this pull request as ready for review September 12, 2023 15:31
@begonaguereca begonaguereca requested a review from a team as a code owner September 12, 2023 15:31
Bitbucket:  Add support for `forecast` command
Copy link
Contributor

@Chaseshak Chaseshak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commands are working for me and look correct

Copy link
Contributor

@j-dunham j-dunham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@begonaguereca begonaguereca merged commit 4b1f8af into main Sep 12, 2023
5 checks passed
@begonaguereca begonaguereca deleted the add-bb-commands branch September 12, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants