Skip to content

Commit 0531ac8

Browse files
author
tester bester
committed
branch fix
1 parent 87baff1 commit 0531ac8

7 files changed

+198
-82
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
name: "Chocolatey CI workflow"
2+
name: "Chocolatey CI 2022 workflow"
33

44
on:
55
push:
6-
branches: [ main ]
6+
branches: [ test ]
77
schedule:
88
- cron: '0 0 1 * *' ##execution of a task in the first minute of the month
99

.github/workflows/choco-workflow.yml.disabled renamed to .github/workflows/choco-latest-wf.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -60,41 +60,41 @@ jobs:
6060
# pendmoves
6161
# shell: pwsh
6262

63-
windows-2016-pwsh-choco:
64-
name: "Microsoft Windows Server 2016 Datacenter choco packages"
65-
runs-on: windows-2016
66-
steps:
67-
- name: Checkout
68-
uses: actions/checkout@v1
69-
- name: "check if server is virtual"
70-
run: Systeminfo | findstr /i model
71-
- name: "check the PROCESSOR_ARCHITECTURE environment variable.64-bit systems will say AMD64 and 32-bit systems should say x86"
72-
run: wmic OS get OSArchitecture
73-
- name: "osfingerprinting"
74-
run: systeminfo | more
75-
- name: "display all processes, executable path"
76-
run: wmic process list full
77-
- name: "list of running services"
78-
run: tasklist
79-
- name: "list of all processes along with their corresponding PID, and services that are tied to them"
80-
run: tasklist /svc
81-
- name: "look for unusual services"
82-
run: net start
83-
- name: "query unusual services"
84-
run: sc query
85-
- name: "Choco packages - pwsh script"
86-
run: .\scripts\Choco_Packages.ps1
87-
shell: pwsh
88-
- name: "Sysinternals File and Disk Utilities accesschk"
89-
run: .\scripts\SysinternalsFileDiskUtilities-accesschk.ps1
90-
shell: pwsh
91-
- name: "Sysinternals File and Disk Utilities junction"
92-
run: |
93-
md Program-Files
94-
junction c:\Program-Files "c:\Program Files"
95-
# junction -s c:\
96-
junction -d c:\Program-Files
97-
shell: pwsh
63+
# windows-2016-pwsh-choco:
64+
# name: "Microsoft Windows Server 2016 Datacenter choco packages"
65+
# runs-on: windows-2016
66+
# steps:
67+
# - name: Checkout
68+
# uses: actions/checkout@v1
69+
# - name: "check if server is virtual"
70+
# run: Systeminfo | findstr /i model
71+
# - name: "check the PROCESSOR_ARCHITECTURE environment variable.64-bit systems will say AMD64 and 32-bit systems should say x86"
72+
# run: wmic OS get OSArchitecture
73+
# - name: "osfingerprinting"
74+
# run: systeminfo | more
75+
# - name: "display all processes, executable path"
76+
# run: wmic process list full
77+
# - name: "list of running services"
78+
# run: tasklist
79+
# - name: "list of all processes along with their corresponding PID, and services that are tied to them"
80+
# run: tasklist /svc
81+
# - name: "look for unusual services"
82+
# run: net start
83+
# - name: "query unusual services"
84+
# run: sc query
85+
# - name: "Choco packages - pwsh script"
86+
# run: .\scripts\Choco_Packages.ps1
87+
# shell: pwsh
88+
# - name: "Sysinternals File and Disk Utilities accesschk"
89+
# run: .\scripts\SysinternalsFileDiskUtilities-accesschk.ps1
90+
# shell: pwsh
91+
# - name: "Sysinternals File and Disk Utilities junction"
92+
# run: |
93+
# md Program-Files
94+
# junction c:\Program-Files "c:\Program Files"
95+
# # junction -s c:\
96+
# junction -d c:\Program-Files
97+
# shell: pwsh
9898
# - name: "Sysinternals File and Disk Utilities contig"
9999
# run: .\scripts\SysinternalsFileDiskUtilities-contig.ps1
100100
# shell: pwsh

.github/workflows/choco-packages-2022-wf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "2022 choco packages CI workflow"
33

44
on:
55
push:
6-
branches: [ main ]
6+
branches: [ test ]
77
schedule:
88
- cron: '0 0 1 * *' ##execution of a task in the first minute of the month
99

.github/workflows/deploy-choco-from-github-wf.yml renamed to .github/workflows/deploy-choco-from-github-2022 wf.yml

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,17 @@
11

2-
name: "deploy chocolatey from github CI workflow"
2+
name: "deploy chocolatey from github 2022 CI workflow"
33

44
on:
55
push:
6-
branches: [ main ]
6+
branches: [ test ]
77
schedule:
88
- cron: '0 0 1 * *' ##execution of a task in the first minute of the month
99

1010

1111

1212
jobs:
1313

14-
15-
windows-2025-pwsh-choco:
16-
name: "2025 choco packages"
17-
runs-on: windows-2025
18-
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v1
21-
- name: "check if server is virtual"
22-
run: Systeminfo | findstr /i model
23-
- name: "check the PROCESSOR_ARCHITECTURE environment variable.64-bit systems will say AMD64 and 32-bit systems should say x86"
24-
run: wmic OS get OSArchitecture
25-
- name: "osfingerprinting"
26-
run: systeminfo | more
27-
- name: "display all processes, executable path"
28-
run: wmic process list full
29-
- name: "list of running services"
30-
run: tasklist
31-
- name: "list of all processes along with their corresponding PID, and services that are tied to them"
32-
run: tasklist /svc
33-
- name: "look for unusual services"
34-
run: net start
35-
- name: "query unusual services"
36-
run: sc query
37-
- name: "Install chocolatey from github - pwsh script"
38-
run: |
39-
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/githubfoam/choco_githubactions/main/scripts/Install_chocolatey.ps1'))
40-
choco
41-
choco upgrade chocolatey
42-
choco list --local-only
43-
shell: pwsh
44-
- name: "Install chocolatey packages from github - pwsh script windows 10"
45-
run: |
46-
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/githubfoam/choco_githubactions/main/scripts/Choco_Packages_Desktop_windows10.ps1'))
47-
choco list --local-only
48-
shell: pwsh
49-
- name: "Install chocolatey packages from github - pwsh script windows 11"
50-
run: |
51-
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/githubfoam/choco_githubactions/main/scripts/Choco_Packages_Desktop_windows11.ps1'))
52-
choco list --local-only
53-
shell: pwsh
14+
5415

5516
windows-2022-pwsh-choco:
5617
name: "2022 choco packages"
Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
2+
name: "deploy chocolatey from github 2025 CI workflow"
3+
4+
on:
5+
push:
6+
branches: [ test ]
7+
schedule:
8+
- cron: '0 0 1 * *' ##execution of a task in the first minute of the month
9+
10+
11+
12+
jobs:
13+
14+
15+
windows-2025-pwsh-choco:
16+
name: "2025 choco packages"
17+
runs-on: windows-2025
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v1
21+
- name: "check if server is virtual"
22+
run: Systeminfo | findstr /i model
23+
- name: "check the PROCESSOR_ARCHITECTURE environment variable.64-bit systems will say AMD64 and 32-bit systems should say x86"
24+
run: wmic OS get OSArchitecture
25+
- name: "osfingerprinting"
26+
run: systeminfo | more
27+
- name: "display all processes, executable path"
28+
run: wmic process list full
29+
- name: "list of running services"
30+
run: tasklist
31+
- name: "list of all processes along with their corresponding PID, and services that are tied to them"
32+
run: tasklist /svc
33+
- name: "look for unusual services"
34+
run: net start
35+
- name: "query unusual services"
36+
run: sc query
37+
- name: "Install chocolatey from github - pwsh script"
38+
run: |
39+
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/githubfoam/choco_githubactions/main/scripts/Install_chocolatey.ps1'))
40+
choco
41+
choco upgrade chocolatey
42+
choco list --local-only
43+
shell: pwsh
44+
- name: "Install chocolatey packages from github - pwsh script windows 10"
45+
run: |
46+
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/githubfoam/choco_githubactions/main/scripts/Choco_Packages_Desktop_windows10.ps1'))
47+
choco list --local-only
48+
shell: pwsh
49+
- name: "Install chocolatey packages from github - pwsh script windows 11"
50+
run: |
51+
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/githubfoam/choco_githubactions/main/scripts/Choco_Packages_Desktop_windows11.ps1'))
52+
choco list --local-only
53+
shell: pwsh
54+
55+
# windows-2022-pwsh-choco:
56+
# name: "2022 choco packages"
57+
# runs-on: windows-2022
58+
# steps:
59+
# - name: Checkout
60+
# uses: actions/checkout@v1
61+
# - name: "check if server is virtual"
62+
# run: Systeminfo | findstr /i model
63+
# - name: "check the PROCESSOR_ARCHITECTURE environment variable.64-bit systems will say AMD64 and 32-bit systems should say x86"
64+
# run: wmic OS get OSArchitecture
65+
# - name: "osfingerprinting"
66+
# run: systeminfo | more
67+
# - name: "display all processes, executable path"
68+
# run: wmic process list full
69+
# - name: "list of running services"
70+
# run: tasklist
71+
# - name: "list of all processes along with their corresponding PID, and services that are tied to them"
72+
# run: tasklist /svc
73+
# - name: "look for unusual services"
74+
# run: net start
75+
# - name: "query unusual services"
76+
# run: sc query
77+
# - name: "Install chocolatey from github - pwsh script"
78+
# run: |
79+
# iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/githubfoam/choco_githubactions/main/scripts/Install_chocolatey.ps1'))
80+
# choco
81+
# choco upgrade chocolatey
82+
# choco list --local-only
83+
# shell: pwsh
84+
# - name: "Install chocolatey packages from github - pwsh script windows 10"
85+
# run: |
86+
# iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/githubfoam/choco_githubactions/main/scripts/Choco_Packages_Desktop_windows10.ps1'))
87+
# choco list --local-only
88+
# shell: pwsh
89+
# - name: "Install chocolatey packages from github - pwsh script windows 11"
90+
# run: |
91+
# iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/githubfoam/choco_githubactions/main/scripts/Choco_Packages_Desktop_windows11.ps1'))
92+
# choco list --local-only
93+
# shell: pwsh
94+
95+
# windows-latest-pwsh-choco:
96+
# name: "2019 Datacenter windows-latest choco packages"
97+
# runs-on: windows-latest
98+
# steps:
99+
# - name: Checkout
100+
# uses: actions/checkout@v1
101+
# - name: "check if server is virtual"
102+
# run: Systeminfo | findstr /i model
103+
# - name: "check the PROCESSOR_ARCHITECTURE environment variable.64-bit systems will say AMD64 and 32-bit systems should say x86"
104+
# run: wmic OS get OSArchitecture
105+
# - name: "osfingerprinting"
106+
# run: systeminfo | more
107+
# - name: "display all processes, executable path"
108+
# run: wmic process list full
109+
# - name: "list of running services"
110+
# run: tasklist
111+
# - name: "list of all processes along with their corresponding PID, and services that are tied to them"
112+
# run: tasklist /svc
113+
# - name: "look for unusual services"
114+
# run: net start
115+
# - name: "query unusual services"
116+
# run: sc query
117+
# - name: "Install chocolatey from github - pwsh script"
118+
# run: |
119+
# iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/githubfoam/choco_githubactions/main/scripts/Install_chocolatey.ps1'))
120+
# choco
121+
# choco upgrade chocolatey
122+
# choco list --local-only
123+
# shell: pwsh
124+
125+
126+
# windows-2016-pwsh-choco:
127+
# name: "2016 Datacenter choco packages"
128+
# runs-on: windows-2016
129+
# steps:
130+
# - name: Checkout
131+
# uses: actions/checkout@v1
132+
# - name: "check if server is virtual"
133+
# run: Systeminfo | findstr /i model
134+
# - name: "check the PROCESSOR_ARCHITECTURE environment variable.64-bit systems will say AMD64 and 32-bit systems should say x86"
135+
# run: wmic OS get OSArchitecture
136+
# - name: "osfingerprinting"
137+
# run: systeminfo | more
138+
# - name: "display all processes, executable path"
139+
# run: wmic process list full
140+
# - name: "list of running services"
141+
# run: tasklist
142+
# - name: "list of all processes along with their corresponding PID, and services that are tied to them"
143+
# run: tasklist /svc
144+
# - name: "look for unusual services"
145+
# run: net start
146+
# - name: "query unusual services"
147+
# run: sc query
148+
# - name: "Install chocolatey from github - pwsh script"
149+
# run: |
150+
# iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/githubfoam/choco_githubactions/main/scripts/Install_chocolatey.ps1'))
151+
# choco
152+
# choco upgrade chocolatey
153+
# choco list --local-only
154+
# shell: pwsh
155+

.github/workflows/desktop-choco-packages-2022-wf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "2022 desktop choco packages CI workflow"
33

44
on:
55
push:
6-
branches: [ main ]
6+
branches: [ test ]
77
schedule:
88
- cron: '39 11 * * *' ##execution of a task in the first minute of the month
99

.github/workflows/desktop-choco-packages-2025-wf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "2025 desktop choco packages CI workflow"
33

44
on:
55
push:
6-
branches: [ main ]
6+
branches: [ test ]
77
schedule:
88
- cron: '39 11 * * *' ##execution of a task in the first minute of the month
99

0 commit comments

Comments
 (0)