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:
authorEvan Read <eread@gitlab.com>2022-05-23 06:21:27 +0300
committerEvan Read <eread@gitlab.com>2022-05-23 06:22:34 +0300
commit2727472f97c6b7eee93a62f4ecdb6e3619d4794b (patch)
tree8b77fe89cf22072d32c5400b23a35fd4f0d73d76
parentb1b77af68f51394f96ad22b45b3ef87dfc468521 (diff)
Rename main.Dockerfile to latest.Dockerfileeread/rename-main-dockerfile-to-latest
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--Makefile2
-rw-r--r--doc/releases.md4
-rw-r--r--latest.Dockerfile (renamed from main.Dockerfile)0
4 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9039f754..e4b00435 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -423,7 +423,7 @@ lint_dockerfiles:
before_script: []
dependencies: []
script:
- - hadolint main.Dockerfile .gitpod.Dockerfile **/*.Dockerfile
+ - hadolint latest.Dockerfile .gitpod.Dockerfile **/*.Dockerfile
###############################################
# Review Apps #
@@ -726,7 +726,7 @@ image:docs-latest:
variables:
NANOC_ENV: 'production'
IMAGE_NAME: $CI_REGISTRY_IMAGE:latest
- DOCKERFILE: $CI_COMMIT_REF_NAME.Dockerfile
+ DOCKERFILE: latest.Dockerfile
environment:
name: registry/latest
script:
diff --git a/Makefile b/Makefile
index 1e39676b..0b911ef1 100644
--- a/Makefile
+++ b/Makefile
@@ -97,4 +97,4 @@ brew-bundle:
test: setup brew-bundle
@printf "\n$(INFO)INFO: Running all tests..$(INFO_END)\n"
- @bundle exec rspec && yarn test && yarn eslint && yarn prettier && hadolint main.Dockerfile .gitpod.Dockerfile **/*.Dockerfile && yamllint .gitlab-ci.yml content/_data
+ @bundle exec rspec && yarn test && yarn eslint && yarn prettier && hadolint latest.Dockerfile .gitpod.Dockerfile **/*.Dockerfile && yamllint .gitlab-ci.yml content/_data
diff --git a/doc/releases.md b/doc/releases.md
index c6442279..70724762 100644
--- a/doc/releases.md
+++ b/doc/releases.md
@@ -148,12 +148,12 @@ To create the release merge request for the release:
- Move the oldest version in `online:` to the `offline:` section. There should now be three
versions in `online:`.
-1. Edit `main.Dockerfile` by removing the oldest version, and then adding the newest version to the top of the list.
+1. Edit `latest.Dockerfile` by removing the oldest version, and then adding the newest version to the top of the list.
1. Commit and push to create the merge request. For example:
```shell
- git add content/_data/versions.yaml main.Dockerfile
+ git add content/_data/versions.yaml latest.Dockerfile
git commit -m "Release 15.0"
git push origin release-15-0
```
diff --git a/main.Dockerfile b/latest.Dockerfile
index a78ba557..a78ba557 100644
--- a/main.Dockerfile
+++ b/latest.Dockerfile