Skip to content

Commit 6671e2a

Browse files
committed
Merge remote-tracking branch 'origin/1.39.0'
2 parents a3759d5 + c965953 commit 6671e2a

Some content is hidden

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

61 files changed

+9279
-5146
lines changed

.gitlab-ci.yml

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -66,26 +66,41 @@ lint:
6666
- npm run lint
6767

6868
test_node:4:
69-
image: $DOCKER_URL/node:4
7069
stage: test
7170
needs: []
7271
tags:
7372
- cm-official-docker-executor
7473
script:
75-
- npm install --global [email protected]
74+
# npm install fails for some packages on older versions of node, so use a newer
75+
# version just for the install
76+
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
77+
- export NVM_DIR="$HOME/.nvm"
78+
- source "$NVM_DIR/nvm.sh"
79+
- nvm install 4
80+
- nvm install --latest-npm 12
81+
- nvm use 12
7682
- npm install --no-optional
7783
- npm install [email protected]
84+
- nvm use 4
7885
- npm test
7986

8087
test_node:6:
81-
image: $DOCKER_URL/node:6
8288
stage: test
8389
needs: []
8490
tags:
8591
- cm-official-docker-executor
8692
script:
87-
- npm install --no-optional
88-
- npm install [email protected]
93+
# npm install fails for some packages on older versions of node, so use a newer
94+
# version just for the install
95+
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
96+
- export NVM_DIR="$HOME/.nvm"
97+
- source "$NVM_DIR/nvm.sh"
98+
- nvm install 6
99+
- nvm install --latest-npm 12
100+
- nvm use 12
101+
- npm ci --no-optional
102+
- npm install [email protected]
103+
- nvm use 6
89104
- npm test -- $TEST_REPORTER_OPTIONS
90105
artifacts:
91106
when: always
@@ -201,11 +216,14 @@ reactivate_big_iq_license:
201216
- node scripts/dev/reactivateBigIq.js
202217

203218
build_api_docs:
204-
image: $DOCKER_URL/node:12
219+
image: $DOCKER_URL/node:16
205220
stage: apidocs
206221
needs: []
207222
script:
208223
# install packages
224+
# package-lock ends up with OS specific info during npm install, so
225+
# make sure it is right for the platform we're on
226+
- rm package-lock.json
209227
- npm install
210228
# generate docs
211229
- npm run make-api-docs
@@ -221,7 +239,7 @@ create_docs:
221239
image: ${CONTAINTHEDOCS_IMAGE}
222240
stage: build
223241
allow_failure: true
224-
needs:
242+
needs:
225243
- build_api_docs
226244
script:
227245
- if [ "$CI_COMMIT_REF_NAME" = "docs-staging" ] || [ "$CI_COMMIT_REF_NAME" = "docs-latest" ]; then
@@ -248,7 +266,7 @@ create_docs:
248266
tags:
249267
- do-test-docker-executor
250268
stage: deploy
251-
timeout: 1 hour
269+
timeout: 2 hours
252270
script:
253271
- apk update
254272
# Need to add bash, because included sh doen't support arrays
@@ -279,7 +297,7 @@ create_docs:
279297
- ${TEST_HARNESS_FILE}
280298
expire_in: 1 day
281299
retry:
282-
max: 1
300+
max: 2
283301
when: script_failure
284302

285303
deploy_for_this_project:
@@ -360,7 +378,7 @@ integration-test:
360378
- apt-get install -y expect
361379
- scripts/dev/collectRemoteIntegrationTestLogs.sh ${TEST_HARNESS_FILE}
362380
artifacts:
363-
name: f5-declarative-onboarding-$CI_BUILD_REF
381+
name: f5-declarative-onboarding-$CI_COMMIT_SHA
364382
when: always
365383
paths:
366384
- test/logs
@@ -441,17 +459,6 @@ pages:
441459
- COVERAGE_DOCS=${PUBLIC_DIR}/coverage-docs
442460
- mkdir -p ${COVERAGE_DOCS}
443461
- cp -R coverage/* ${COVERAGE_DOCS}
444-
## place code contribution docs (includes presentation) under: /contribute-docs ##
445-
- CONTRIBUTE_DOCS=${PUBLIC_DIR}/contribute-docs
446-
- CONTRIBUTE_DIR=contributing
447-
# install presentation site dependencies
448-
- cd ${CONTRIBUTE_DIR} && npm install && cd ..
449-
- mkdir -p ${CONTRIBUTE_DOCS}
450-
- cp -R ${CONTRIBUTE_DIR}/* ${CONTRIBUTE_DOCS}
451-
- BASE_URL_FOR_LINKS=${CI_PROJECT_URL}/tree/${CI_COMMIT_REF_NAME}/${CONTRIBUTE_DIR}/
452-
- README=${CONTRIBUTE_DOCS}/README.md
453-
# make absolute URL(s) for relative URL(s) outside current directory '../'
454-
- sed -i -E 's/\[.*\]\(\.\./&SED_TEMP/' ${README} && sed -i "s|..SED_TEMP|${BASE_URL_FOR_LINKS}..|" ${README}
455462
artifacts:
456463
paths:
457464
- public

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# Changelog
22
Changes to this project are documented in this file. More detail and links can be found in the Declarative Onboarding [Document Revision History](https://clouddocs.f5.com/products/extensions/f5-declarative-onboarding/latest/revision-history.html).
33

4+
## 1.39.0
5+
### Added
6+
7+
### Fixed
8+
- AUTOTOOL-3849: DeviceCertificate hangs on BIG-IQ with no error response to user
9+
- AUTOTOOL-3741: Failure to configure BIG-IP when built-in admin account is disabled
10+
- AUTOTOOL-3867: Empty object defaults can cause upgrade failures
11+
12+
### Changed
13+
14+
### Removed
15+
416
## 1.38.0
517
### Added
618
- AUTOTOOL-118: ([Github Issue 9](https://github.com/F5Networks/f5-declarative-onboarding/issues/9)): Support for revoking license on a BIG-IP

SUPPORT.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ Currently supported versions:
1313

1414
| Software Version | Release Type | First Customer Ship | End of Support |
1515
|------------------|---------------|---------------------|-----------------|
16-
| DO 1.36.0 | Feature | 09-Feb-2023 | 09-May-2023 |
1716
| DO 1.36.1 | LTS | 09-Mar-2023 | 09-Mar-2024 |
18-
| DO 1.37.0 | Feature | 27-Mar-2022 | 27-Jun-2023 |
1917
| DO 1.38.0 | Feature | 22-May-2023 | 22-Aug-2023 |
18+
| DO 1.39.0 | Feature | 24-Jul-2023 | 24-Oct-2023 |
2019

2120

2221
\* Fix for Allowed schema version
@@ -65,6 +64,8 @@ Versions no longer supported:
6564
| DO 1.27.1 | LTS | 08-Mar-2022 | 08-Mar-2023 |
6665
| DO 1.34.0 | Feature | 15-Nov-2022 | 15-Feb-2023 |
6766
| DO 1.35.0 | Feature | 12-Jan-2023 | 12-Apr-2023 |
67+
| DO 1.36.0 | Feature | 09-Feb-2023 | 09-May-2023 |
68+
| DO 1.37.0 | Feature | 27-Mar-2022 | 27-Jun-2023 |
6869

6970
\* Fix for updated Docker Container packaging only
7071

contributing/index.html

Lines changed: 0 additions & 61 deletions
This file was deleted.

contributing/main.css

Lines changed: 0 additions & 5 deletions
This file was deleted.

contributing/package-lock.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

contributing/package.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

contributing/process_release.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
* Go to the atg-build project in GitLab
3333
* Edit the DO schedule to set the `gitBranch` variable to the LTS branch.
3434
* Run the DO schedule.
35-
* After the build completes, edit the DO schedule to set the `gitBranch` variable back to develop.
35+
* After the build completes, edit the DO schedule to set the `gitBranch` variable back to `develop`.
3636
* Using the GUI create a tag off the LTS branch (e.g. 1.36.1)
3737
* In the GUI go to `Repository -> Tags -> New tag`.
3838
* The name of the tag should be the LTS version with a 'v' at the front (e.g. v1.36.1).
3939
* Update the `createFrom` to point at the LTS branch.
4040
* Set the message to: `LTS release v<LTS version>` (e.g. "LTS release v1.36.1")
41-
* Merge the LTS branch (without updating the package version) into develop and create an MR for this.
42-
* Merge the LTS branch (only update package version if LTS is latest) into master and create an MR for this.
41+
* Merge the LTS branch (without updating the package version) into `develop` and create an MR for this.
42+
* Merge the LTS branch (only update package version if LTS is latest) into `main` and create an MR for this.
4343
4444
## Process for release
4545
### Begin process release at the very beginning of the first sprint of a new release, by performing the following actions
@@ -64,7 +64,7 @@
6464
* `git checkout develop`
6565
* `git pull`
6666
* Determine the `<new-version-number>` by incrementing the minor release number, and setting the patch number to 0 (e.g. 1.35.0 becomes 1.36.0).
67-
* `get checkout -b bump-to-<new-version-number>`
67+
* `git checkout -b bump-to-<new-version-number>`
6868
* `git checkout <version> src/schema/<version>`
6969
* This pulls in the new schema directory from the release branch
7070
* Edit package.json and package-lock.json to `<new-version-number>-0` (e.g. 1.36.0-0).
@@ -74,11 +74,11 @@
7474
```
7575
## <new-version-number>
7676
### Added
77-
77+
7878
### Fixed
79-
79+
8080
### Changed
81-
81+
8282
### Removed
8383
```
8484
* git add, commit, and push.
@@ -88,19 +88,19 @@
8888
8989
### Actions on night before Go/No-Go meeting:
9090
* Using the GUI, create 2 MRs
91-
* 1 MR to merge release branch to `master`.
91+
* 1 MR to merge release branch to `main`.
9292
* 1 MR to merge release branch to `develop`.
9393
* Do not squash commits.
9494
* Do not delete branch.
9595
* You can self-approve and merge these MRs.
9696
* Note: If the GUI suggests a rebase, do a merge locally instead (see below). DO NOT TRUST the GUI rebase tool, it lies!
97-
* `git checkout <master/develop>`
97+
* `git checkout <main/develop>`
9898
* `git pull`
99-
* `git checkout -b merge-<version>-to-<master/develop>`
99+
* `git checkout -b merge-<version>-to-<main/develop>`
100100
* `git merge <version>`
101101
* `git push`
102-
* Via GUI, create an MR to merge this into `<master/develop>`
103-
* Using the GUI, create a tag on the `master` branch in the format `v<version>` (e.g. `v1.34.0`).
102+
* Via GUI, create an MR to merge this into `<main/develop>`
103+
* Using the GUI, create a tag on the `main` branch in the format `v<version>` (e.g. `v1.34.0`).
104104
### Actions after go ahead from Go/No-Go meeting:
105105
* Confirm with Hannah things are good to go.
106106
* Close your Jira task when the release is complete.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
# The short X.Y version.
8686
version = u''
8787
# The full version, including alpha/beta/rc tags.
88-
release = u'1.37.0'
88+
release = u'1.39.0'
8989

9090
# The language for content autogenerated by Sphinx. Refer to documentation
9191
# for a list of supported languages.

docs/declarations/auth.rst

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This example declaration contains all three authentication methods with the **en
3737

3838
For more information on options and BIG-IP DO usage, see |auth| and the subsequent entries in the Schema Reference.
3939

40-
.. NOTE:: We updated this example for the following: |br| - BIG-IP DO 1.17 includes a CA certificate for LDAP using the new **sslCaCert** property. |br| - BIG-IP DO 1.21 includes the ability to enable or disable LDAP referral chasing using the new **referrals** Boolean (BIG-IP 15.1 and later only). |br| See |authldap| in the Schema Reference for BIG-IP DO information and BIG-IP DO usage. |br| **IMPORTANT**: If you attempt to use the example declaration on a previous version that does not include one of these features, it will fail. You can remove the lines highlighted in yellow for previous versions of BIG-IP DO.
40+
.. NOTE:: We updated this example for the following: |br| - BIG-IP DO 1.17 includes a CA certificate for LDAP using the new **sslCaCert** property. |br| - BIG-IP DO 1.21 includes the ability to enable or disable LDAP referral chasing using the new **referrals** Boolean (BIG-IP 15.1 and later only). |br| See |authldap| in the Schema Reference for BIG-IP DO information and BIG-IP DO usage. Also see the LDAP example :ref:`Reference CA cert via URL<ldap-ssl>`. |br| **IMPORTANT**: If you attempt to use the example declaration on a previous version that does not include one of these features, it will fail. You can remove the lines highlighted in yellow for previous versions of BIG-IP DO.
4141

4242
In the following declaration snippet we show only the classes related to authentication. You can use this class as a part of a larger BIG-IP Declarative Onboarding declaration.
4343

@@ -149,6 +149,26 @@ See |pp| in the schema reference for specific details on each of the parameters
149149

150150
:ref:`Back to top<auth-examples>`
151151

152+
|
153+
154+
.. _ldap-ssl:
155+
156+
Referencing a URL in the sslCaCert property of Authentication_ldap
157+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
158+
.. sidebar:: :fonticon:`fa fa-info-circle fa-lg` Version Notice:
159+
160+
Support for the **sslCaCert** property in the Authentication_ldap class is available in BIG-IP DO v1.38 and later.
161+
162+
163+
This example shows how you can reference an SSL CA certificate by URL in the **sslCaCert** property of the **Authentication_ldap** class in BIG-IP DO 1.38 and later. This class allows you reference a certificate rather than have the entire base64 value in the declaration.
164+
165+
See |authldap| in the schema reference for more information and DO usage.
166+
167+
.. literalinclude:: ../../examples/ldapSslCaCertUrlRef.json
168+
:language: json
169+
170+
:ref:`Back to top<auth-examples>`
171+
152172

153173

154174
.. |certclass| raw:: html

0 commit comments

Comments
 (0)