Skip to content

Commit

Permalink
test: Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MAHDTech committed Jul 20, 2023
1 parent 842be49 commit 08a77d2
Show file tree
Hide file tree
Showing 45 changed files with 217 additions and 86 deletions.
4 changes: 2 additions & 2 deletions nix/oci/_disabled_codestream-ci/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;

containerUser = "codestream-ci";

Expand Down
4 changes: 2 additions & 2 deletions nix/oci/_disabled_idem/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;

overlay = self: super: {
app = self.poetry2nix.mkPoetryApplication {
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/_disabled_loopy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
}: let
app = pkgLoopy;

lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "loopy";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/_template/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;

#app = pkgs.callPackage ./poetry {
# inherit pkgs;
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/brakeman/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "brakeman";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/buildah/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "buildah";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/caddy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;

entrypoint = pkgs.callPackage ./entrypoint {};

Expand Down
4 changes: 2 additions & 2 deletions nix/oci/carvel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;

carvel = pkgs.callPackage ./carvel.nix {
inherit pkgs;
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/clair/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "clair";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/cmake/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "cmake";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/codeql/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "codeql";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/cosign/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "cosign";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/flawfinder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "flawfinder";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/gitleaks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "gitleaks";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/gnumake/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "gnumake";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/gosec/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "gosec";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/govc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "govc";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/grype/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "grype";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/hadolint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "hadolint";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/hello/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "hello";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/helm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "helm";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/hugo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;

entrypoint = pkgs.callPackage ./entrypoint {};

Expand Down
4 changes: 2 additions & 2 deletions nix/oci/kaniko/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;

unstablePkgs = with pkgsUnstable; [
kaniko
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/kics/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "kics";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/kpack/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;

kpack = pkgs.callPackage ./kpack.nix {
inherit pkgs;
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/kube-linter/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "kube-linter";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/kubectl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "kubectl";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/kubesec/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "kubesec";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/license_finder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "license_finder";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/packer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "packer";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/pivnet/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;

pivnet = pkgs.callPackage ./pivnet.nix {
inherit pkgs;
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/salt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "salt";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/secretscanner/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "secretscanner";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/semgrep/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "semgrep";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/skopeo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "skopeo";
Expand Down
4 changes: 2 additions & 2 deletions nix/oci/snyk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
self,
...
}: let
lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 lastModifiedDate;
modifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
creationDate = builtins.substring 0 8 modifiedDate;
in
pkgs.dockerTools.buildImage {
name = "snyk";
Expand Down
Loading

0 comments on commit 08a77d2

Please sign in to comment.