-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/1.39.0'
- Loading branch information
Showing
61 changed files
with
9,279 additions
and
5,146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,26 +66,41 @@ lint: | |
- npm run lint | ||
|
||
test_node:4: | ||
image: $DOCKER_URL/node:4 | ||
stage: test | ||
needs: [] | ||
tags: | ||
- cm-official-docker-executor | ||
script: | ||
- npm install --global [email protected] | ||
# npm install fails for some packages on older versions of node, so use a newer | ||
# version just for the install | ||
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash | ||
- export NVM_DIR="$HOME/.nvm" | ||
- source "$NVM_DIR/nvm.sh" | ||
- nvm install 4 | ||
- nvm install --latest-npm 12 | ||
- nvm use 12 | ||
- npm install --no-optional | ||
- npm install [email protected] | ||
- nvm use 4 | ||
- npm test | ||
|
||
test_node:6: | ||
image: $DOCKER_URL/node:6 | ||
stage: test | ||
needs: [] | ||
tags: | ||
- cm-official-docker-executor | ||
script: | ||
- npm install --no-optional | ||
- npm install [email protected] | ||
# npm install fails for some packages on older versions of node, so use a newer | ||
# version just for the install | ||
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash | ||
- export NVM_DIR="$HOME/.nvm" | ||
- source "$NVM_DIR/nvm.sh" | ||
- nvm install 6 | ||
- nvm install --latest-npm 12 | ||
- nvm use 12 | ||
- npm ci --no-optional | ||
- npm install [email protected] | ||
- nvm use 6 | ||
- npm test -- $TEST_REPORTER_OPTIONS | ||
artifacts: | ||
when: always | ||
|
@@ -201,11 +216,14 @@ reactivate_big_iq_license: | |
- node scripts/dev/reactivateBigIq.js | ||
|
||
build_api_docs: | ||
image: $DOCKER_URL/node:12 | ||
image: $DOCKER_URL/node:16 | ||
stage: apidocs | ||
needs: [] | ||
script: | ||
# install packages | ||
# package-lock ends up with OS specific info during npm install, so | ||
# make sure it is right for the platform we're on | ||
- rm package-lock.json | ||
- npm install | ||
# generate docs | ||
- npm run make-api-docs | ||
|
@@ -221,7 +239,7 @@ create_docs: | |
image: ${CONTAINTHEDOCS_IMAGE} | ||
stage: build | ||
allow_failure: true | ||
needs: | ||
needs: | ||
- build_api_docs | ||
script: | ||
- if [ "$CI_COMMIT_REF_NAME" = "docs-staging" ] || [ "$CI_COMMIT_REF_NAME" = "docs-latest" ]; then | ||
|
@@ -248,7 +266,7 @@ create_docs: | |
tags: | ||
- do-test-docker-executor | ||
stage: deploy | ||
timeout: 1 hour | ||
timeout: 2 hours | ||
script: | ||
- apk update | ||
# Need to add bash, because included sh doen't support arrays | ||
|
@@ -279,7 +297,7 @@ create_docs: | |
- ${TEST_HARNESS_FILE} | ||
expire_in: 1 day | ||
retry: | ||
max: 1 | ||
max: 2 | ||
when: script_failure | ||
|
||
deploy_for_this_project: | ||
|
@@ -360,7 +378,7 @@ integration-test: | |
- apt-get install -y expect | ||
- scripts/dev/collectRemoteIntegrationTestLogs.sh ${TEST_HARNESS_FILE} | ||
artifacts: | ||
name: f5-declarative-onboarding-$CI_BUILD_REF | ||
name: f5-declarative-onboarding-$CI_COMMIT_SHA | ||
when: always | ||
paths: | ||
- test/logs | ||
|
@@ -441,17 +459,6 @@ pages: | |
- COVERAGE_DOCS=${PUBLIC_DIR}/coverage-docs | ||
- mkdir -p ${COVERAGE_DOCS} | ||
- cp -R coverage/* ${COVERAGE_DOCS} | ||
## place code contribution docs (includes presentation) under: /contribute-docs ## | ||
- CONTRIBUTE_DOCS=${PUBLIC_DIR}/contribute-docs | ||
- CONTRIBUTE_DIR=contributing | ||
# install presentation site dependencies | ||
- cd ${CONTRIBUTE_DIR} && npm install && cd .. | ||
- mkdir -p ${CONTRIBUTE_DOCS} | ||
- cp -R ${CONTRIBUTE_DIR}/* ${CONTRIBUTE_DOCS} | ||
- BASE_URL_FOR_LINKS=${CI_PROJECT_URL}/tree/${CI_COMMIT_REF_NAME}/${CONTRIBUTE_DIR}/ | ||
- README=${CONTRIBUTE_DOCS}/README.md | ||
# make absolute URL(s) for relative URL(s) outside current directory '../' | ||
- sed -i -E 's/\[.*\]\(\.\./&SED_TEMP/' ${README} && sed -i "s|..SED_TEMP|${BASE_URL_FOR_LINKS}..|" ${README} | ||
artifacts: | ||
paths: | ||
- public | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.