Compare commits
	
		
			13 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					b33e55423f | ||
| 
						 | 
					3baac90ec5 | ||
| 
						 | 
					e0b5f232f6 | ||
| 
						 | 
					533489e522 | ||
| 
						 | 
					9d5f7328f8 | ||
| ab91f7aa5c | |||
| 
						 | 
					2e49369c42 | ||
| 
						 | 
					344bdb7287 | ||
| 
						 | 
					c1297210a5 | ||
| 
						 | 
					3b8c224c69 | ||
| 
						 | 
					d533a37118 | ||
| 
						 | 
					b8736f630a | ||
| 
						 | 
					da27e90abf | 
							
								
								
									
										13
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README.md
									
									
									
									
									
								
							@ -1,8 +1,11 @@
 | 
				
			|||||||
# smithy-test
 | 
					# smithy-test
 | 
				
			||||||
This comment is being added by a fork.
 | 
					
 | 
				
			||||||
 | 
					Hello hello my friends
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Will be used to setup Smithy locally
 | 
					Will be used to setup Smithy locally
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Push test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
try and try again
 | 
					try and try again
 | 
				
			||||||
 | 
					
 | 
				
			||||||
one more time
 | 
					one more time
 | 
				
			||||||
@ -33,4 +36,12 @@ App testing
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Webhook testing
 | 
					Webhook testing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Update PR
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Test on Prod
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Merge job updates
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Commit Status Update Merge
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Commit Status Push
 | 
					Commit Status Push
 | 
				
			||||||
							
								
								
									
										2
									
								
								dep/nix-thunk/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								dep/nix-thunk/default.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					# DO NOT HAND-EDIT THIS FILE
 | 
				
			||||||
 | 
					import (import ./thunk.nix)
 | 
				
			||||||
							
								
								
									
										7
									
								
								dep/nix-thunk/github.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								dep/nix-thunk/github.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "owner": "obsidiansystems",
 | 
				
			||||||
 | 
					  "repo": "nix-thunk",
 | 
				
			||||||
 | 
					  "private": false,
 | 
				
			||||||
 | 
					  "rev": "bd0de53129ca4ac5ce313a3e021edf3638a3a22c",
 | 
				
			||||||
 | 
					  "sha256": "0cn74ylcfr9v2w94jpga9v18jn6zafb9k996afszn59iqlcfi74q"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										12
									
								
								dep/nix-thunk/thunk.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								dep/nix-thunk/thunk.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					# DO NOT HAND-EDIT THIS FILE
 | 
				
			||||||
 | 
					let fetch = { private ? false, fetchSubmodules ? false, owner, repo, rev, sha256, ... }:
 | 
				
			||||||
 | 
					  if !fetchSubmodules && !private then builtins.fetchTarball {
 | 
				
			||||||
 | 
					    url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz"; inherit sha256;
 | 
				
			||||||
 | 
					  } else (import (builtins.fetchTarball {
 | 
				
			||||||
 | 
					  url = "https://github.com/NixOS/nixpkgs/archive/3aad50c30c826430b0270fcf8264c8c41b005403.tar.gz";
 | 
				
			||||||
 | 
					  sha256 = "0xwqsf08sywd23x0xvw4c4ghq0l28w2ki22h0bdn766i16z9q2gr";
 | 
				
			||||||
 | 
					}) {}).fetchFromGitHub {
 | 
				
			||||||
 | 
					    inherit owner repo rev sha256 fetchSubmodules private;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					  json = builtins.fromJSON (builtins.readFile ./github.json);
 | 
				
			||||||
 | 
					in fetch json
 | 
				
			||||||
							
								
								
									
										2
									
								
								dep/smithy-test-gitea-private-nested/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								dep/smithy-test-gitea-private-nested/default.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					# DO NOT HAND-EDIT THIS FILE
 | 
				
			||||||
 | 
					import (import ./thunk.nix)
 | 
				
			||||||
							
								
								
									
										7
									
								
								dep/smithy-test-gitea-private-nested/git.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								dep/smithy-test-gitea-private-nested/git.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "url": "ssh://git@code.obsidian.systems/anuragohri92/smithy-test-gitea-private-nested.git",
 | 
				
			||||||
 | 
					  "rev": "8eea4dc02aabea532089e5ffa817050ef20e7b23",
 | 
				
			||||||
 | 
					  "sha256": "0cl4allgg74ljhm95i7yanqyx4s84b25d14aach9xz019p38qzc5",
 | 
				
			||||||
 | 
					  "private": true,
 | 
				
			||||||
 | 
					  "fetchSubmodules": false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										17
									
								
								dep/smithy-test-gitea-private-nested/thunk.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								dep/smithy-test-gitea-private-nested/thunk.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					# DO NOT HAND-EDIT THIS FILE
 | 
				
			||||||
 | 
					let fetch = {url, rev, branch ? null, sha256 ? null, fetchSubmodules ? false, private ? false, ...}:
 | 
				
			||||||
 | 
					  let realUrl = let firstChar = builtins.substring 0 1 url; in
 | 
				
			||||||
 | 
					    if firstChar == "/" then /. + url
 | 
				
			||||||
 | 
					    else if firstChar == "." then ./. + url
 | 
				
			||||||
 | 
					    else url;
 | 
				
			||||||
 | 
					  in if !fetchSubmodules && private then builtins.fetchGit {
 | 
				
			||||||
 | 
					    url = realUrl; inherit rev;
 | 
				
			||||||
 | 
					    ${if branch == null then null else "ref"} = branch;
 | 
				
			||||||
 | 
					  } else (import (builtins.fetchTarball {
 | 
				
			||||||
 | 
					  url = "https://github.com/NixOS/nixpkgs/archive/3aad50c30c826430b0270fcf8264c8c41b005403.tar.gz";
 | 
				
			||||||
 | 
					  sha256 = "0xwqsf08sywd23x0xvw4c4ghq0l28w2ki22h0bdn766i16z9q2gr";
 | 
				
			||||||
 | 
					}) {}).fetchgit {
 | 
				
			||||||
 | 
					    url = realUrl; inherit rev sha256;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					  json = builtins.fromJSON (builtins.readFile ./git.json);
 | 
				
			||||||
 | 
					in fetch json
 | 
				
			||||||
@ -1,8 +1,12 @@
 | 
				
			|||||||
with (import <nixpkgs> {});
 | 
					with (import <nixpkgs> {});
 | 
				
			||||||
derivation {
 | 
					let
 | 
				
			||||||
 | 
					  nt = import ./dep/nix-thunk {};
 | 
				
			||||||
 | 
					  pvt = import (nt.thunkSource ./dep/smithy-test-gitea-private-nested);
 | 
				
			||||||
 | 
					in derivation {
 | 
				
			||||||
  inherit gcc coreutils;
 | 
					  inherit gcc coreutils;
 | 
				
			||||||
  name = "myhello-0.0.1";
 | 
					  name = "myhello-0.0.1";
 | 
				
			||||||
  builder = "${bash}/bin/bash";
 | 
					  builder = "${bash}/bin/bash";
 | 
				
			||||||
 | 
					  buildInputs = [ pvt ];
 | 
				
			||||||
  args = [ ./builder.sh ];
 | 
					  args = [ ./builder.sh ];
 | 
				
			||||||
  system = "x86_64-linux";
 | 
					  system = "x86_64-linux";
 | 
				
			||||||
  src = ./hello.c;
 | 
					  src = ./hello.c;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user