Commit Graph

63 Commits

Author SHA1 Message Date
David Karlsson
92bccbcf15 release: remove unnecessary build-arg
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 21:52:42 +02:00
David Karlsson
a0d21ade2f migrate to hugo
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 09:41:02 +02:00
David Karlsson
2d44be0fc0 ci: replace htmlproofer with wjdp/htmltest
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2023-04-12 15:38:51 +02:00
David Karlsson
8f34ac4f20 ci: fix auto-publish workflow
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2023-04-12 10:04:30 +02:00
David Karlsson
7299fb4d9b ci: add checkout for merge job
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2023-04-11 20:42:25 +02:00
David Karlsson
b0492452b6 ci: remove yaml anchors
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2023-04-11 20:28:26 +02:00
David Karlsson
647ffabdbe ci: automate publishing (#17086)
* ci: automate publishing

Signed-off-by: David Karlsson <david.karlsson@docker.com>
Co-authored-by: CrazyMax <github@crazymax.dev>

---------

Signed-off-by: David Karlsson <david.karlsson@docker.com>
Co-authored-by: CrazyMax <github@crazymax.dev>
2023-04-11 20:26:29 +02:00
CrazyMax
48fe03dfde ci: fix validate upstream workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-13 16:28:01 +01:00
CrazyMax
f5ea2543bf ci: create placeholder file for new commands before validation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-24 15:25:23 +01:00
David Karlsson
9b1d95713d chore: prevent publish job from running on forks 2022-12-07 14:33:13 +01:00
CrazyMax
86e810c6d8 ci(validate-upstream): use ref name
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-11-10 15:03:32 +01:00
CrazyMax
59db517459 ci(validate-upstream): fix typo
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-11-01 19:50:17 +01:00
CrazyMax
e626998699 ci: validate upstream reusable workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-11-01 18:21:17 +01:00
CrazyMax
5f1b0f4f36 ci(deploy): set fetch-depth to 0 with checkout action
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-10-26 23:59:04 +02:00
David Karlsson
543abbe669 updated gha workflows 2022-10-19 16:18:18 +02:00
David Karlsson
51aa658e0a add retry for CreateInvalidation to prevent ServiceUnavailable error 2022-09-30 15:49:27 +02:00
Alex
3a43b8b86e build: update build.yml
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
2022-09-19 12:22:34 +02:00
CrazyMax
b97b3a8123 ci: remove clean-pr workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-11 02:54:11 +02:00
CrazyMax
69e96eb1db ci: invalidate cloudfront cache
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-02 11:41:22 +02:00
CrazyMax
8acb5b970d Switch prod2 to prod environment
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-30 14:44:24 +02:00
CrazyMax
af2683ffd4 ci: switch stage2 to stage environment
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-22 14:02:25 +02:00
Victor Bersy
bbcbd2adbe ci: update aws config for labs, stage & prod 2022-08-18 22:33:00 +02:00
CrazyMax
c27e2e4ee7 lab: disable slack notification
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-17 18:14:53 +02:00
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
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
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
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
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
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
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