Chaseshak / importer-issue-ops

MIT License
0 stars 0 forks source link

[Bitbucket]: Test #3

Open Chaseshak opened 1 year ago

Chaseshak commented 1 year ago

Inputs

Provide the following required inputs:

Workspace: actions-importer

Available commands

The following commands can be executed by adding a comment to this issue:

Chaseshak commented 1 year ago

/audit

github-actions[bot] commented 1 year ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2023-08-10 16:17:06 +0000 by logger.rb/v1.5.3 I, [2023-08-10T16:17:06.262290 #1] INFO -- : Using GitHub Features: Defaults I, [2023-08-10T16:17:06.262326 #1] INFO -- : Auditing 'https://bitbucket.org/actions-importer' I, [2023-08-10T16:17:06.298340 #1] INFO -- request: GET https://api.github.com/user I, [2023-08-10T16:17:06.394224 #1] INFO -- response: Status 200 I, [2023-08-10T16:17:06.395708 #1] INFO -- : Sending telemetry with transaction id 'a25b692b-6928-4e52-834f-9f06169dcd60' E, [2023-08-10T16:17:06.488873 #1] ERROR -- : Unable to locate credentials for 'https://bitbucket.org/' /usr/local/bundle/gems/actions_importer-1.3.20618/lib/valet/models/credentials_store.rb:100:in `credentials_for_url' /usr/local/bundle/gems/actions_importer-1.3.20618/lib/valet/adapters/base/api_client_factory.rb:10:in `retrieve_or_build_client' /usr/local/bundle/gems/actions_importer-1.3.20618/lib/valet/adapters/bitbucket/api_client_factory.rb:11:in `build' /usr/local/bundle/gems/sorbet-runtime-0.5.10648/lib/types/private/methods/call_validation.rb:256:in `bind_call' /usr/local/bundle/gems/sorbet-runtime-0.5.10648/lib/types/private/methods/call_validation.rb:256:in `validate_call' /usr/local/bundle/gems/sorbet-runtime-0.5.10648/lib/types/private/methods/_methods.rb:275:in `block in _on_method_added' /usr/local/bundle/gems/actions_importer-1.3.20618/lib/valet/services/bitbucket/extract_all_pipelines.rb:38:in `pipelines_from_client' /usr/local/bundle/gems/sorbet-runtime-0.5.10648/lib/types/private/methods/call_validation.rb:256:in `bind_call' /usr/local/bundle/gems/sorbet-runtime-0.5.10648/lib/types/private/methods/call_validation.rb:256:in `validate_call' /usr/local/bundle/gems/sorbet-runtime-0.5.10648/lib/types/private/methods/_methods.rb:275:in `block in _on_method_added' /usr/local/bundle/gems/actions_importer-1.3.20618/lib/valet/services/bitbucket/extract_all_pipelines.rb:17:in `call' /usr/local/bundle/gems/sorbet-runtime-0.5.10648/lib/types/private/methods/call_validation.rb:256:in `bind_call' /usr/local/bundle/gems/sorbet-runtime-0.5.10648/lib/types/private/methods/call_validation.rb:256:in `validate_call' /usr/local/bundle/gems/sorbet-runtime-0.5.10648/lib/types/private/methods/_methods.rb:275:in `block in _on_method_added' /usr/local/bundle/gems/actions_importer-1.3.20618/lib/valet/adapters/provider_resolver.rb:66:in `call' /usr/local/bundle/gems/actions_importer-1.3.20618/lib/valet/commands/audit.rb:16:in `block in call' /usr/local/bundle/gems/actions_importer-1.3.20618/lib/valet/logger.rb:92:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.3.20618/lib/valet/commands/audit.rb:15:in `call' /usr/local/bundle/gems/actions_importer-1.3.20618/lib/valet/subcommands/audit.rb:178:in `bitbucket' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.2/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.2/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.3.20618/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' ```
Chaseshak commented 1 year ago

/audit

github-actions[bot] commented 1 year ago

Audit successfully completed :rocket:

Download full results here

Audit summary :point_down: ``` # Audit summary Summary for [Bitbucket instance](https://bitbucket.org/actions-importer) - GitHub Actions Importer version: **1.3.20618 (c4a7676426f18eb68da00f04901c401fe6487233)** - Performed at: **8/10/23 at 17:46** ## Pipelines Total: **19** - Successful: **12 (63%)** - Partially successful: **3 (15%)** - Unsupported: **0 (0%)** - Failed: **4 (21%)** ### Job types Supported: **19 (100%)** - YAML: **19** ### Build steps Total: **105** Known: **101 (96%)** - script: **79** - cache-node: **7** - atlassian/git-secrets-scan: **6** - atlassian/slack-notify: **4** - atlassian/aws-s3-deploy: **1** - atlassian/checkstyle-report: **1** - atlassian/aws-cloudformation-deploy: **1** - cache-bundler-packages: **1** - atlassian/npm-publish: **1** Unknown: **4 (3%)** - pipe: **2** - atlassian/aws-elasticbeanstalk-deploy:1.1.1: **1** - atlassian/azure-web-apps-deploy:1.0.1: **1** Actions: **187** - run: **87** - actions/checkout@v3.5.0: **75** - actions/cache@v3.3.1: **8** - actions/download-artifact@v3.0.1: **6** - slackapi/slack-github-action@v1.24.0: **4** - actions/upload-artifact@v3.1.1: **3** - aws-actions/configure-aws-credentials@v2.2.0: **1** - actions/setup-node@v3.7.0: **1** - aws-actions/aws-cloudformation-github-deploy@v1.2.0: **1** - jwgmeligmeyling/checkstyle-github-action@v1.2: **1** ### Triggers Total: **43** Known: **42 (97%)** - default: **13** - branches: **13** - tags: **6** - pull-requests: **6** - custom: **4** Unsupported: **1 (2%)** - schedule: **1** Actions: **42** - push: **32** - pull_request: **6** - workflow_dispatch: **4** ### Environment Total: **87** Known: **87 (100%)** - king: **43** - important_workspace_env: **42** - Death_is_so_final: **1** - repo_var_name: **1** Actions: **132** - king: **43** - queen: **43** - important_workspace_env: **42** - i_drink: **1** - Death_is_so_final: **1** - repo_var_name_not_secure: **1** - repo_var_name: **1** ### Other Total: **5** Known: **5 (100%)** - important_env: **2** - DEPLOYMENT_SECRET_KEY: **2** - staging_env: **1** Actions: **7** - DEPLOYMENT_SECRET_KEY: **2** - important_env: **2** - my-mariadb: **1** - blasdflasd: **1** - staging_env: **1** ### Manual tasks Total: **12** Secrets: **10** - `${{ secrets.repo_var_name }}`: **1** - `${{ secrets.Death_is_so_final }}`: **1** - `${{ secrets.king }}`: **1** - `${{ secrets.AWS_ACCESS_KEY_ID }}`: **2** - `${{ secrets.AWS_SECRET_ACCESS_KEY }}`: **2** - `${{ secrets.AWS_DEFAULT_REGION }}`: **2** - `${{ secrets.NPM_TOKEN }}`: **1** Self hosted runners: **2** - `linux.shell`: **2** ### Successful #### actions-importer/jon-snow - [actions-importer/jon-snow/.github/workflows/default.yml](actions-importer/jon-snow/.github/workflows/default.yml) - [actions-importer/jon-snow/config.json](actions-importer/jon-snow/config.json) - [actions-importer/jon-snow/source.yml](actions-importer/jon-snow/source.yml) #### actions-importer/tyrion-lannister - [actions-importer/tyrion-lannister/.github/workflows/default.yml](actions-importer/tyrion-lannister/.github/workflows/default.yml) - [actions-importer/tyrion-lannister/config.json](actions-importer/tyrion-lannister/config.json) - [actions-importer/tyrion-lannister/source.yml](actions-importer/tyrion-lannister/source.yml) #### actions-importer/princess-leia - [actions-importer/princess-leia/.github/workflows/default.yml](actions-importer/princess-leia/.github/workflows/default.yml) - [actions-importer/princess-leia/config.json](actions-importer/princess-leia/config.json) - [actions-importer/princess-leia/source.yml](actions-importer/princess-leia/source.yml) #### actions-importer/cersei-lannister - [actions-importer/cersei-lannister/.github/workflows/default.yml](actions-importer/cersei-lannister/.github/workflows/default.yml) - [actions-importer/cersei-lannister/config.json](actions-importer/cersei-lannister/config.json) - [actions-importer/cersei-lannister/source.yml](actions-importer/cersei-lannister/source.yml) #### actions-importer/viserys-targaryen - [actions-importer/viserys-targaryen/.github/workflows/branches-feature.yml](actions-importer/viserys-targaryen/.github/workflows/branches-feature.yml) - [actions-importer/viserys-targaryen/.github/workflows/branches-hotfix.yml](actions-importer/viserys-targaryen/.github/workflows/branches-hotfix.yml) - [actions-importer/viserys-targaryen/.github/workflows/branches.yml](actions-importer/viserys-targaryen/.github/workflows/branches.yml) - [actions-importer/viserys-targaryen/config.json](actions-importer/viserys-targaryen/config.json) - [actions-importer/viserys-targaryen/source.yml](actions-importer/viserys-targaryen/source.yml) #### actions-importer/r2-d2 - [actions-importer/r2-d2/.github/workflows/default.yml](actions-importer/r2-d2/.github/workflows/default.yml) - [actions-importer/r2-d2/.github/workflows/branches-test.yml](actions-importer/r2-d2/.github/workflows/branches-test.yml) - [actions-importer/r2-d2/config.json](actions-importer/r2-d2/config.json) - [actions-importer/r2-d2/source.yml](actions-importer/r2-d2/source.yml) #### actions-importer/basic-pipeline - [actions-importer/basic-pipeline/.github/workflows/default.yml](actions-importer/basic-pipeline/.github/workflows/default.yml) - [actions-importer/basic-pipeline/config.json](actions-importer/basic-pipeline/config.json) - [actions-importer/basic-pipeline/source.yml](actions-importer/basic-pipeline/source.yml) #### actions-importer/pipe-it-up - [actions-importer/pipe-it-up/.github/workflows/default.yml](actions-importer/pipe-it-up/.github/workflows/default.yml) - [actions-importer/pipe-it-up/.github/workflows/branches-main.yml](actions-importer/pipe-it-up/.github/workflows/branches-main.yml) - [actions-importer/pipe-it-up/config.json](actions-importer/pipe-it-up/config.json) - [actions-importer/pipe-it-up/source.yml](actions-importer/pipe-it-up/source.yml) #### actions-importer/custom-trigger - [actions-importer/custom-trigger/.github/workflows/custom-build-with-inputs.yml](actions-importer/custom-trigger/.github/workflows/custom-build-with-inputs.yml) - [actions-importer/custom-trigger/.github/workflows/custom-build-no-inputs.yml](actions-importer/custom-trigger/.github/workflows/custom-build-no-inputs.yml) - [actions-importer/custom-trigger/config.json](actions-importer/custom-trigger/config.json) - [actions-importer/custom-trigger/source.yml](actions-importer/custom-trigger/source.yml) #### actions-importer/after-script-fun - [actions-importer/after-script-fun/.github/workflows/default.yml](actions-importer/after-script-fun/.github/workflows/default.yml) - [actions-importer/after-script-fun/config.json](actions-importer/after-script-fun/config.json) - [actions-importer/after-script-fun/source.yml](actions-importer/after-script-fun/source.yml) #### actions-importer/artifacts - [actions-importer/artifacts/.github/workflows/default.yml](actions-importer/artifacts/.github/workflows/default.yml) - [actions-importer/artifacts/config.json](actions-importer/artifacts/config.json) - [actions-importer/artifacts/source.yml](actions-importer/artifacts/source.yml) #### actions-importer/trigger - [actions-importer/trigger/.github/workflows/default.yml](actions-importer/trigger/.github/workflows/default.yml) - [actions-importer/trigger/config.json](actions-importer/trigger/config.json) - [actions-importer/trigger/source.yml](actions-importer/trigger/source.yml) ### Partially successful #### actions-importer/joffrey-baratheon - [actions-importer/joffrey-baratheon/.github/workflows/default.yml](actions-importer/joffrey-baratheon/.github/workflows/default.yml) - [actions-importer/joffrey-baratheon/.github/workflows/branches-main.yml](actions-importer/joffrey-baratheon/.github/workflows/branches-main.yml) - [actions-importer/joffrey-baratheon/.github/workflows/branches-feature.yml](actions-importer/joffrey-baratheon/.github/workflows/branches-feature.yml) - [actions-importer/joffrey-baratheon/.github/workflows/pull-requests-feature.yml](actions-importer/joffrey-baratheon/.github/workflows/pull-requests-feature.yml) - [actions-importer/joffrey-baratheon/.github/workflows/pull-requests-hotfix.yml](actions-importer/joffrey-baratheon/.github/workflows/pull-requests-hotfix.yml) - [actions-importer/joffrey-baratheon/.github/workflows/pull-requests.yml](actions-importer/joffrey-baratheon/.github/workflows/pull-requests.yml) - [actions-importer/joffrey-baratheon/.github/workflows/tags-windows.yml](actions-importer/joffrey-baratheon/.github/workflows/tags-windows.yml) - [actions-importer/joffrey-baratheon/.github/workflows/tags-macos.yml](actions-importer/joffrey-baratheon/.github/workflows/tags-macos.yml) - [actions-importer/joffrey-baratheon/.github/workflows/tags-linux.yml](actions-importer/joffrey-baratheon/.github/workflows/tags-linux.yml) - [actions-importer/joffrey-baratheon/.github/workflows/custom-sonar.yml](actions-importer/joffrey-baratheon/.github/workflows/custom-sonar.yml) - [actions-importer/joffrey-baratheon/config.json](actions-importer/joffrey-baratheon/config.json) - [actions-importer/joffrey-baratheon/source.yml](actions-importer/joffrey-baratheon/source.yml) #### actions-importer/start-conditions - [actions-importer/start-conditions/.github/workflows/default.yml](actions-importer/start-conditions/.github/workflows/default.yml) - [actions-importer/start-conditions/.github/workflows/branches-main.yml](actions-importer/start-conditions/.github/workflows/branches-main.yml) - [actions-importer/start-conditions/.github/workflows/branches-feature.yml](actions-importer/start-conditions/.github/workflows/branches-feature.yml) - [actions-importer/start-conditions/.github/workflows/pull-requests-feature.yml](actions-importer/start-conditions/.github/workflows/pull-requests-feature.yml) - [actions-importer/start-conditions/.github/workflows/pull-requests-hotfix.yml](actions-importer/start-conditions/.github/workflows/pull-requests-hotfix.yml) - [actions-importer/start-conditions/.github/workflows/pull-requests.yml](actions-importer/start-conditions/.github/workflows/pull-requests.yml) - [actions-importer/start-conditions/.github/workflows/tags-windows.yml](actions-importer/start-conditions/.github/workflows/tags-windows.yml) - [actions-importer/start-conditions/.github/workflows/tags-macos.yml](actions-importer/start-conditions/.github/workflows/tags-macos.yml) - [actions-importer/start-conditions/.github/workflows/tags-linux.yml](actions-importer/start-conditions/.github/workflows/tags-linux.yml) - [actions-importer/start-conditions/.github/workflows/custom-us-build.yml](actions-importer/start-conditions/.github/workflows/custom-us-build.yml) - [actions-importer/start-conditions/config.json](actions-importer/start-conditions/config.json) - [actions-importer/start-conditions/source.yml](actions-importer/start-conditions/source.yml) #### actions-importer/complex-pipeline - [actions-importer/complex-pipeline/.github/workflows/default.yml](actions-importer/complex-pipeline/.github/workflows/default.yml) - [actions-importer/complex-pipeline/.github/workflows/branches-staging.yml](actions-importer/complex-pipeline/.github/workflows/branches-staging.yml) - [actions-importer/complex-pipeline/.github/workflows/branches-ruby.yml](actions-importer/complex-pipeline/.github/workflows/branches-ruby.yml) - [actions-importer/complex-pipeline/.github/workflows/branches-master.yml](actions-importer/complex-pipeline/.github/workflows/branches-master.yml) - [actions-importer/complex-pipeline/.github/workflows/branches-after-script.yml](actions-importer/complex-pipeline/.github/workflows/branches-after-script.yml) - [actions-importer/complex-pipeline/config.json](actions-importer/complex-pipeline/config.json) - [actions-importer/complex-pipeline/source.yml](actions-importer/complex-pipeline/source.yml) ### Failed #### actions-importer/luke-skywalker - [actions-importer/luke-skywalker/error.txt](actions-importer/luke-skywalker/error.txt) #### actions-importer/obi-wan-kenobi - [actions-importer/obi-wan-kenobi/error.txt](actions-importer/obi-wan-kenobi/error.txt) #### actions-importer/daenerys-targaryen - [actions-importer/daenerys-targaryen/error.txt](actions-importer/daenerys-targaryen/error.txt) #### actions-importer/azure-pipelines - [actions-importer/azure-pipelines/error.txt](actions-importer/azure-pipelines/error.txt) ```
Chaseshak commented 1 year ago

/dry-run --repository complex-pipeline

Chaseshak commented 1 year ago

/migrate --repository complex-pipeline --target-url https://github.com/chaseshak/importer-issue-ops

github-actions[bot] commented 1 year ago

Dry run was successful :boom:

Transformed workflows:

actions-importer/complex-pipeline/.github/workflows/branches-after-script.yml ```yaml name: branches-after-script on: push: branches: after-script env: important_workspace_env: "${{ secrets.important_workspace_env }}" queen: workspace king: "${{ secrets.king }}" jobs: parallel_job_1: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.0 - uses: actions/setup-node@v3.7.0 with: registry-url: https://my-registry.com - run: npm publish my/dist --tag 1.2.3 --dry-run env: NODE_AUTH_TOKEN: "${{ secrets.NPM_TOKEN }}" parallel_job_2: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.0 - name: Install run: |- gem install bundler gem install rspec echo "installed gems" parallel_job_3: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.0 with: fetch-depth: 0 - name: Check for file changes id: check-changes-542a915d run: | if git diff --name-only HEAD^ HEAD | grep -qE '^.*.*/.*$'; then echo "changed=true" >> $GITHUB_OUTPUT else echo "changed=false" >> $GITHUB_OUTPUT fi - name: Notify run: echo "Sending Slack message" if: "${{ steps.check-changes-542a915d.outputs.changed == 'true' }}" - uses: slackapi/slack-github-action@v1.24.0 env: SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}" SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK with: payload: | { "blocks": [ { "type": "section", "text": { "type": "mrkdwn", "text": Hello! } }, { "type": "divider" }, { "type": "section", "text": { "type": "mrkdwn", "text": Goodbye! } } ] } if: "${{ steps.check-changes-542a915d.outputs.changed == 'true' }}" - name: Notify run: echo "Sent the Slack message" if: "${{ steps.check-changes-542a915d.outputs.changed == 'true' }}" - name: Notify run: |- echo "I'm after the script ran!" echo "We should be grouped!" id: after-script-1 if: "${{ steps.check-changes-542a915d.outputs.changed == 'true' && always() }}" - uses: slackapi/slack-github-action@v1.24.0 env: SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}" SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK with: payload-file-path: payload.json id: after-script-2 if: "${{ steps.check-changes-542a915d.outputs.changed == 'true' && steps.after-script-1.conclusion == 'success' && always() }}" - uses: actions/checkout@v3.5.0 with: path: git-secrets repository: awslabs/git-secrets id: after-script-3 if: "${{ steps.check-changes-542a915d.outputs.changed == 'true' && steps.after-script-2.conclusion == 'success' && always() }}" - run: | cd git-secrets sudo make install git secrets --register-aws --global cd .. id: after-script-4 if: "${{ steps.check-changes-542a915d.outputs.changed == 'true' && steps.after-script-3.conclusion == 'success' && always() }}" # This transformed result does custom secret scanning using AWS, however the recommended way # to do this is to use the GitHub secret scanning feature. # See https://docs.github.com/en/code-security/secret-scanning/protecting-pushes-with-secret-scanning for more information. - run: git secrets --scan --recursive glob/**/*.rb id: after-script-5 if: "${{ steps.check-changes-542a915d.outputs.changed == 'true' && steps.after-script-4.conclusion == 'success' && always() }}" - name: Notify run: |- echo "this is really the end" echo "goodbye, for now!" id: after-script-6 if: "${{ steps.check-changes-542a915d.outputs.changed == 'true' && steps.after-script-5.conclusion == 'success' && always() }}" ```
actions-importer/complex-pipeline/.github/workflows/branches-master.yml ```yaml name: branches-master on: push: branches: master env: important_workspace_env: "${{ secrets.important_workspace_env }}" queen: workspace king: "${{ secrets.king }}" jobs: parallel_job_1: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.0 - name: Cache node uses: actions/cache@v3.3.1 with: key: "${{ runner.os }}-node-${{ hashFiles('node_modules') }}" path: node_modules - name: Build and Test run: |- npm install npm test apt update && apt install zip zip -r app-$BITBUCKET_BUILD_NUMBER.zip . -x *.git* bitbucket-pipelines.yml - uses: actions/upload-artifact@v3.1.1 with: name: parallel_job_1 path: "*.zip" parallel_job_2: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.0 - uses: actions/checkout@v3.5.0 with: path: git-secrets repository: awslabs/git-secrets - run: | cd git-secrets sudo make install git secrets --register-aws --global cd .. # This transformed result does custom secret scanning using AWS, however the recommended way # to do this is to use the GitHub secret scanning feature. # See https://docs.github.com/en/code-security/secret-scanning/protecting-pushes-with-secret-scanning for more information. - run: git secrets --scan --recursive . step_job_3: runs-on: ubuntu-latest needs: - parallel_job_2 - parallel_job_1 steps: - uses: actions/checkout@v3.5.0 - uses: aws-actions/configure-aws-credentials@v2.2.0 with: aws-access-key-id: "${{ secrets.AWS_ACCESS_KEY_ID }}" aws-secret-access-key: "${{ secrets.AWS_SECRET_ACCESS_KEY }}" aws-region: "${{ secrets.AWS_DEFAULT_REGION }}" - uses: actions/download-artifact@v3.0.1 with: name: parallel_job_1 - run: aws s3 sync s3://${{ secrets.S3_BUCKET }} --cache-control max-age=31536000 --content-encoding gzip --acl public-read --expires 2021-12-31T23:59:59Z --storage-class STANDARD --delete --dryrun --only-show-errors - uses: aws-actions/aws-cloudformation-github-deploy@v1.2.0 with: name: my-stack-name template: https://s3.amazonaws.com/cfn-deploy-pipe/cfn-template.json capabilities: CAPABILITY_IAM,CAPABILITY_AUTO_EXPAND parameter-overrides: KeyName=mykey,DBUser=mydbuser,DBPassword=$DB_PASSWORD tags: Environment=TEST,Application=myApp # # This item has no matching transformer # - identifier: atlassian/aws-elasticbeanstalk-deploy:1.1.1 # name: AWS Deploys # variables: # AWS_ACCESS_KEY_ID: "$AWS_ACCESS_KEY_ID" # AWS_SECRET_ACCESS_KEY: "$AWS_SECRET_ACCESS_KEY" # AWS_DEFAULT_REGION: us-east-1 # APPLICATION_NAME: Myawesomeapp # ENVIRONMENT_NAME: Myawesomeapp-env-1 # ZIP_FILE: Myawesomeapp.zip step_job_4: runs-on: ubuntu-latest environment: Production needs: - step_job_3 steps: - uses: actions/checkout@v3.5.0 - uses: actions/download-artifact@v3.0.1 with: name: parallel_job_1 # # This item has no matching transformer # - identifier: atlassian/azure-web-apps-deploy:1.0.1 # name: Deploy to Production # variables: # AZURE_APP_ID: "$AZURE_APP_ID" # AZURE_PASSWORD: "$AZURE_PASSWORD" # AZURE_TENANT_ID: "$AZURE_TENANT_ID" # AZURE_RESOURCE_GROUP: "$AZURE_RESOURCE_GROUP" # AZURE_APP_NAME: "$AZURE_APP_NAME" # ZIP_FILE: app-$BITBUCKET_BUILD_NUMBER.zip ```
actions-importer/complex-pipeline/.github/workflows/branches-ruby.yml ```yaml name: branches-ruby on: push: branches: ruby env: important_workspace_env: "${{ secrets.important_workspace_env }}" queen: workspace king: "${{ secrets.king }}" jobs: step_job_1: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.0 - name: Cache bundler-packages uses: actions/cache@v3.3.1 with: key: UPDATE_ME path: UPDATE_ME - name: Build and Test run: |- bundle install --path vendor/bundle bundle exec rake ```
actions-importer/complex-pipeline/.github/workflows/branches-staging.yml ```yaml name: branches-staging on: push: branches: staging env: important_workspace_env: "${{ secrets.important_workspace_env }}" queen: workspace king: "${{ secrets.king }}" jobs: step_job_1: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.0 - name: Build and test run: sh ./build-app.sh stage_job_2: runs-on: ubuntu-latest environment: staging needs: - step_job_1 steps: - uses: actions/checkout@v3.5.0 - name: Deploy run: sh ./deploy-app.sh - name: Run end-to-end tests run: sh ./run-e2e-tests.sh ```
actions-importer/complex-pipeline/.github/workflows/default.yml ```yaml name: default on: push: branches: - "!staging" - "!ruby" - "!master" - "!after-script" env: important_workspace_env: "${{ secrets.important_workspace_env }}" queen: workspace king: "${{ secrets.king }}" jobs: parallel_job_1: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.0 - name: Cache node uses: actions/cache@v3.3.1 with: key: "${{ runner.os }}-node-${{ hashFiles('node_modules') }}" path: node_modules - name: Build and Test run: |- npm install npm test parallel_job_2: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.5.0 - name: Cache node uses: actions/cache@v3.3.1 with: key: "${{ runner.os }}-node-${{ hashFiles('node_modules') }}" path: node_modules - name: Code linting run: |- npm install eslint npx eslint . services: my-mariadb: image: mariadb:latest env: MARIADB_USER: "$MY_MARIADB_USER" MARIADB_PASSWORD: "$MY_MARIADB_PASSWORD" MARIADB_ROOT_PASSWORD: "$MARIADB_ADMIN_PASSWORD" ```
github-actions[bot] commented 1 year ago

Migration was successful :sparkles:

Continue to the pull request to complete the migration.

j-dunham commented 1 year ago

/audit --project-key SW

github-actions[bot] commented 1 year ago

Audit successfully completed :rocket:

Download full results here

Audit summary :point_down: ``` # Audit summary Summary for [Bitbucket instance](https://bitbucket.org/actions-importer) - GitHub Actions Importer version: **1.3.20633 (3fe9f11f1c8a95a1d30e8de39c03449edec0bfdd)** - Performed at: **8/11/23 at 18:41** ## Pipelines Total: **19** - Successful: **12 (63%)** - Partially successful: **3 (15%)** - Unsupported: **0 (0%)** - Failed: **4 (21%)** ### Job types Supported: **19 (100%)** - YAML: **19** ### Build steps Total: **105** Known: **101 (96%)** - script: **79** - cache-node: **7** - atlassian/git-secrets-scan: **6** - atlassian/slack-notify: **4** - atlassian/aws-s3-deploy: **1** - atlassian/checkstyle-report: **1** - atlassian/aws-cloudformation-deploy: **1** - cache-bundler-packages: **1** - atlassian/npm-publish: **1** Unknown: **4 (3%)** - pipe: **2** - atlassian/aws-elasticbeanstalk-deploy:1.1.1: **1** - atlassian/azure-web-apps-deploy:1.0.1: **1** Actions: **187** - run: **87** - actions/checkout@v3.5.0: **75** - actions/cache@v3.3.1: **8** - actions/download-artifact@v3.0.1: **6** - slackapi/slack-github-action@v1.24.0: **4** - actions/upload-artifact@v3.1.1: **3** - aws-actions/configure-aws-credentials@v2.2.0: **1** - actions/setup-node@v3.7.0: **1** - aws-actions/aws-cloudformation-github-deploy@v1.2.0: **1** - jwgmeligmeyling/checkstyle-github-action@v1.2: **1** ### Triggers Total: **43** Known: **42 (97%)** - default: **13** - branches: **13** - tags: **6** - pull-requests: **6** - custom: **4** Unsupported: **1 (2%)** - schedule: **1** Actions: **42** - push: **32** - pull_request: **6** - workflow_dispatch: **4** ### Environment Total: **87** Known: **87 (100%)** - king: **43** - important_workspace_env: **42** - Death_is_so_final: **1** - repo_var_name: **1** Actions: **132** - king: **43** - queen: **43** - important_workspace_env: **42** - i_drink: **1** - Death_is_so_final: **1** - repo_var_name_not_secure: **1** - repo_var_name: **1** ### Other Total: **5** Known: **5 (100%)** - important_env: **2** - DEPLOYMENT_SECRET_KEY: **2** - staging_env: **1** Actions: **7** - DEPLOYMENT_SECRET_KEY: **2** - important_env: **2** - my-mariadb: **1** - blasdflasd: **1** - staging_env: **1** ### Manual tasks Total: **13** Secrets: **10** - `${{ secrets.repo_var_name }}`: **1** - `${{ secrets.Death_is_so_final }}`: **1** - `${{ secrets.king }}`: **1** - `${{ secrets.AWS_ACCESS_KEY_ID }}`: **2** - `${{ secrets.AWS_SECRET_ACCESS_KEY }}`: **2** - `${{ secrets.AWS_DEFAULT_REGION }}`: **2** - `${{ secrets.NPM_TOKEN }}`: **1** Self hosted runners: **3** - `linux.shell`: **3** ### Successful #### actions-importer/jon-snow - [actions-importer/jon-snow/.github/workflows/default.yml](actions-importer/jon-snow/.github/workflows/default.yml) - [actions-importer/jon-snow/config.json](actions-importer/jon-snow/config.json) - [actions-importer/jon-snow/source.yml](actions-importer/jon-snow/source.yml) #### actions-importer/tyrion-lannister - [actions-importer/tyrion-lannister/.github/workflows/default.yml](actions-importer/tyrion-lannister/.github/workflows/default.yml) - [actions-importer/tyrion-lannister/config.json](actions-importer/tyrion-lannister/config.json) - [actions-importer/tyrion-lannister/source.yml](actions-importer/tyrion-lannister/source.yml) #### actions-importer/princess-leia - [actions-importer/princess-leia/.github/workflows/default.yml](actions-importer/princess-leia/.github/workflows/default.yml) - [actions-importer/princess-leia/config.json](actions-importer/princess-leia/config.json) - [actions-importer/princess-leia/source.yml](actions-importer/princess-leia/source.yml) #### actions-importer/cersei-lannister - [actions-importer/cersei-lannister/.github/workflows/default.yml](actions-importer/cersei-lannister/.github/workflows/default.yml) - [actions-importer/cersei-lannister/config.json](actions-importer/cersei-lannister/config.json) - [actions-importer/cersei-lannister/source.yml](actions-importer/cersei-lannister/source.yml) #### actions-importer/viserys-targaryen - [actions-importer/viserys-targaryen/.github/workflows/branches-feature.yml](actions-importer/viserys-targaryen/.github/workflows/branches-feature.yml) - [actions-importer/viserys-targaryen/.github/workflows/branches-hotfix.yml](actions-importer/viserys-targaryen/.github/workflows/branches-hotfix.yml) - [actions-importer/viserys-targaryen/.github/workflows/branches.yml](actions-importer/viserys-targaryen/.github/workflows/branches.yml) - [actions-importer/viserys-targaryen/config.json](actions-importer/viserys-targaryen/config.json) - [actions-importer/viserys-targaryen/source.yml](actions-importer/viserys-targaryen/source.yml) #### actions-importer/r2-d2 - [actions-importer/r2-d2/.github/workflows/default.yml](actions-importer/r2-d2/.github/workflows/default.yml) - [actions-importer/r2-d2/.github/workflows/branches-test.yml](actions-importer/r2-d2/.github/workflows/branches-test.yml) - [actions-importer/r2-d2/config.json](actions-importer/r2-d2/config.json) - [actions-importer/r2-d2/source.yml](actions-importer/r2-d2/source.yml) #### actions-importer/basic-pipeline - [actions-importer/basic-pipeline/.github/workflows/default.yml](actions-importer/basic-pipeline/.github/workflows/default.yml) - [actions-importer/basic-pipeline/config.json](actions-importer/basic-pipeline/config.json) - [actions-importer/basic-pipeline/source.yml](actions-importer/basic-pipeline/source.yml) #### actions-importer/pipe-it-up - [actions-importer/pipe-it-up/.github/workflows/default.yml](actions-importer/pipe-it-up/.github/workflows/default.yml) - [actions-importer/pipe-it-up/.github/workflows/branches-main.yml](actions-importer/pipe-it-up/.github/workflows/branches-main.yml) - [actions-importer/pipe-it-up/config.json](actions-importer/pipe-it-up/config.json) - [actions-importer/pipe-it-up/source.yml](actions-importer/pipe-it-up/source.yml) #### actions-importer/custom-trigger - [actions-importer/custom-trigger/.github/workflows/custom-build-with-inputs.yml](actions-importer/custom-trigger/.github/workflows/custom-build-with-inputs.yml) - [actions-importer/custom-trigger/.github/workflows/custom-build-no-inputs.yml](actions-importer/custom-trigger/.github/workflows/custom-build-no-inputs.yml) - [actions-importer/custom-trigger/config.json](actions-importer/custom-trigger/config.json) - [actions-importer/custom-trigger/source.yml](actions-importer/custom-trigger/source.yml) #### actions-importer/after-script-fun - [actions-importer/after-script-fun/.github/workflows/default.yml](actions-importer/after-script-fun/.github/workflows/default.yml) - [actions-importer/after-script-fun/config.json](actions-importer/after-script-fun/config.json) - [actions-importer/after-script-fun/source.yml](actions-importer/after-script-fun/source.yml) #### actions-importer/artifacts - [actions-importer/artifacts/.github/workflows/default.yml](actions-importer/artifacts/.github/workflows/default.yml) - [actions-importer/artifacts/config.json](actions-importer/artifacts/config.json) - [actions-importer/artifacts/source.yml](actions-importer/artifacts/source.yml) #### actions-importer/trigger - [actions-importer/trigger/.github/workflows/default.yml](actions-importer/trigger/.github/workflows/default.yml) - [actions-importer/trigger/config.json](actions-importer/trigger/config.json) - [actions-importer/trigger/source.yml](actions-importer/trigger/source.yml) ### Partially successful #### actions-importer/joffrey-baratheon - [actions-importer/joffrey-baratheon/.github/workflows/default.yml](actions-importer/joffrey-baratheon/.github/workflows/default.yml) - [actions-importer/joffrey-baratheon/.github/workflows/branches-main.yml](actions-importer/joffrey-baratheon/.github/workflows/branches-main.yml) - [actions-importer/joffrey-baratheon/.github/workflows/branches-feature.yml](actions-importer/joffrey-baratheon/.github/workflows/branches-feature.yml) - [actions-importer/joffrey-baratheon/.github/workflows/pull-requests-feature.yml](actions-importer/joffrey-baratheon/.github/workflows/pull-requests-feature.yml) - [actions-importer/joffrey-baratheon/.github/workflows/pull-requests-hotfix.yml](actions-importer/joffrey-baratheon/.github/workflows/pull-requests-hotfix.yml) - [actions-importer/joffrey-baratheon/.github/workflows/pull-requests.yml](actions-importer/joffrey-baratheon/.github/workflows/pull-requests.yml) - [actions-importer/joffrey-baratheon/.github/workflows/tags-windows.yml](actions-importer/joffrey-baratheon/.github/workflows/tags-windows.yml) - [actions-importer/joffrey-baratheon/.github/workflows/tags-macos.yml](actions-importer/joffrey-baratheon/.github/workflows/tags-macos.yml) - [actions-importer/joffrey-baratheon/.github/workflows/tags-linux.yml](actions-importer/joffrey-baratheon/.github/workflows/tags-linux.yml) - [actions-importer/joffrey-baratheon/.github/workflows/custom-sonar.yml](actions-importer/joffrey-baratheon/.github/workflows/custom-sonar.yml) - [actions-importer/joffrey-baratheon/config.json](actions-importer/joffrey-baratheon/config.json) - [actions-importer/joffrey-baratheon/source.yml](actions-importer/joffrey-baratheon/source.yml) #### actions-importer/start-conditions - [actions-importer/start-conditions/.github/workflows/default.yml](actions-importer/start-conditions/.github/workflows/default.yml) - [actions-importer/start-conditions/.github/workflows/branches-main.yml](actions-importer/start-conditions/.github/workflows/branches-main.yml) - [actions-importer/start-conditions/.github/workflows/branches-feature.yml](actions-importer/start-conditions/.github/workflows/branches-feature.yml) - [actions-importer/start-conditions/.github/workflows/pull-requests-feature.yml](actions-importer/start-conditions/.github/workflows/pull-requests-feature.yml) - [actions-importer/start-conditions/.github/workflows/pull-requests-hotfix.yml](actions-importer/start-conditions/.github/workflows/pull-requests-hotfix.yml) - [actions-importer/start-conditions/.github/workflows/pull-requests.yml](actions-importer/start-conditions/.github/workflows/pull-requests.yml) - [actions-importer/start-conditions/.github/workflows/tags-windows.yml](actions-importer/start-conditions/.github/workflows/tags-windows.yml) - [actions-importer/start-conditions/.github/workflows/tags-macos.yml](actions-importer/start-conditions/.github/workflows/tags-macos.yml) - [actions-importer/start-conditions/.github/workflows/tags-linux.yml](actions-importer/start-conditions/.github/workflows/tags-linux.yml) - [actions-importer/start-conditions/.github/workflows/custom-us-build.yml](actions-importer/start-conditions/.github/workflows/custom-us-build.yml) - [actions-importer/start-conditions/config.json](actions-importer/start-conditions/config.json) - [actions-importer/start-conditions/source.yml](actions-importer/start-conditions/source.yml) #### actions-importer/complex-pipeline - [actions-importer/complex-pipeline/.github/workflows/default.yml](actions-importer/complex-pipeline/.github/workflows/default.yml) - [actions-importer/complex-pipeline/.github/workflows/branches-staging.yml](actions-importer/complex-pipeline/.github/workflows/branches-staging.yml) - [actions-importer/complex-pipeline/.github/workflows/branches-ruby.yml](actions-importer/complex-pipeline/.github/workflows/branches-ruby.yml) - [actions-importer/complex-pipeline/.github/workflows/branches-master.yml](actions-importer/complex-pipeline/.github/workflows/branches-master.yml) - [actions-importer/complex-pipeline/.github/workflows/branches-after-script.yml](actions-importer/complex-pipeline/.github/workflows/branches-after-script.yml) - [actions-importer/complex-pipeline/config.json](actions-importer/complex-pipeline/config.json) - [actions-importer/complex-pipeline/source.yml](actions-importer/complex-pipeline/source.yml) ### Failed #### actions-importer/luke-skywalker - [actions-importer/luke-skywalker/error.txt](actions-importer/luke-skywalker/error.txt) #### actions-importer/obi-wan-kenobi - [actions-importer/obi-wan-kenobi/error.txt](actions-importer/obi-wan-kenobi/error.txt) #### actions-importer/daenerys-targaryen - [actions-importer/daenerys-targaryen/error.txt](actions-importer/daenerys-targaryen/error.txt) #### actions-importer/azure-pipelines - [actions-importer/azure-pipelines/error.txt](actions-importer/azure-pipelines/error.txt) ```
Chaseshak commented 1 year ago

/audit --project-key SW

github-actions[bot] commented 1 year ago

Audit successfully completed :rocket:

Download full results here

Audit summary :point_down: ``` # Audit summary Summary for [Bitbucket instance](https://bitbucket.org/actions-importer/workspace/projects/SW) - GitHub Actions Importer version: **1.3.20635 (a879ac542f83a6907d0256f81426e4537451c375)** - Performed at: **8/11/23 at 18:59** ## Pipelines Total: **4** - Successful: **2 (50%)** - Partially successful: **0 (0%)** - Unsupported: **0 (0%)** - Failed: **2 (50%)** ### Job types Supported: **4 (100%)** - YAML: **4** ### Build steps Total: **10** Known: **10 (100%)** - script: **8** - cache-node: **2** Actions: **18** - run: **8** - actions/checkout@v3.5.0: **8** - actions/cache@v3.3.1: **2** ### Triggers Total: **3** Known: **3 (100%)** - default: **2** - branches: **1** Actions: **3** - push: **3** ### Environment Total: **6** Known: **6 (100%)** - king: **3** - important_workspace_env: **3** Actions: **9** - king: **3** - queen: **3** - important_workspace_env: **3** ### Other Total: **0** ### Manual tasks Total: **3** Self hosted runners: **3** - `linux.shell`: **3** ### Successful #### actions-importer/princess-leia - [actions-importer/princess-leia/.github/workflows/default.yml](actions-importer/princess-leia/.github/workflows/default.yml) - [actions-importer/princess-leia/config.json](actions-importer/princess-leia/config.json) - [actions-importer/princess-leia/source.yml](actions-importer/princess-leia/source.yml) #### actions-importer/r2-d2 - [actions-importer/r2-d2/.github/workflows/default.yml](actions-importer/r2-d2/.github/workflows/default.yml) - [actions-importer/r2-d2/.github/workflows/branches-test.yml](actions-importer/r2-d2/.github/workflows/branches-test.yml) - [actions-importer/r2-d2/config.json](actions-importer/r2-d2/config.json) - [actions-importer/r2-d2/source.yml](actions-importer/r2-d2/source.yml) ### Failed #### actions-importer/luke-skywalker - [actions-importer/luke-skywalker/error.txt](actions-importer/luke-skywalker/error.txt) #### actions-importer/obi-wan-kenobi - [actions-importer/obi-wan-kenobi/error.txt](actions-importer/obi-wan-kenobi/error.txt) ```