mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 08:28:52 +00:00
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.18.0 to 1.24.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/slackapi/slack-github-action/releases">slackapi/slack-github-action's releases</a>.</em></p> <blockquote> <h2>Slack Send V1.24.0</h2> <h2>What's Changed</h2> <ul> <li>Add in testing instructions for maintainer's guide and standardize bullet point punctuation by <a href="https://github.com/hello-ashleyintech"><code>@hello-ashleyintech</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/140">slackapi/slack-github-action#140</a></li> <li>Added checks for bot token and webhook url length by <a href="https://github.com/koki-develop"><code>@koki-develop</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/124">slackapi/slack-github-action#124</a></li> <li>Add channel_id output parameter by <a href="https://github.com/maso7"><code>@maso7</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/149">slackapi/slack-github-action#149</a></li> <li><a href="https://redirect.github.com/slackapi/slack-github-action/issues/171">#171</a> Update Technique 2 to use Actions context instead of values property by <a href="https://github.com/mwbrooks"><code>@mwbrooks</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/172">slackapi/slack-github-action#172</a></li> <li>Fix interpolation of variables in file-based payloads by <a href="https://github.com/filmaj"><code>@filmaj</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/200">slackapi/slack-github-action#200</a></li> <li>Update README.md with variable usage and links to example workflows by <a href="https://github.com/filmaj"><code>@filmaj</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/201">slackapi/slack-github-action#201</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/koki-develop"><code>@koki-develop</code></a> made their first contribution in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/124">slackapi/slack-github-action#124</a></li> <li><a href="https://github.com/maso7"><code>@maso7</code></a> made their first contribution in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/149">slackapi/slack-github-action#149</a></li> <li><a href="https://github.com/mwbrooks"><code>@mwbrooks</code></a> made their first contribution in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/172">slackapi/slack-github-action#172</a></li> <li><a href="https://github.com/hnarimiya"><code>@hnarimiya</code></a> made their first contribution in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/200">slackapi/slack-github-action#200</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/slackapi/slack-github-action/compare/v1.23.0...v1.24.0">https://github.com/slackapi/slack-github-action/compare/v1.23.0...v1.24.0</a></p> <h2>Slack Send V1.23.0</h2> <h2>What's Changed</h2> <ul> <li>Bump node from 12 to 16 by <a href="https://github.com/quinnjn"><code>@quinnjn</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/128">slackapi/slack-github-action#128</a></li> <li>Bump eslint from 8.23.0 to 8.24.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/135">slackapi/slack-github-action#135</a></li> <li>Bump <code>@actions/core</code> from 1.9.1 to 1.10.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/134">slackapi/slack-github-action#134</a></li> <li>Bump <code>@actions/github</code> from 5.0.3 to 5.1.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/133">slackapi/slack-github-action#133</a></li> <li>Use https proxy agent by <a href="https://github.com/EHitchcockIAG"><code>@EHitchcockIAG</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/132">slackapi/slack-github-action#132</a></li> <li>Release v1.23.0 by <a href="https://github.com/hello-ashleyintech"><code>@hello-ashleyintech</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/139">slackapi/slack-github-action#139</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/quinnjn"><code>@quinnjn</code></a> made their first contribution in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/128">slackapi/slack-github-action#128</a></li> <li><a href="https://github.com/EHitchcockIAG"><code>@EHitchcockIAG</code></a> made their first contribution in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/132">slackapi/slack-github-action#132</a></li> <li><a href="https://github.com/hello-ashleyintech"><code>@hello-ashleyintech</code></a> made their first contribution in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/139">slackapi/slack-github-action#139</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/slackapi/slack-github-action/compare/v1.22.0...v1.23.0">https://github.com/slackapi/slack-github-action/compare/v1.22.0...v1.23.0</a></p> <h2>Slack Send V1.22.0</h2> <h2>What's Changed</h2> <ul> <li>feat(message): support multiple channel IDs by <a href="https://github.com/treemmett"><code>@treemmett</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/126">slackapi/slack-github-action#126</a> (fixes <a href="https://redirect.github.com/slackapi/slack-github-action/issues/118">#118</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/treemmett"><code>@treemmett</code></a> made their first contribution in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/126">slackapi/slack-github-action#126</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/slackapi/slack-github-action/compare/v1.21.0...v1.22.0">https://github.com/slackapi/slack-github-action/compare/v1.21.0...v1.22.0</a></p> <h2>Slack Send V1.21.0</h2> <h2>What's Changed</h2> <ul> <li>updated to 1.21.0, fixed update-ts by <a href="https://github.com/stevengill"><code>@stevengill</code></a> in <a href="https://redirect.github.com/slackapi/slack-github-action/pull/110">slackapi/slack-github-action#110</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/slackapi/slack-github-action/compare/v1.20.0...v1.21.0">https://github.com/slackapi/slack-github-action/compare/v1.20.0...v1.21.0</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="e28cf165c9"><code>e28cf16</code></a> Automatic compilation</li> <li><a href="f07b4a2d03"><code>f07b4a2</code></a> bump package version to v1.24.0</li> <li><a href="2c8b741a82"><code>2c8b741</code></a> Update README.md with variable usage and links to example workflows. (<a href="https://redirect.github.com/slackapi/slack-github-action/issues/201">#201</a>)</li> <li><a href="81a1dc0cd9"><code>81a1dc0</code></a> Fixed to be able to use env of Step (<a href="https://redirect.github.com/slackapi/slack-github-action/issues/200">#200</a>)</li> <li><a href="4eb7313607"><code>4eb7313</code></a> Bump sinon from 15.0.3 to 15.0.4 (<a href="https://redirect.github.com/slackapi/slack-github-action/issues/194">#194</a>)</li> <li><a href="17394c7ff6"><code>17394c7</code></a> Bump eslint-plugin-jsdoc from 40.1.1 to 43.1.1 (<a href="https://redirect.github.com/slackapi/slack-github-action/issues/195">#195</a>)</li> <li><a href="2746ea8222"><code>2746ea8</code></a> Bump axios from 1.3.4 to 1.4.0 (<a href="https://redirect.github.com/slackapi/slack-github-action/issues/196">#196</a>)</li> <li><a href="1b89efce66"><code>1b89efc</code></a> Bump eslint from 8.37.0 to 8.39.0 (<a href="https://redirect.github.com/slackapi/slack-github-action/issues/197">#197</a>)</li> <li><a href="0e608ca738"><code>0e608ca</code></a> Bump eslint-plugin-jsdoc from 40.0.0 to 40.1.1 (<a href="https://redirect.github.com/slackapi/slack-github-action/issues/188">#188</a>)</li> <li><a href="02b50ad38b"><code>02b50ad</code></a> Bump eslint from 8.35.0 to 8.37.0 (<a href="https://redirect.github.com/slackapi/slack-github-action/issues/189">#189</a>)</li> <li>Additional commits viewable in <a href="16b6c78ee7...e28cf165c9">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
326 lines
12 KiB
YAML
326 lines
12 KiB
YAML
# This workflow tests enrolling of agents on the supported platforms,
|
|
# using the latest version of fleet, fleetctl and orbit.
|
|
#
|
|
# It starts the latest release of fleet with the "fleetctl preview" command.
|
|
# It generates the installers for the latest version of Orbit with the
|
|
# "fleetctl package" command.
|
|
name: Test Fleetctl, Orbit & Preview
|
|
|
|
on:
|
|
workflow_dispatch: # Manual
|
|
schedule:
|
|
- cron: '0 2 * * *' # Nightly 2AM UTC
|
|
|
|
# This allows a subsequently queued workflow run to interrupt previous runs
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id}}
|
|
cancel-in-progress: true
|
|
|
|
defaults:
|
|
run:
|
|
# fail-fast using bash -eo pipefail. See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
|
|
shell: bash
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
gen:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
subdomain: ${{ steps.gen.outputs.subdomain }}
|
|
address: ${{ steps.gen.outputs.address }}
|
|
steps:
|
|
- id: gen
|
|
run: |
|
|
UUID=$(uuidgen)
|
|
echo "subdomain=fleet-test-$UUID" >> $GITHUB_OUTPUT
|
|
echo "address=https://fleet-test-$UUID.fleetuem.com" >> $GITHUB_OUTPUT
|
|
|
|
run-server:
|
|
runs-on: ubuntu-latest
|
|
needs: gen
|
|
steps:
|
|
- name: Start tunnel
|
|
env:
|
|
CERT_PEM: ${{ secrets.CLOUDFLARE_TUNNEL_FLEETUEM_CERT_B64 }}
|
|
run: |
|
|
# Install cloudflared
|
|
wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
|
|
sudo dpkg -i cloudflared-linux-amd64.deb
|
|
# Add secret
|
|
echo "$CERT_PEM" | base64 -d > cert.pem
|
|
# Start tunnel
|
|
cloudflared tunnel --origincert cert.pem --hostname ${{ needs.gen.outputs.subdomain }} --url http://localhost:1337 --name ${{ needs.gen.outputs.subdomain }} &
|
|
until [[ $(cloudflared tunnel --origincert cert.pem info -o json ${{ needs.gen.outputs.subdomain }} | jq '.conns[0].conns[0].is_pending_reconnect') = false ]]; do
|
|
echo "Awaiting tunnel ready..."
|
|
sleep 5
|
|
done
|
|
|
|
# Download fleet and fleetctl binaries from last successful build on main
|
|
- name: Download binaries
|
|
uses: dawidd6/action-download-artifact@5e780fc7bbd0cac69fc73271ed86edf5dcb72d67
|
|
with:
|
|
workflow: build-binaries.yaml
|
|
branch: main
|
|
name: build
|
|
path: build
|
|
check_artifacts: true
|
|
|
|
- name: Run Fleet server
|
|
timeout-minutes: 15
|
|
env:
|
|
# Use instance identifier to allow for duplicate UUIDs
|
|
FLEET_OSQUERY_HOST_IDENTIFIER: instance
|
|
run: |
|
|
chmod +x ./build/fleetctl
|
|
./build/fleetctl preview --no-hosts
|
|
./build/fleetctl config set --address ${{ needs.gen.outputs.address }}
|
|
./build/fleetctl get enroll-secret
|
|
docker compose -f ~/.fleet/preview/docker-compose.yml logs --follow fleet01 fleet02 &
|
|
# Wait for all of the hosts to be enrolled
|
|
EXPECTED=12
|
|
until [ $(./build/fleetctl get hosts --json | wc -l | tee hostcount) -ge $EXPECTED ]; do
|
|
echo -n "Waiting for hosts to enroll: "
|
|
cat hostcount | xargs echo -n
|
|
echo " / $EXPECTED"
|
|
sleep 10
|
|
done
|
|
./build/fleetctl get hosts
|
|
echo "Success! $EXPECTED hosts enrolled."
|
|
|
|
- name: Slack Notification
|
|
if: failure()
|
|
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
|
|
with:
|
|
payload: |
|
|
{
|
|
"text": "${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head.html_url }}",
|
|
"blocks": [
|
|
{
|
|
"type": "section",
|
|
"text": {
|
|
"type": "mrkdwn",
|
|
"text": "Integration test result: ${{ job.status }}\nhttps://github.com/fleetdm/fleet/actions/runs/${{ github.run_id }}\n${{ github.event.pull_request.html_url || github.event.head.html_url }}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
env:
|
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_G_HELP_ENGINEERING_WEBHOOK_URL }}
|
|
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
|
|
|
|
- name: Cleanup tunnel
|
|
if: always()
|
|
run: cloudflared tunnel --origincert cert.pem delete --force ${{ needs.gen.outputs.subdomain }}
|
|
|
|
login:
|
|
runs-on: ubuntu-latest
|
|
needs: gen
|
|
outputs:
|
|
token: ${{ steps.login.outputs.token }}
|
|
steps:
|
|
# Download fleet and fleetctl binaries from last successful build on main
|
|
- name: Download binaries
|
|
uses: dawidd6/action-download-artifact@5e780fc7bbd0cac69fc73271ed86edf5dcb72d67
|
|
with:
|
|
workflow: build-binaries.yaml
|
|
branch: main
|
|
name: build
|
|
path: build
|
|
check_artifacts: true
|
|
|
|
# Login only here and share the token because otherwise we could hit rate limits.
|
|
- id: login
|
|
name: Attempt login
|
|
timeout-minutes: 5
|
|
run: |
|
|
chmod +x ./build/fleetctl
|
|
./build/fleetctl config set --address ${{ needs.gen.outputs.address }}
|
|
until ./build/fleetctl login --email admin@example.com --password preview1337#
|
|
do
|
|
echo "Retrying in 5s..."
|
|
sleep 5
|
|
done
|
|
TOKEN=$(cat ~/.fleet/config| grep token | awk '{ print $2 }')
|
|
echo "token=$TOKEN" >> $GITHUB_OUTPUT
|
|
|
|
orbit-macos:
|
|
timeout-minutes: 15
|
|
strategy:
|
|
matrix:
|
|
orbit-channel: [ 'stable', 'edge' ]
|
|
osqueryd-channel: ['stable', 'edge' ]
|
|
runs-on: macos-latest
|
|
needs: [gen, login]
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
npm install -g fleetctl
|
|
fleetctl config set --address ${{ needs.gen.outputs.address }} --token ${{ needs.login.outputs.token }}
|
|
|
|
- name: Install Orbit
|
|
run: |
|
|
sudo hostname macos-orbit-${{ matrix.orbit-channel }}-osqueryd-${{ matrix.osqueryd-channel }}
|
|
SECRET_JSON=$(fleetctl get enroll_secret --json --debug)
|
|
echo $SECRET_JSON
|
|
SECRET=$(echo $SECRET_JSON | jq -r '.spec.secrets[0].secret')
|
|
echo "Secret: $SECRET"
|
|
echo "Hostname: $(hostname -s)"
|
|
fleetctl package --type pkg --fleet-url=${{ needs.gen.outputs.address }} --enroll-secret=$SECRET --orbit-channel=${{ matrix.orbit-channel }} --osqueryd-channel=${{ matrix.osqueryd-channel }} --fleet-desktop
|
|
sudo installer -pkg fleet-osquery.pkg -target /
|
|
until fleetctl get hosts | grep -iF $(hostname -s);
|
|
do
|
|
echo "Awaiting enrollment..."
|
|
sleep 10
|
|
done
|
|
|
|
- name: Collect orbit logs
|
|
if: always()
|
|
run: |
|
|
mkdir orbit-logs
|
|
sudo cp /var/log/orbit/* orbit-logs/
|
|
|
|
- name: Upload Orbit logs
|
|
if: always()
|
|
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v2
|
|
with:
|
|
name: orbit-macos-${{ matrix.orbit-channel }}-${{ matrix.osqueryd-channel }}-logs
|
|
path: |
|
|
orbit-logs
|
|
|
|
- name: Uninstall Orbit
|
|
run: |
|
|
./orbit/tools/cleanup/cleanup_macos.sh
|
|
|
|
orbit-ubuntu:
|
|
timeout-minutes: 15
|
|
strategy:
|
|
matrix:
|
|
orbit-channel: [ 'stable', 'edge' ]
|
|
osqueryd-channel: ['stable', 'edge' ]
|
|
runs-on: ubuntu-latest
|
|
needs: [gen, login]
|
|
steps:
|
|
- name: Install dependencies
|
|
run: |
|
|
npm install -g fleetctl
|
|
fleetctl config set --address ${{ needs.gen.outputs.address }} --token ${{ needs.login.outputs.token }}
|
|
|
|
- name: Install Go
|
|
uses: actions/setup-go@v2.1.3
|
|
with:
|
|
go-version: '^1.19.10'
|
|
|
|
- name: Checkout Code
|
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2
|
|
|
|
- name: Build Fleetctl
|
|
run: make fleetctl
|
|
|
|
- name: Install Orbit
|
|
run: |
|
|
sudo hostname ubuntu-orbit-${{ matrix.orbit-channel }}-osqueryd-${{ matrix.osqueryd-channel }}
|
|
chmod +x ./build/fleetctl
|
|
SECRET_JSON=$(fleetctl get enroll_secret --json --debug)
|
|
echo $SECRET_JSON
|
|
SECRET=$(echo $SECRET_JSON | jq -r '.spec.secrets[0].secret')
|
|
echo "Secret: $SECRET"
|
|
echo "Hostname: $(hostname -s)"
|
|
./build/fleetctl package --type deb --fleet-url=${{ needs.gen.outputs.address }} --enroll-secret=$SECRET --orbit-channel=${{ matrix.orbit-channel }} --osqueryd-channel=${{ matrix.osqueryd-channel }}
|
|
sudo dpkg -i fleet-osquery*
|
|
until fleetctl get hosts | grep -iF $(hostname -s);
|
|
do
|
|
echo "Awaiting enrollment..."
|
|
sudo systemctl status orbit.service || true
|
|
sleep 10
|
|
done
|
|
|
|
- name: Collect orbit logs
|
|
if: always()
|
|
run: |
|
|
sudo journalctl -u orbit.service > orbit-logs
|
|
|
|
- name: Upload Orbit logs
|
|
if: always()
|
|
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v2
|
|
with:
|
|
name: orbit-ubuntu-${{ matrix.orbit-channel }}-${{ matrix.osqueryd-channel }}-logs
|
|
path: |
|
|
orbit-logs
|
|
|
|
- name: Uninstall Orbit
|
|
run: |
|
|
sudo apt remove fleet-osquery -y
|
|
|
|
orbit-windows-build:
|
|
timeout-minutes: 15
|
|
strategy:
|
|
matrix:
|
|
orbit-channel: [ 'stable', 'edge' ]
|
|
osqueryd-channel: ['stable', 'edge' ]
|
|
runs-on: ubuntu-latest
|
|
needs: [gen, login]
|
|
steps:
|
|
- name: Install dependencies
|
|
run: |
|
|
docker pull fleetdm/wix:latest &
|
|
npm install -g fleetctl
|
|
fleetctl config set --address ${{ needs.gen.outputs.address }} --token ${{ needs.login.outputs.token }}
|
|
|
|
- name: Build Orbit
|
|
run: |
|
|
SECRET_JSON=$(fleetctl get enroll_secret --json --debug)
|
|
echo $SECRET_JSON
|
|
SECRET=$(echo $SECRET_JSON | jq -r '.spec.secrets[0].secret')
|
|
echo "Secret: $SECRET"
|
|
echo "Hostname: $(hostname -s)"
|
|
fleetctl package --type msi --fleet-url=${{ needs.gen.outputs.address }} --enroll-secret=$SECRET --orbit-channel=${{ matrix.orbit-channel }} --osqueryd-channel=${{ matrix.osqueryd-channel }} --fleet-desktop
|
|
mv fleet-osquery.msi orbit-${{ matrix.orbit-channel }}-osqueryd-${{ matrix.osqueryd-channel }}.msi
|
|
|
|
- name: Upload MSI
|
|
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v2
|
|
with:
|
|
name: orbit-${{ matrix.orbit-channel }}-osqueryd-${{ matrix.osqueryd-channel }}.msi
|
|
path: orbit-${{ matrix.orbit-channel }}-osqueryd-${{ matrix.osqueryd-channel }}.msi
|
|
|
|
orbit-windows:
|
|
timeout-minutes: 15
|
|
strategy:
|
|
matrix:
|
|
orbit-channel: [ 'stable', 'edge' ]
|
|
osqueryd-channel: ['stable', 'edge' ]
|
|
needs: [gen, login, orbit-windows-build]
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Install dependencies
|
|
shell: bash
|
|
run: |
|
|
npm install -g fleetctl
|
|
fleetctl config set --address ${{ needs.gen.outputs.address }} --token ${{ needs.login.outputs.token }} --tls-skip-verify
|
|
|
|
- name: Download MSI
|
|
id: download
|
|
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v2
|
|
with:
|
|
name: orbit-${{ matrix.orbit-channel }}-osqueryd-${{ matrix.osqueryd-channel }}.msi
|
|
|
|
|
|
- name: Install Orbit
|
|
run: |
|
|
msiexec /i ${{steps.download.outputs.download-path}}\orbit-${{ matrix.orbit-channel }}-osqueryd-${{ matrix.osqueryd-channel }}.msi /quiet /passive /lv log.txt
|
|
sleep 30
|
|
|
|
# We can't very accurately check the install on these Windows hosts since the hostnames tend to
|
|
# overlap and we can't control the hostnames. Instead we just return and have the run-server job
|
|
# wait until the expected number of hosts enroll.
|
|
|
|
- name: Upload Orbit logs
|
|
if: always()
|
|
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v2
|
|
with:
|
|
name: orbit-windows-${{ matrix.orbit-channel }}-${{ matrix.osqueryd-channel }}-logs
|
|
path: C:\Windows\system32\config\systemprofile\AppData\Local\FleetDM\Orbit\Logs\orbit-osquery.log
|