365 Commits

Author SHA1 Message Date
CrazyMax
1b93493571 ci: set aws config for prod env
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-17 13:47:13 +02:00
CrazyMax
73a7690436 ci: set aws config for stage env
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-17 13:47:13 +02:00
CrazyMax
4429162682 ci: create deploy workflow for new way to deploy docs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-17 13:47:13 +02:00
CrazyMax
a0c0aec486 lab: move s3 redirects to lambda function
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-17 13:47:12 +02:00
CrazyMax
92948cbfd7 lab: cloudfront update with lambda edge function for redirects
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-17 13:47:12 +02:00
Justin Chadwell
0fb1ca91e6 ci: add annotations for mdl and htmlproofer
Add GitHub Actions annotations that will appear in the CI checks - this
should make it easier to see the reasons for the linting failures,
without needing to deep dive into the logs.
2022-08-03 09:58:01 +01:00
CrazyMax
614c4a7000 jekyll: enable sitemap and local search for dev environment
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-28 19:30:46 +02:00
CrazyMax
b836e2c5b6 ci: allow triggering publish workflow manually
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-25 11:08:34 +02:00
CrazyMax
85f13ecf5d ci: add lab branch to publish workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-25 11:08:34 +02:00
CrazyMax
34051706b2 refactor and mutualize netlify and aws clients for deployment
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-18 13:56:58 +02:00
CrazyMax
4ba8f8d21d Revert "ci: update redirects with replace directive in s3 bucket"
This reverts commit ba3ca84359.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-13 18:47:12 +02:00
CrazyMax
ba3ca84359 ci: update redirects with replace directive in s3 bucket
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-13 16:09:09 +02:00
CrazyMax
aa9b4919e2 chore: add crazy-max and dockertopia as code owners of build folder (#14907)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-06-23 18:19:07 +01:00
Sebastiaan van Stijn
4951a3ca82 Merge pull request #14806 from crazy-max/mdl
switch to ruby markdownlint and add ci validation
2022-05-31 11:35:55 +02:00
Allie Sadler
4f897536c0 edited codeowner file (#14844) 2022-05-27 14:55:07 +01:00
CrazyMax
9c296afa3e switch to ruby markdownlint and add ci validation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-25 12:17:09 +02:00
Craig Osterhout
cc76efb2ce added codeowners file (#14758)
* added codeowners file

* updated codeowners based on feedback
2022-05-18 12:29:56 -07:00
CrazyMax
d4adc6e848 ci: split build and publish workflows and set up cache
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-18 17:43:30 +02:00
CrazyMax
291d632447 ci: fix aws s3 cmd on ubuntu 20.04
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-18 16:20:12 +02:00
CrazyMax
8da7d9445d dockerfile: containerized htmlproofer
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-13 22:07:58 +02:00
CrazyMax
dc1a99b7b0 ci: merge workflows
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-13 22:07:57 +02:00
CrazyMax
75cb114327 ci: update github actions accordingly to the new dockerfile
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-13 22:07:57 +02:00
Usha Mandya
530fbf8f4c Update PR template
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-04-26 23:31:31 +01:00
Usha Mandya
8d600ba5be Update the issue template (#13870)
* Update the issue template

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Apply suggestions from code review

Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>

Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
2021-11-22 15:07:24 +00:00
Stefan Scherer
0d2c7a2f53 Check if site_id is empty and skip delete command
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-11-05 20:58:54 +01:00
Sebastiaan van Stijn
9400eb58e9 gha: split link-check to separate job
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-13 16:33:58 +02:00
Sebastiaan van Stijn
ff69fa25ee linkchecker: temporarily ignore some files and URLs
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-13 16:33:56 +02:00
Sebastiaan van Stijn
b77242d465 update linkchecker config and use docker build instead of copy
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-13 16:33:54 +02:00
Aidan Feldman
5338b19ef2 copy files to the host for testing with HTMLProofer 2021-10-13 16:33:52 +02:00
Aidan Feldman
f78fca2fba check for broken links
Seeing [a number of issues around broken links in the docs](https://github.com/docker/docker.github.io/issues?q=is%3Aissue+is%3Aopen+broken+link); this should help avoid the issue.
2021-10-13 16:33:51 +02:00
Stefan Scherer
580ba60a3e Use go 1.15
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-03-03 13:36:58 +01:00
Stefan Scherer
149b7e6ea6 Use ubuntu-18.04
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
2021-03-01 19:39:50 +01:00
Sebastiaan van Stijn
2ce808edc0 Remove references to obsolete engine versions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-26 15:45:07 +01:00
Sebastiaan van Stijn
5a1ae8310f Separate "development" and "production" configurations
This patch updates the default configuration to match a "development"
situation, and introduces build-options to produce a "production"
build.

By default (dev environment):

- Google Analytics / GTM and PollDaddy are disabled
- SASS builds non-minified stylesheets (for easier readabililty)
- Excludes "enterprise" stubs

Building a "production" build locally is still possible by overriding
the `JEKYLL_ENV` build-arg;

    JEKYLL_ENV=production docker-compose  up --build

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-22 15:41:15 +02:00
Sebastiaan van Stijn
dbd88b7395 use jekyll configuration for edit urls
The existing implementation was broken, and didn't override
the URLs (due to leading, trailing slashes the paths were not
matched).

Instead of using the custom "not_edited_here.yaml", set the
edit-url as front-matter variable through the _config.yml

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-06 23:10:28 +02:00
Sebastiaan van Stijn
48bfa8f342 GH Actions: disable archives on builds
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-06-24 13:25:57 +02:00
Stefan Scherer
57dcafed31 Add GitHub action to upload S3 website configuration
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-04-09 10:57:56 +02:00
Stefan Scherer
7d2c555964 Send Slack notification after publish
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-04-02 18:04:16 +02:00
Stefan Scherer
b5b4a9fa71 Add name to GH Actions workflow
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-24 10:23:53 +01:00
Usha Mandya
a532675821 Merge pull request #10496 from StefanScherer/disable-netlify
ci: Disable netlify-deploy for now
2020-03-20 13:56:35 +00:00
Stefan Scherer
ef6a67aad9 Disable netlify-deploy for now
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-20 14:32:07 +01:00
Stefan Scherer
759683a573 Upload published site to S3
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-20 14:08:20 +01:00
Stefan Scherer
41adebaa92 Deploy docs-stage to S3 instead of swarm
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-19 20:25:06 +01:00
Stefan Scherer
e26be9456c Upload docs only in upstream repo
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-13 14:44:05 +01:00
Stefan Scherer
6f31cb331c Simplify build, invalidate cache after upload
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-12 16:06:55 +01:00
Jérémie Drouet
3b635b1996 ci: copy static files to s3 on master build
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-12 15:52:22 +01:00
Jérémie Drouet
f2e1c94e9e ci: fork shouldn't trigger deploy
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-06 11:03:50 +01:00
Jérémie Drouet
22a6ee2479 ci: clean netlify when PR get closed or merged
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-04 09:04:57 +01:00
Jérémie Drouet
802c071377 ci: deploy static to netlify
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-03 14:33:46 +01:00
Jérémie Drouet
41495fe4d1 ci: ensure project can be built for each PR
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-02-28 09:01:33 +01:00