-
Notifications
You must be signed in to change notification settings - Fork 3
Wire up devcontainer template + integration-test CI + test fixes #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
4de6bdb
21db2db
703e6fe
49e7889
05fcd11
d7eb180
e6000e0
27da7fd
59eb720
0d30d50
30fa4bf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # rsync --files-from allowlist (anything COPY'd by the Dockerfile). | ||
| # Runtime-only files (bind-mounted at `docker run`) stay out of the hash. | ||
| .devcontainer/Dockerfile | ||
| deps/nginx-datadog/build_env/ | ||
| scripts/setup-httpd.py |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "name": "httpd-datadog", | ||
| "initializeCommand": "make -f .devcontainer/devcontainer.mk .devcontainer-stage-context", | ||
| "build": { | ||
| "dockerfile": ".staged/.devcontainer/Dockerfile", | ||
| "context": ".staged" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # GitHub Actions CI image | ||
|
|
||
| GitHub-hosted runners can't pull from `registry.ddbuild.io`, so the | ||
| workflows here pin `image:` to a public Docker Hub mirror of the | ||
| GitLab-built devcontainer image. | ||
|
|
||
| Run this **from `main`** after a `.devcontainer/` change has landed | ||
| (the GitLab pipeline publishes the new tag; this just retags it to | ||
| Docker Hub and updates the workflow `image:` pins): | ||
|
|
||
| ```sh | ||
| make mirror-public-image | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tested this, but it failed: It seems that my Docker engine does not support Nydus layers. Does one need a special setup to be able to run this? |
||
| ``` | ||
|
|
||
| The target pulls the latest amd64 build, retags it under | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this command be run only from |
||
| `datadog/docker-library:httpd-datadog-ci-<hash>`, pushes, and prints | ||
| the exact `image:` value to paste into `dev.yml`, `release.yml`, and | ||
| `system-tests.yml`. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
opt: suggested simplification: