31 Commits

Author SHA1 Message Date
4905111cb8 update go version and dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-23 10:17:17 +00:00
dependabot[bot]
22bbfcd6da
Bump github.com/hashicorp/nomad from 1.1.14 to 1.2.13 (#145)
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad) from 1.1.14 to 1.2.13.
- [Release notes](https://github.com/hashicorp/nomad/releases)
- [Changelog](https://github.com/hashicorp/nomad/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/nomad/compare/v1.1.14...v1.2.13)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/nomad
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-12 13:08:52 -07:00
dependabot[bot]
6fb3f5a2f2
Bump github.com/containerd/containerd from 1.6.1 to 1.6.6 (#138)
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.1 to 1.6.6.

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 13:44:20 -07:00
dependabot[bot]
3da5144ed6
Bump github.com/hashicorp/nomad from 1.1.12 to 1.1.14 (#137)
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad) from 1.1.12 to 1.1.14.
- [Release notes](https://github.com/hashicorp/nomad/releases)
- [Changelog](https://github.com/hashicorp/nomad/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/nomad/compare/v1.1.12...v1.1.14)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/nomad
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 12:32:49 -07:00
dependabot[bot]
66d02e19f2
Bump github.com/opencontainers/runc from 1.1.0 to 1.1.2 (#135)
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.0 to 1.1.2.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.2/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.0...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 10:01:40 -07:00
Shishir
f8bd915016
Upgrade consul to 1.9.17. (#134)
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2022-05-09 11:44:28 -07:00
Seth Hoenig
d8c2c2fad2
enable compatibility with Nomad in cgroups.v2 mode (#133)
This PR updates the containerd driver to support changes in how Nomad
manages cgroups when running on a machine using cgroups.v2

- The namespace is now set to "nomad.slice", which containerd uses as
  the cgroup parent.

- The container name is re-oriented to the new naming convention,
  i.e. "<allocID>.<taskName>.scope". This is necessary for Nomad to
  be able to manage the cpuset resource.
2022-05-09 11:22:38 -07:00
Seth Hoenig
589e162efc
Upgrade build dependencies (#130)
This PR upgrades dependencies

By updating the go.mod build mode from 1.12 to 1.17 and upgrading
directly imported dependencies, we can eliminate all of the 'replace'
directives that were needed previously.
2022-03-14 13:30:14 -07:00
Shishir
b7de657f95
Security fix: Upgrade nomad to 1.1.12. (#129)
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2022-03-08 14:30:09 -08:00
dependabot[bot]
e663a505b7
Bump github.com/containerd/containerd from 1.5.9 to 1.5.10 (#128)
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.9 to 1.5.10.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.5.9...v1.5.10)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 10:45:30 -08:00
Shishir
16127ebab2
Security fixes: upgrade containerd + nomad. (#122)
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2022-01-13 15:35:22 -08:00
Shishir Mahajan
6fb781b3e5 Security fixes.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2021-12-09 12:30:05 -08:00
Shishir Mahajan
5678bbf4d3 Security fix: Upgrade consul to 1.10.2.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2021-10-05 13:33:57 -07:00
Shishir Mahajan
1925e4f4eb Security fix: Upgrade consul to 1.10.1.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2021-10-05 11:46:06 -07:00
Shishir Mahajan
1557ffea14 Security fix: Upgrade containerd to 1.5.7.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2021-10-05 10:32:07 -07:00
Shishir Mahajan
27db80dbe8 Fix CVE-2021-37218.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2021-09-13 14:08:12 -07:00
Shishir Mahajan
0ec114bf55
Upgrade containerd to 1.4.8.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2021-07-26 16:56:12 -07:00
Shishir Mahajan
10a29eb6e4 Add support for shm_size.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2021-06-29 16:15:41 -07:00
Mahmood Ali
763249f7ef Update Nomad dependency 2021-05-18 14:11:36 -04:00
Shishir Mahajan
bf13908ec6
Add support for extra_hosts. 2021-02-23 16:13:32 -08:00
lisongmin
e0abb30f66
support config dns via network stanza 2021-01-28 08:25:18 +08:00
lisongmin
6650170982
Add task name as part of container name 2021-01-24 10:23:11 +08:00
lisongmin
72880d0845
Add commandline options so we can get the driver version via commandline via containerd-driver -v.
update roblox/cla-signature-bot to v2.0.1
2021-01-05 10:09:50 +08:00
Shishir Mahajan
a54d675d08
Add support for cpu shares. 2020-09-28 17:42:27 -07:00
Shishir Mahajan
910f61de3b Pass mount info to containerd.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2020-06-29 11:54:19 -07:00
Shishir Mahajan
68af55ea5c TaskStats API.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2020-06-11 14:53:43 -07:00
Shishir Mahajan
fe0dfbfe4c
Use go-uuid to generate execID. 2020-06-09 15:15:47 -07:00
Shishir Mahajan
589b30429b
More driver and handle updates. 2020-05-11 14:40:01 -07:00
Shishir Mahajan
f24961c2c5
Fix containerd go mod issue. 2020-05-08 13:56:55 -07:00
Shishir Mahajan
0f23f55536
Fix go modules. 2020-05-07 14:53:30 -07:00
Shishir Mahajan
52f111e2f1
Add skeleton project. 2020-05-07 14:49:12 -07:00