Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-10-22 14:17:09 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-10-22 14:17:09 +0300
commitf438ff021060eabdfb5fcdb996b7c391f5653b49 (patch)
tree01b8e30259e7377c9a9956f96ac8478e77fefb6a
parent714404480e6d41c8ba948c52da157ac316a3ad46 (diff)
Release 12.4
-rw-r--r--Dockerfile.master2
-rw-r--r--content/404.html2
-rw-r--r--content/_data/versions.yaml3
-rw-r--r--dockerfiles/Dockerfile.archives1
4 files changed, 5 insertions, 3 deletions
diff --git a/Dockerfile.master b/Dockerfile.master
index 480cd2be..abf95b9c 100644
--- a/Dockerfile.master
+++ b/Dockerfile.master
@@ -44,9 +44,9 @@ RUN rm -rf /usr/share/nginx/html/*
# Get all the archive static HTML and put it into place
# Copy the versions found in 'content/_data/versions.yaml' under online.
+COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:12.4 ${TARGET} ${TARGET}
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:12.3 ${TARGET} ${TARGET}
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:12.2 ${TARGET} ${TARGET}
-COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:12.1 ${TARGET} ${TARGET}
# Get the built docs output from the previous build stage
# This ordering means all previous layers can come from cache unless an archive
diff --git a/content/404.html b/content/404.html
index a41999e3..a3ff346a 100644
--- a/content/404.html
+++ b/content/404.html
@@ -39,7 +39,7 @@ searchbar: false
<script type="text/javascript">
// Redirect to /archives on a non-existing versions
// Place here all offline versions as seen inside content/_data/versions.yaml
- if (/10.3|10.4|10.5|10.6|10.7|10.8|11.0|11.1|11.2|11.3|11.4|11.5|11.6|11.7|11.8|11.9|11.10|11.11|12.0/.test(window.location.href)) {
+ if (/10.3|10.4|10.5|10.6|10.7|10.8|11.0|11.1|11.2|11.3|11.4|11.5|11.6|11.7|11.8|11.9|11.10|11.11|12.0|12.1/.test(window.location.href)) {
window.location.replace("https://docs.gitlab.com/archives");
}
</script>
diff --git a/content/_data/versions.yaml b/content/_data/versions.yaml
index 1acc192c..57cd8a77 100644
--- a/content/_data/versions.yaml
+++ b/content/_data/versions.yaml
@@ -1,11 +1,12 @@
# The first online version should always point to the
# current stable version.
online:
+ - "12.4"
- "12.3"
- "12.2"
- - "12.1"
offline:
+ - "12.1"
- "12.0"
- "11.11"
- "11.10"
diff --git a/dockerfiles/Dockerfile.archives b/dockerfiles/Dockerfile.archives
index be92095b..01dab6c2 100644
--- a/dockerfiles/Dockerfile.archives
+++ b/dockerfiles/Dockerfile.archives
@@ -7,6 +7,7 @@ ENV TARGET=/usr/share/nginx/html
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:nginx-onbuild /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
# Get all the archive static HTML and put it into place
+COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:12.4 ${TARGET} ${TARGET}
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:12.3 ${TARGET} ${TARGET}
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:12.2 ${TARGET} ${TARGET}
COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:12.1 ${TARGET} ${TARGET}