Skip to content

Commit

Permalink
Merge pull request #10935 from linode/release-v1.128.0
Browse files Browse the repository at this point in the history
Release v1.128.0 - release → staging
  • Loading branch information
hkhalil-akamai authored Sep 16, 2024
2 parents cb5267e + 0290edf commit d7a115c
Show file tree
Hide file tree
Showing 588 changed files with 17,681 additions and 7,763 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ jobs:
lint:
strategy:
matrix:
package: ['linode-manager', '@linode/api-v4', '@linode/validation']
package: ["linode-manager", "@linode/api-v4", "@linode/validation"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
- uses: actions/cache@v3
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn workspace ${{ matrix.package }} run lint
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20.17"
- uses: actions/cache@v3
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn workspace ${{ matrix.package }} run lint

build-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"
- uses: actions/cache@v3
with:
path: |
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"
- uses: actions/cache@v3
with:
path: |
Expand All @@ -104,7 +104,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"
- uses: actions/cache@v3
with:
path: |
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"

# Download the validation and api-v4 artifacts (built packages)
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"
- uses: actions/cache@v3
with:
path: |
Expand All @@ -191,7 +191,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"
- uses: actions/cache@v3
with:
path: |
Expand All @@ -208,7 +208,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"
- uses: actions/cache@v3
with:
path: |
Expand All @@ -234,7 +234,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"
- uses: actions/cache@v3
with:
path: |
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"
- uses: actions/cache@v3
with:
path: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.base_ref }} # The base branch of the PR (develop)
ref: ${{ github.base_ref }} # The base branch of the PR (develop)

- name: Use Node.js v18.14.0
- name: Use Node.js v20.17 LTS
uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"

- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -54,10 +54,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Use Node.js v18.14.0
- name: Use Node.js v20.17 LTS
uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"

- uses: actions/cache@v3
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/coverage_badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Use Node.js v18.14.0
- name: Use Node.js v20.17 LTS
uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"

- uses: actions/cache@v3
with:
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Generate Coverage Badge
uses: jaywcjlove/coverage-badges-cli@7f0781807ef3e7aba97a145beca881d36451b7b7 # v1.1.1
with:
label: '@linode/manager coverage'
label: "@linode/manager coverage"
source: ./packages/manager/coverage/coverage-summary.json
output: ./packages/manager/coverage/badges.svg

Expand All @@ -52,4 +52,4 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.COVERAGE_BUCKET_ACCESS }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.COVERAGE_BUCKET_SECRET }}
AWS_REGION: us-east-1
SOURCE_DIR: ./packages/manager/coverage
SOURCE_DIR: ./packages/manager/coverage
6 changes: 3 additions & 3 deletions .github/workflows/coverage_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Use Node.js v18.14.0
- name: Use Node.js v20.17 LTS
uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"

- name: Download PR Number Artifact
uses: dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e #v2.28.0
Expand All @@ -45,7 +45,7 @@ jobs:

- name: Set PR Number Environment Variables
run: |
echo "PR_NUMBER=$(cat pr_number.txt)" >> $GITHUB_ENV
echo "PR_NUMBER=$(cat pr_number.txt)" >> $GITHUB_ENV
- name: Generate Coverage Comment
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_schedule_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
node-version: "20.17"
- uses: actions/cache@v3
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.14.1
20.17
3 changes: 3 additions & 0 deletions Jenkinsfile-component-tests.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
library 'ui-builder'

testManagerComponents()
25 changes: 25 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Akamai uses HackerOne for responsible disclosure using separate, invite-only programs for specific scopes

## Akamai CDN

<https://hackerone.com/akamai?type=team>

## Akamai Connected Cloud / Linode

<https://hackerone.com/linode?type=team>

Policy: <https://www.akamai.com/site/en/documents/akamai/2024/security-research-agreement.pdf>

## In addition, we welcome _all_ types of security reports via email

Contact: mailto:security@akamai.com

Encryption: <https://www.akamai.com/us/en/multimedia/documents/infosec/akamai-security-general.pub>

## Please send abuse reports to

Contact: mailto:abuse@akamai.com

Hiring: <https://www.akamai.com/careers>

Preferred-Languages: en
16 changes: 16 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ x-e2e-env:
CY_TEST_SPLIT_RUN_TOTAL: ${CY_TEST_SPLIT_RUN_TOTAL}
CY_TEST_SPLIT_RUN_INDEX: ${CY_TEST_SPLIT_RUN_INDEX}

# Cypress performance.
CY_TEST_ACCOUNT_CACHE_DIR: ${CY_TEST_ACCOUNT_CACHE_DIR}

# Cypress reporting.
CY_TEST_JUNIT_REPORT: ${CY_TEST_JUNIT_REPORT}
CY_TEST_USER_REPORT: ${CY_TEST_USER_REPORT}
Expand All @@ -63,6 +66,7 @@ x-e2e-env:
x-e2e-volumes:
&default-volumes
- ./.git:/home/node/app/.git
- ./cache:/home/node/app/cache
- ./packages/manager:/home/node/app/packages/manager
- ./packages/validation:/home/node/app/packages/validation
- ./packages/api-v4:/home/node/app/packages/api-v4
Expand All @@ -83,6 +87,8 @@ x-e2e-runners:
condition: service_healthy
env_file: ./packages/manager/.env
volumes: *default-volumes
# TODO Stop using entrypoint, use CMD instead.
# (Or just make `yarn` the entrypoint, but either way stop forcing `cy:e2e`).
entrypoint: ['yarn', 'cy:e2e']

services:
Expand Down Expand Up @@ -114,6 +120,16 @@ services:
<<: *default-env
MANAGER_OAUTH: ${MANAGER_OAUTH}

# Component test runner.
# Does not require any Cloud Manager environment to run.
component:
<<: *default-runner
depends_on: []
environment:
CY_TEST_DISABLE_RETRIES: ${CY_TEST_DISABLE_RETRIES}
CY_TEST_JUNIT_REPORT: ${CY_TEST_JUNIT_REPORT}
entrypoint: ['yarn', 'cy:component:run']

# End-to-end test runner for Cloud's synthetic monitoring tests.
# Configured to run against a remote Cloud instance hosted at some URL.
e2e_heimdall:
Expand Down
6 changes: 3 additions & 3 deletions docs/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
5. After your OAuth App has been created, copy the ID (not the secret).
6. In `packages/manager`, copy the contents of `.env.example` and paste them into a new file called `.env`.
7. In `.env` set `REACT_APP_CLIENT_ID` to the ID from step 5.
8. Install Node.js 18.14.1. We recommend using [Volta](https://volta.sh/):
8. Install Node.js 20.17 LTS. We recommend using [Volta](https://volta.sh/):

```bash

$ curl https://get.volta.sh | bash

## Add volta to your .*rc file, or open a new terminal window.

$ volta install node@18.14.1
$ volta install node@20.17

$ node --version
## v18.14.1
## v20.17.0

```

Expand Down
8 changes: 8 additions & 0 deletions docs/development-guide/08-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,14 @@ Environment variables related to Cypress logging and reporting, as well as repor
| `CY_TEST_FAIL_ON_MANAGED` | Fail affected tests when Managed is enabled | `1` | Unset; disabled by default |
| `CY_TEST_GENWEIGHTS` | Generate and output test weights to the given path | `./weights.json` | Unset; disabled by default |
###### Performance
Environment variables that can be used to improve test performance in some scenarios.
| Environment Variable | Description | Example | Default |
|---------------------------------|-----------------------------------------------|--------------------|----------------------------|
| `CY_TEST_ACCOUNT_CACHE_DIR` | Directory containing test account cache data | `./cache/accounts` | Unset; disabled by default |
### Writing End-to-End Tests
1. Look here for [Cypress Best Practices](https://docs.cypress.io/guides/references/best-practices)
Expand Down
Loading

0 comments on commit d7a115c

Please sign in to comment.