-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Deprecate
versions.json
updates
We don't know how this will look in the future, but for the time being we should stop updating a file that won't anymore represent what we are supporting or not. Ticket: QA-794 Signed-off-by: Lluis Campos <[email protected]>
- Loading branch information
1 parent
2d0f512
commit 5c5924c
Showing
2 changed files
with
0 additions
and
211 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 |
---|---|---|
|
@@ -44,49 +44,3 @@ variables: | |
MENDER_CLIENT_TAG: | ||
description: "Mender Client Docker tag for running integration tests" | ||
value: mender-master | ||
|
||
.publish:versions: | ||
stage: publish | ||
image: python:slim | ||
before_script: | ||
- apt-get update && apt-get install -qqy curl hub unzip | ||
- export GITHUB_TOKEN="$GITHUB_BOT_TOKEN_REPO_FULL" | ||
- pip3 install pyyaml | ||
- curl -fsSL https://deno.land/x/install/install.sh | sh | ||
- curl -sLO https://docs.mender.io/releases/versions.json | ||
# Prepare SSH key | ||
- eval $(ssh-agent -s) | ||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null | ||
- mkdir -p ~/.ssh | ||
- chmod 700 ~/.ssh | ||
- ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
# Configure git | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Mender Test Bot" | ||
script: | ||
- git for-each-ref --shell --format="tag:%(refname:short) datetime:%(creatordate:format:%s)" "refs/tags/*" | sort -V -r > tags | ||
- python extra/release_info_generator.py | ||
- /root/.deno/bin/deno fmt versions.json | ||
- hub clone mendersoftware/mender-docs-site && mv versions.json mender-docs-site/releases/versions.json && cd mender-docs-site | ||
- git checkout -b update-versions-$(date +%s) | ||
- "git add releases/versions.json && git commit --signoff -m 'chore: Version information update'" | ||
- hub pull-request --push --base mendersoftware:master --message "Version information update" --message "keeping up with the versions" | ||
artifacts: | ||
expire_in: 2w | ||
paths: | ||
- mender-docs-site/releases/versions.json | ||
when: always | ||
|
||
publish:versions:tags: | ||
rules: | ||
- if: $CI_PIPELINE_SOURCE == "schedule" | ||
when: never | ||
- if: $CI_COMMIT_TAG | ||
extends: .publish:versions | ||
|
||
publish:versions:manual: | ||
when: manual | ||
rules: | ||
- if: $CI_PIPELINE_SOURCE == "schedule" | ||
when: never | ||
extends: .publish:versions |
This file was deleted.
Oops, something went wrong.