Commit Graph

23 Commits

Author SHA1 Message Date
Nick Cao
e7b85eaca5
amazon-ssm-agent: skip additional flaky test 2024-11-21 10:23:51 -05:00
R. Ryantm
633c028d77 amazon-ssm-agent: 3.3.859.0 -> 3.3.987.0 2024-10-20 10:43:08 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
053c989b9f amazon-ssm-agent: 3.3.808.0 -> 3.3.859.0 2024-09-09 10:55:53 +00:00
Adam C. Stephens
1bcdb97417
amazon-ssm-agent: substitute --replace with --replace-fail (#337268) 2024-09-02 20:32:37 -04:00
R. Ryantm
4992478d6e amazon-ssm-agent: 3.3.551.0 -> 3.3.808.0 2024-08-27 12:39:14 +00:00
Roland Coeurjoly
0fca129271 amazon-ssm-agent: substitute --replace with --replace-fail 2024-08-25 17:24:05 +02:00
R. Ryantm
be7b4539ea amazon-ssm-agent: 3.3.484.0 -> 3.3.551.0 2024-06-28 04:33:17 +00:00
Arian van Putten
494442762c amazon-ssm-agent: remove overrideEtc parameter
This was meant to make amazon-ssm-agent work "out of the box" on non-NixOS
systems but the feature never really worked.

The problem is that amazon-ssm-agent looks for the files "amazon-ssm-agent.json"
and "seelog.xml" but the files in the package are named
"amazon-ssm-agent.json.template" and "seelog.xml.template". So even with
this overrideEtc = true it would not be able to find the config.

E.g. you'd get an error like

Error occurred fetching the seelog config file path:  open /nix/store/pyfxjr0i0hszcj9b6fqly6344zf9zhcb-amazon-ssm-agent-3.3.484.0/etc/amazon/ssm/seelog.xml: no such file or directory
on startup.

Removing this parameter from the from the package doesn't break things as it didn't work in the first place.
2024-06-12 11:50:17 +02:00
Arian van Putten
4ab40e73a5
amazon-ssm-agent: add arianvp to maintainers
I use this package at work. Might as well start maintaining it.
2024-06-08 22:11:51 +03:00
R. Ryantm
a6a98862d0 amazon-ssm-agent: 3.3.131.0 -> 3.3.484.0 2024-05-30 21:08:18 +00:00
R. Ryantm
9f254238c8 amazon-ssm-agent: 3.3.40.0 -> 3.3.131.0 2024-03-12 20:44:29 +00:00
R. Ryantm
9a733b06be amazon-ssm-agent: 3.2.2222.0 -> 3.3.40.0 2024-02-11 11:44:23 +00:00
R. Ryantm
63ec34219f amazon-ssm-agent: 3.2.2143.0 -> 3.2.2222.0 2024-02-01 01:31:59 +00:00
Anthony Roussel
a1bbc7201e
amazon-ssm-agent: 3.2.2086.0 -> 3.2.2143.0
https://github.com/aws/amazon-ssm-agent/releases/tag/3.2.2143.0
https://github.com/aws/amazon-ssm-agent/compare/3.2.2086.0...3.2.2143.0
2024-01-22 13:56:24 +01:00
R. Ryantm
bab910d655 amazon-ssm-agent: 3.2.1798.0 -> 3.2.2086.0 2023-12-31 04:03:17 +00:00
Mario Rodas
fa14a14694
Merge pull request #258036 from anthonyroussel/fix-ssm-seelog
nixos/amazon-ssm-agent: fix missing seelog.xml file
2023-11-19 18:55:57 -05:00
Anthony Roussel
f263c60908
amazon-ssm-agent: add darwin support 2023-11-14 09:32:19 +01:00
Anthony Roussel
a02ff694be
amazon-ssm-agent: 3.2.1705.0 -> 3.2.1798.0
https://github.com/aws/amazon-ssm-agent/releases/tag/3.2.1798.0
https://github.com/aws/amazon-ssm-agent/compare/3.2.1705.0...3.2.1798.0
2023-11-14 09:32:13 +01:00
Anthony Roussel
4f7eab6de1
nixosTests.amazon-ssm-agent: init 2023-11-09 12:02:53 +01:00
Anthony Roussel
b21b961274
amazon-ssm-agent: skip time dependent/flaky test
Build regularly fails because of time dependent tests:

* Test name: TestSendStreamDataMessageWithStreamDataSequenceNumberMutexLocked
* File: agent/session/datachannel/datachannel_test.go#L259 (refs/tags/3.2.1705.0)

This test is a time-based unit test, and relies on `time.Sleep`.
We should disable it to get the ssm build working again.
2023-11-06 15:47:32 +01:00
Anthony Roussel
a428f0cfc9
amazon-ssm-agent: 3.2.1630.0 -> 3.2.1705.0
https://github.com/aws/amazon-ssm-agent/releases/tag/3.2.1705.0
2023-10-25 11:30:48 +02:00
Anthony Roussel
ccf080ee05
amazon-ssm-agent: rename from ssm-agent 2023-10-22 22:04:09 +02:00