Skip to content

Commit 05700b9

Browse files
Merge branch 'main' into add_dest_app_port
2 parents bf4e439 + 9c01abe commit 05700b9

2,292 files changed

Lines changed: 17291 additions & 12084 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ mailing list.
1010
The cf CLI follows a branching model:
1111
- V9 (Next major release) of the cf CLI is built from the [main branch](https://github.com/cloudfoundry/cli/tree/main). **This branch is under active development**.
1212
- V8 of the cf CLI is built from the [v8 branch](https://github.com/cloudfoundry/cli/tree/v8). **This branch is under active development**.
13-
- V7 of the cf CLI is built from the [v7 branch](https://github.com/cloudfoundry/cli/tree/v7). **This branch is maintenance only** and will only be updated to patch CVEs and very severe blocking defects.
14-
- V6 of the cf CLI is built from the [v6 branch](https://github.com/cloudfoundry/cli/tree/v6). **This branch is maintenance only** and will only be updated to patch CVEs and very severe blocking defects.
13+
- V7 of the cf CLI is built from the [v7 branch](https://github.com/cloudfoundry/cli/tree/v7). **This branch is no longer maintained**.
14+
- V6 of the cf CLI is built from the [v6 branch](https://github.com/cloudfoundry/cli/tree/v6). **This branch is no longer maintained**.
1515

1616
## Prerequisites
1717
Before working on a PR to the CLI code base, please:
@@ -33,11 +33,11 @@ After reaching out to the CLI team and the conclusion is to make a PR, please fo
3333
[Product Style Guide](https://github.com/cloudfoundry/cli/wiki/CLI-Product-Specific-Style-Guide),
3434
and [Internationalization Guide](https://github.com/cloudfoundry/cli/wiki/Internationalization-Guide).
3535
1. Fork the project repository.
36-
1. Create a feature branch from the earliest branch that's [appropriate for your change](#cli-versions) (e.g. `git checkout v7 && git checkout -b better_cli`) and make changes on this branch
36+
1. Create a feature branch from the earliest branch that's [appropriate for your change](#cli-versions) (e.g. `git checkout v8 && git checkout -b better_cli`) and make changes on this branch
3737
* Follow the other sections on this page to [set up your development environment](#development-environment-setup), [build `cf`](#building-the-cf-binary) and [run the tests](#testing).
3838
* Tests are required for any changes.
3939
1. Push to your fork (e.g. `git push origin better_cli`) and [submit a pull request](https://help.github.com/articles/creating-a-pull-request)
40-
1. The cf CLI team will merge your changes from the versioned branch (e.g. v7) to main for you after the PR is merged.
40+
1. The cf CLI team will merge your changes from the versioned branch (e.g. v8) to main for you after the PR is merged.
4141

4242
Note: All contributions must be sent using GitHub Pull Requests.
4343
We prefer a small, focused pull request with a clear message

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ Steps to reproduce the behavior; include the exact CLI commands and verbose outp
3232
- version of the CC API Release you are on
3333

3434
**Notes regarding V6 and V7 CLI support:**
35-
- V6:
36-
- Minimum supported version of CF Deployment: v7.0.0 (CAPI Release: 1.74.0 (APIs 2.128.0 and 3.63.0))
37-
- Maximum supported version of CF Deployment: v13.4.0 (CAPI Release: 1.94.0 (APIs 2.149.0 and 3.84.0))
38-
- V7:
39-
- Minimum supported version of CF Deployment: v13.5.0 (CAPI Release: 1.95.0 (APIs 2.150.0 and 3.85.0))
35+
- V6: **No longer maintained or released**
36+
- Last supported version of CF Deployment: v13.4.0 (CAPI Release: 1.94.0 (APIs 2.149.0 and 3.84.0))
37+
- V7: **No longer maintained or released**
38+
- Last supported version of CF Deployment: v13.5.0 (CAPI Release: 1.95.0 (APIs 2.150.0 and 3.85.0))
4039

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ A clear and concise description of any alternative solutions or features you've
3131
Add any other context or screenshots about the feature request here.
3232

3333
**Note:**
34-
As of the GA of the v7 CLI, the v6 line is no longer under active development and will be updated only to patch CVEs or fix severe blocking defects with no workarounds.
34+
The v7 and v6 CLI versions are no longer maintained.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ If your contribution falls under a company CLA but your membership is not public
99
* Contributions must conform to our [style guide](https://github.com/cloudfoundry/cli/wiki/CLI-Product-Specific-Style-Guide). Please reach out to us if you have questions.
1010

1111

12-
#### Note: Please create separate PR for every branch (main, v8 and v7) as needed.
12+
#### Note: Please create separate PR for every branch (main and v8) as needed.
1313

1414
## Description of the Change
1515

.github/workflows/check-cves.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: Check out codebase
13-
uses: actions/checkout@v5
13+
uses: actions/checkout@v6
1414

1515
- name: Scan current project
1616
id: scan
@@ -26,7 +26,7 @@ jobs:
2626
if: always()
2727

2828
- name: Archive CVE scan results
29-
uses: actions/upload-artifact@v4
29+
uses: actions/upload-artifact@v6
3030
if: always()
3131
with:
3232
name: cve-scan-results-${{ github.sha }}-${{ github.run_id }}-${{ github.run_number }}

.github/workflows/create-bosh-lite.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ jobs:
4646
sudo apt install -y build-essential unzip wamerican
4747

4848
- name: Checkout bosh-bootloader
49-
uses: actions/checkout@v5
49+
uses: actions/checkout@v6
5050
with:
5151
repository: cloudfoundry/bosh-bootloader
5252
path: bosh-bootloader
5353

5454
- name: Checkout cli
55-
uses: actions/checkout@v5
55+
uses: actions/checkout@v6
5656
with:
5757
path: cli
5858

@@ -97,14 +97,14 @@ jobs:
9797
gsutil -m cp -R -P ./$env_name gs://cf-cli-bosh-lites/
9898
9999
- name: Checkout cf-deployment
100-
uses: actions/checkout@v5
100+
uses: actions/checkout@v6
101101
with:
102102
repository: cloudfoundry/cf-deployment
103103
ref: release-candidate
104104
path: cf-deployment
105105

106106
- name: Checkout bosh-deployment
107-
uses: actions/checkout@v5
107+
uses: actions/checkout@v6
108108
with:
109109
repository: cloudfoundry/bosh-deployment
110110
path: bosh-deployment

.github/workflows/delete-bosh-lite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ jobs:
4646
sudo apt install -y build-essential unzip wamerican
4747

4848
- name: Checkout cli
49-
uses: actions/checkout@v5
49+
uses: actions/checkout@v6
5050
with:
5151
path: cli
5252

5353
- name: Checkout bosh-bootloader
54-
uses: actions/checkout@v5
54+
uses: actions/checkout@v6
5555
with:
5656
repository: cloudfoundry/bosh-bootloader
5757
path: bosh-bootloader

.github/workflows/golangci-lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
name: lint
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v5
26+
- uses: actions/checkout@v6
2727
with:
2828
fetch-depth: '0'
2929
- name: Set up Go 1.x
3030
uses: actions/setup-go@v6
3131
with:
3232
go-version-file: go.mod
3333
- name: golangci-lint
34-
uses: golangci/golangci-lint-action@v8
34+
uses: golangci/golangci-lint-action@v9
3535
with:
3636
version: v2.4
3737
args: -v
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
steps:
4242
- name: Checkout
43-
uses: actions/checkout@v5
43+
uses: actions/checkout@v6
4444
with:
4545
fetch-depth: '0'
4646
- name: Set Up Go

.github/workflows/release-build-sign-upload.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171

7272
steps:
7373
- name: Checkout cli
74-
uses: actions/checkout@v5
74+
uses: actions/checkout@v6
7575

7676
- name: Bump version
7777
id: bump-version
@@ -127,10 +127,10 @@ jobs:
127127
run: echo "VERSION_BUILD $VERSION_BUILD"
128128

129129
- name: Checkout cli
130-
uses: actions/checkout@v5
130+
uses: actions/checkout@v6
131131

132132
- name: Checkout cli-ci
133-
uses: actions/checkout@v5
133+
uses: actions/checkout@v6
134134
with:
135135
repository: cloudfoundry/cli-ci.git
136136
path: cli-ci
@@ -151,7 +151,7 @@ jobs:
151151
go env
152152
153153
- name: Go Assets Cache
154-
uses: actions/cache@v4
154+
uses: actions/cache@v5
155155
with:
156156
path: |
157157
${{ steps.go-cache-paths.outputs.go-mod }}
@@ -169,7 +169,7 @@ jobs:
169169
make out/cf-cli_linux_arm64
170170
171171
- name: Store Linux Binaries
172-
uses: actions/upload-artifact@v4
172+
uses: actions/upload-artifact@v6
173173
with:
174174
if-no-files-found: error
175175
name: cf-cli-linux-binaries
@@ -274,7 +274,7 @@ jobs:
274274
working-directory: signed-redhat-installer
275275

276276
- name: Store Signed Linux RPM Packages
277-
uses: actions/upload-artifact@v4
277+
uses: actions/upload-artifact@v6
278278
with:
279279
if-no-files-found: error
280280
name: cf-cli-linux-rpm-packages
@@ -375,7 +375,7 @@ jobs:
375375
working-directory: packaged-deb
376376

377377
- name: Store Debian Packages
378-
uses: actions/upload-artifact@v4
378+
uses: actions/upload-artifact@v6
379379
with:
380380
if-no-files-found: error
381381
name: cf-cli-linux-deb-packages
@@ -396,17 +396,17 @@ jobs:
396396
run: echo "VERSION_BUILD $VERSION_BUILD"
397397

398398
- name: Checkout cli
399-
uses: actions/checkout@v5
399+
uses: actions/checkout@v6
400400

401401
- name: Checkout cli-ci
402-
uses: actions/checkout@v5
402+
uses: actions/checkout@v6
403403
with:
404404
repository: cloudfoundry/cli-ci.git
405405
path: cli-ci
406406
ref: main
407407

408408
- name: Checkout bomutils
409-
uses: actions/checkout@v5
409+
uses: actions/checkout@v6
410410
with:
411411
repository: hogliux/bomutils.git
412412
ref: 0.2
@@ -428,7 +428,7 @@ jobs:
428428
cat "$(brew --repository)/Library/Taps/pivotalsoftware/homebrew-gon/gon.rb" > .github/brew-formulae
429429
430430
- name: Configure Homebrew cache
431-
uses: actions/cache@v4
431+
uses: actions/cache@v5
432432
with:
433433
path: |
434434
~/Library/Caches/Homebrew/gon--*
@@ -448,7 +448,7 @@ jobs:
448448
go env
449449
450450
- name: Go Assets Cache
451-
uses: actions/cache@v4
451+
uses: actions/cache@v5
452452
with:
453453
path: |
454454
${{ steps.go-cache-paths.outputs.go-mod }}
@@ -465,7 +465,7 @@ jobs:
465465
make out/cf-cli_macosarm
466466
467467
- name: Store macOS Binaries
468-
uses: actions/upload-artifact@v4
468+
uses: actions/upload-artifact@v6
469469
with:
470470
if-no-files-found: error
471471
name: cf-cli-macos-binaries
@@ -605,7 +605,7 @@ jobs:
605605
"signed-macos-installer/cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_macosarm.pkg"
606606
607607
- name: Store macOS Signed Packages
608-
uses: actions/upload-artifact@v4
608+
uses: actions/upload-artifact@v6
609609
with:
610610
if-no-files-found: error
611611
name: cf-cli-macos-packages
@@ -625,7 +625,7 @@ jobs:
625625
VERSION_MAJOR: ${{ needs.setup.outputs.version-major }}
626626
steps:
627627
- name: Checkout
628-
uses: actions/checkout@v5
628+
uses: actions/checkout@v6
629629
with:
630630
fetch-depth: 0
631631
- name: Set up Go
@@ -691,7 +691,7 @@ jobs:
691691
New-Item -ItemType SymbolicLink -Target .\out\cf-cli_winx64.exe -Path .\out\cf-cli_winx64-link.exe
692692
693693
- name: Save signed binaries as a GitHub Action Artifact
694-
uses: actions/upload-artifact@v4
694+
uses: actions/upload-artifact@v6
695695
with:
696696
name: cf-cli-windows-binaries
697697
if-no-files-found: error
@@ -736,7 +736,7 @@ jobs:
736736
Get-ChildItem "${env:RUNNER_TEMP}"
737737
738738
- name: Save installer and dist files as a GitHub Action Artifact
739-
uses: actions/upload-artifact@v4
739+
uses: actions/upload-artifact@v6
740740
with:
741741
name: cf-cli-windows-packages
742742
if-no-files-found: error
@@ -768,10 +768,10 @@ jobs:
768768
steps:
769769

770770
- name: Checkout cli
771-
uses: actions/checkout@v5
771+
uses: actions/checkout@v6
772772

773773
- name: Download signed artifacts
774-
uses: actions/download-artifact@v5
774+
uses: actions/download-artifact@v7
775775
with:
776776
path: signed # download all artifacts to 'signed/'
777777

@@ -857,7 +857,7 @@ jobs:
857857
signed/winx64/*zip
858858
859859
- name: Store Artifacts
860-
uses: actions/upload-artifact@v4
860+
uses: actions/upload-artifact@v6
861861
with:
862862
if-no-files-found: error
863863
name: final-artifacts
@@ -894,7 +894,7 @@ jobs:
894894
steps:
895895

896896
- name: Download Signed Linux Packages
897-
uses: actions/download-artifact@v5
897+
uses: actions/download-artifact@v7
898898
with:
899899
name: cf-cli-linux-rpm-packages
900900

@@ -921,7 +921,7 @@ jobs:
921921
steps:
922922

923923
- name: Download Signed Linux Packages
924-
uses: actions/download-artifact@v5
924+
uses: actions/download-artifact@v7
925925
with:
926926
name: cf-cli-linux-deb-packages
927927

@@ -949,7 +949,7 @@ jobs:
949949
steps:
950950

951951
- name: Download Signed macOS Packages
952-
uses: actions/download-artifact@v5
952+
uses: actions/download-artifact@v7
953953
with:
954954
name: cf-cli-macos-packages
955955

@@ -973,7 +973,7 @@ jobs:
973973
steps:
974974

975975
- name: Download Signed Windows Binaries
976-
uses: actions/download-artifact@v5
976+
uses: actions/download-artifact@v7
977977
with:
978978
name: cf-cli-windows-binaries
979979

@@ -983,7 +983,7 @@ jobs:
983983
Get-AuthenticodeSignature -Verbose -ErrorAction Stop .\cf-cli_winx64.exe
984984
985985
- name: Download Signed Windows Binaries
986-
uses: actions/download-artifact@v5
986+
uses: actions/download-artifact@v7
987987
with:
988988
name: cf-cli-windows-packages
989989

@@ -1013,13 +1013,13 @@ jobs:
10131013
- s3-upload
10141014
steps:
10151015
- name: Download signed artifacts
1016-
uses: actions/download-artifact@v5
1016+
uses: actions/download-artifact@v7
10171017
with:
10181018
name: final-artifacts
10191019
path: ${{ env.ARTIFACTS_DIR }}
10201020

10211021
- name: Checkout CLI
1022-
uses: actions/checkout@v5
1022+
uses: actions/checkout@v6
10231023
with:
10241024
path: ${{ env.REPO_DIR }}
10251025

@@ -1059,7 +1059,7 @@ jobs:
10591059
VERSION_BUILD: ${{ needs.setup.outputs.version-build }}
10601060
steps:
10611061
- name: Checkout CLAW
1062-
uses: actions/checkout@v5
1062+
uses: actions/checkout@v6
10631063
with:
10641064
repository: cloudfoundry/CLAW
10651065
ref: master

0 commit comments

Comments
 (0)