Skip to content

Commit a636df9

Browse files
authored
Merge pull request #606 from linode/dev
Release v5.49.0
2 parents 592ddb3 + 77b7e8c commit a636df9

Some content is hidden

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

70 files changed

+3572
-1533
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ body:
88
attributes:
99
label: CLI Version
1010
description: What version of linode-cli are you running? `linode-cli -v`
11-
placeholder: linode-cli 5.24.0 Built off spec version 4.138.0
11+
placeholder: linode-cli 5.24.0 Built from spec version 4.138.0
1212
validations:
1313
required: true
1414
- type: textarea

.github/labels.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# PR Labels
12
- name: new-feature
23
description: for new features in the changelog.
34
color: 225fee
@@ -13,6 +14,9 @@
1314
- name: documentation
1415
description: for updates to the documentation in the changelog.
1516
color: d3e1e6
17+
- name: dependencies
18+
description: dependency updates usually from dependabot
19+
color: 5c9dff
1620
- name: testing
1721
description: for updates to the testing suite in the changelog.
1822
color: 933ac9
@@ -22,3 +26,13 @@
2226
- name: ignore-for-release
2327
description: PRs you do not want to render in the changelog
2428
color: 7b8eac
29+
- name: do-not-merge
30+
description: PRs that should not be merged until the commented issue is resolved
31+
color: eb1515
32+
# Issue Labels
33+
- name: enhancement
34+
description: issues that request a enhancement
35+
color: 22ee47
36+
- name: bug
37+
description: issues that report a bug
38+
color: ed8e21

.github/workflows/e2e-suite-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
python-version: '3.x'
6969

7070
- name: Install Python deps
71-
run: pip install -r requirements.txt -r requirements-dev.txt wheel boto3
71+
run: pip install .[dev,obj]
7272

7373
- name: Install the CLI
7474
run: make install
@@ -158,7 +158,7 @@ jobs:
158158
python-version: '3.x'
159159

160160
- name: Install Python deps
161-
run: pip install -r requirements.txt -r requirements-dev.txt wheel boto3
161+
run: pip install .[obj,dev]
162162

163163
- name: Install the CLI
164164
run: make install

.github/workflows/e2e-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: pip install certifi -U
3434

3535
- name: Install deps
36-
run: pip install -r requirements.txt -r requirements-dev.txt
36+
run: pip install .[obj,dev]
3737

3838
- name: Install Package
3939
run: make install

.github/workflows/labeler.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: labeler
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
paths:
8+
- '.github/labels.yml'
9+
- '.github/workflows/labeler.yml'
10+
pull_request:
11+
paths:
12+
- '.github/labels.yml'
13+
- '.github/workflows/labeler.yml'
14+
15+
jobs:
16+
labeler:
17+
runs-on: ubuntu-latest
18+
steps:
19+
-
20+
name: Checkout
21+
uses: actions/checkout@v4
22+
-
23+
name: Run Labeler
24+
uses: crazy-max/ghaction-github-labeler@de749cf181958193cb7debf1a9c5bb28922f3e1b
25+
with:
26+
github-token: ${{ secrets.GITHUB_TOKEN }}
27+
yaml-file: .github/labels.yml
28+
dry-run: ${{ github.event_name == 'pull_request' }}
29+
exclude: |
30+
help*
31+
*issue

.github/workflows/nightly-smoke-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
python-version: '3.x'
2222

2323
- name: Install Python deps
24-
run: pip install -r requirements.txt -r requirements-dev.txt wheel boto3
24+
run: pip install .[obj,dev]
2525

2626
- name: Install Linode CLI
2727
run: make install

.github/workflows/oci-build.yml renamed to .github/workflows/publish-oci.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,18 @@ jobs:
3434
# This is necessary as we want to ensure that version tags
3535
# are properly formatted before passing them into the
3636
# DockerFile.
37-
- name: Get CLI version
38-
run: |
39-
export CLI_VERSION=$(./version)
40-
echo "CLI_VERSION=$CLI_VERSION" >> $GITHUB_OUTPUT
41-
env:
42-
LINODE_CLI_VERSION: ${{ github.event.release.tag_name }}
37+
- uses: actions/github-script@v7
4338
id: cli_version
39+
with:
40+
script: |
41+
let tag_name = '${{ github.event.release.tag_name }}';
42+
43+
if (tag_name.startsWith("v")) {
44+
tag_name = tag_name.slice(1);
45+
}
46+
47+
return tag_name;
48+
result-encoding: string
4449

4550
- name: Build and push to DockerHub
4651
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # pin@v4.1.1
@@ -49,7 +54,7 @@ jobs:
4954
file: Dockerfile
5055
platforms: linux/amd64,linux/arm64
5156
push: true
52-
tags: linode/cli:${{ steps.cli_version.outputs.CLI_VERSION }},linode/cli:latest
57+
tags: linode/cli:${{ steps.cli_version.outputs.result }},linode/cli:latest
5358
build-args: |
54-
linode_cli_version=${{ steps.cli_version.outputs.CLI_VERSION }}
59+
linode_cli_version=${{ steps.cli_version.outputs.result }}
5560
github_token=${{ secrets.GITHUB_TOKEN }}

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: install boto3
1717
run: pip3 install boto3
1818
- name: install dependencies
19-
run: pip3 install -r requirements-dev.txt -r requirements.txt
19+
run: pip install .[obj,dev]
2020

2121
- name: run linter
2222
run: make lint

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: pip install certifi -U
2626

2727
- name: Install deps
28-
run: pip install -r requirements.txt -r requirements-dev.txt
28+
run: pip install .[dev]
2929

3030
- name: Install Package
3131
run: make install
@@ -53,7 +53,7 @@ jobs:
5353
run: pip install certifi -U
5454

5555
- name: Install deps
56-
run: pip install -r requirements.txt -r requirements-dev.txt
56+
run: pip install .[dev]
5757

5858
- name: Install Package
5959
shell: pwsh

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
linode-cli

0 commit comments

Comments
 (0)