Commit Graph

48 Commits

Author SHA1 Message Date
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
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