fleet/.github/workflows
dependabot[bot] 8c04305f7f
Bump aws-actions/amazon-ecr-login from 1.5.3 to 1.6.0 (#11514)
Bumps
[aws-actions/amazon-ecr-login](https://github.com/aws-actions/amazon-ecr-login)
from 1.5.3 to 1.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/aws-actions/amazon-ecr-login/releases">aws-actions/amazon-ecr-login's
releases</a>.</em></p>
<blockquote>
<h2>v1.6.0</h2>
<p>See the <a
href="https://github.com/aws-actions/amazon-ecr-login/blob/HEAD/CHANGELOG.md">changelog</a>
for details about the changes included in this release.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/aws-actions/amazon-ecr-login/blob/main/CHANGELOG.md">aws-actions/amazon-ecr-login's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.
See <a
href="https://github.com/conventional-changelog/standard-version">standard-version</a>
for commit guidelines.</p>
<h2><a
href="https://github.com/aws-actions/amazon-ecr-login/compare/v1.5.3...v1.6.0">1.6.0</a>
(2023-03-29)</h2>
<h3>Features</h3>
<ul>
<li>add support for HTTP(s) proxy (<a
href="454a99d5de">454a99d</a>)</li>
</ul>
<h3><a
href="https://github.com/aws-actions/amazon-ecr-login/compare/v1.5.2...v1.5.3">1.5.3</a>
(2022-10-29)</h3>
<h3><a
href="https://github.com/aws-actions/amazon-ecr-login/compare/v1.5.1...v1.5.2">1.5.2</a>
(2022-10-18)</h3>
<h3><a
href="https://github.com/aws-actions/amazon-ecr-login/compare/v1.5.0...v1.5.1">1.5.1</a>
(2022-08-04)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>reverted change that masked Docker credentials (<a
href="7d073b66cc">7d073b6</a>)</li>
</ul>
<h2><a
href="https://github.com/aws-actions/amazon-ecr-login/compare/v1.4.0...v1.5.0">1.5.0</a>
(2022-06-27)</h2>
<h3>Features</h3>
<ul>
<li>added ECR Public Registry support (<a
href="b4f084e928">b4f084e</a>)</li>
</ul>
<h2><a
href="https://github.com/aws-actions/amazon-ecr-login/compare/v1.3.3...v1.4.0">1.4.0</a>
(2022-05-20)</h2>
<h3>Features</h3>
<ul>
<li>output docker credentials after login (<a
href="57206dc28c">57206dc</a>)</li>
<li>support for username and password outputs (<a
href="d121236bfd">d121236</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>add-mask to login outputs (<a
href="45a78e2dab">45a78e2</a>)</li>
</ul>
<h3><a
href="https://github.com/aws-actions/amazon-ecr-login/compare/v1.3.2...v1.3.3">1.3.3</a>
(2021-02-15)</h3>
<h3><a
href="https://github.com/aws-actions/amazon-ecr-login/compare/v1.3.1...v1.3.2">1.3.2</a>
(2021-02-01)</h3>
<h3><a
href="https://github.com/aws-actions/amazon-ecr-login/compare/v1.3.0...v1.3.1">1.3.1</a>
(2020-11-24)</h3>
<h2><a
href="https://github.com/aws-actions/amazon-ecr-login/compare/v1.2.2...v1.3.0">1.3.0</a>
(2020-10-29)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2f9f10ea3f"><code>2f9f10e</code></a>
chore(release): 1.6.0</li>
<li><a
href="7724c7e157"><code>7724c7e</code></a>
Merge pull request <a
href="https://redirect.github.com/aws-actions/amazon-ecr-login/issues/430">#430</a>
from aws-actions/http-proxy</li>
<li><a
href="454a99d5de"><code>454a99d</code></a>
feat: add support for HTTP(s) proxy</li>
<li><a
href="62f4f872db"><code>62f4f87</code></a>
chore: Bump eslint from 8.36.0 to 8.37.0 (<a
href="https://redirect.github.com/aws-actions/amazon-ecr-login/issues/429">#429</a>)</li>
<li><a
href="5cf60ad52c"><code>5cf60ad</code></a>
chore: Bump aws-sdk from 2.1340.0 to 2.1345.0 (<a
href="https://redirect.github.com/aws-actions/amazon-ecr-login/issues/428">#428</a>)</li>
<li><a
href="7179228b86"><code>7179228</code></a>
chore: Bump aws-sdk from 2.1335.0 to 2.1340.0 (<a
href="https://redirect.github.com/aws-actions/amazon-ecr-login/issues/426">#426</a>)</li>
<li><a
href="4ccd3fe855"><code>4ccd3fe</code></a>
chore: Bump eslint from 8.35.0 to 8.36.0 (<a
href="https://redirect.github.com/aws-actions/amazon-ecr-login/issues/424">#424</a>)</li>
<li><a
href="7ba8fdb4b8"><code>7ba8fdb</code></a>
chore: Bump aws-sdk from 2.1330.0 to 2.1335.0 (<a
href="https://redirect.github.com/aws-actions/amazon-ecr-login/issues/423">#423</a>)</li>
<li><a
href="069994d041"><code>069994d</code></a>
Merge pull request <a
href="https://redirect.github.com/aws-actions/amazon-ecr-login/issues/422">#422</a>
from taichunmin/main</li>
<li><a
href="4f0431daa8"><code>4f0431d</code></a>
update configure-aws-credentials from v1 to v2</li>
<li>Additional commits viewable in <a
href="261a7de32b...2f9f10ea3f">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=aws-actions/amazon-ecr-login&package-manager=github_actions&previous-version=1.5.3&new-version=1.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 12:06:24 -07:00
..
config set default shell in workflows (#8108) 2022-10-07 09:43:56 -06:00
build-and-push-fleetctl-docker.yml Upgrade Go version to 1.19.8 (#11057) 2023-04-07 12:05:22 -07:00
build-binaries.yaml Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#10183) 2023-04-24 11:27:56 -07:00
build-orbit.yaml Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#10183) 2023-04-24 11:27:56 -07:00
codeql-analysis.yml Bump github/codeql-action from 2.1.21 to 2.2.5 (#10220) 2023-03-01 11:39:55 -08:00
deploy-fleet-website.yml Stop using temporary token (#11210) 2023-04-14 16:19:36 -05:00
docs.yml add concurrency to ci (#8271) 2022-10-24 14:01:00 -06:00
dogfood-deploy.yml Warn against deploying fleetdm/fleet:main directly (#11316) 2023-04-25 13:22:59 -05:00
fleet-and-orbit.yml Convert remaining uses of set-output for Github Actions (#11352) 2023-04-27 16:11:27 -05:00
fleetctl-preview-latest.yml Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#10183) 2023-04-24 11:27:56 -07:00
fleetctl-preview.yml Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#10183) 2023-04-24 11:27:56 -07:00
fleetctl-workstations-canary.yml Update workflow to set macos_updates and disk encryption for canary (#11168) 2023-04-12 11:32:13 -05:00
fleetctl-workstations.yml Update Workstations YAML: Set macOS update deadline (#10962) 2023-04-06 18:42:04 -05:00
generate-desktop-targets.yml Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#10183) 2023-04-24 11:27:56 -07:00
generate-nudge-targets.yml Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#10183) 2023-04-24 11:27:56 -07:00
generate-osqueryd-targets.yml Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#10183) 2023-04-24 11:27:56 -07:00
golangci-lint.yml Upgrade Go version to 1.19.8 (#11057) 2023-04-07 12:05:22 -07:00
goreleaser-fleet.yaml Ensure that short tags push to quay in addition to dockerhub (#11006) 2023-04-05 12:04:34 -05:00
goreleaser-orbit.yaml Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#10183) 2023-04-24 11:27:56 -07:00
goreleaser-snapshot-fleet.yaml Upgrade Go version to 1.19.8 (#11057) 2023-04-07 12:05:22 -07:00
integration.yml Convert remaining uses of set-output for Github Actions (#11352) 2023-04-27 16:11:27 -05:00
pr-helm.yaml add concurrency to ci (#8271) 2022-10-24 14:01:00 -06:00
push-osquery-perf-to-ecr.yml Bump aws-actions/amazon-ecr-login from 1.5.3 to 1.6.0 (#11514) 2023-05-03 12:06:24 -07:00
README.md add concurrency to ci (#8271) 2022-10-24 14:01:00 -06:00
release-helm.yaml Bump stefanprodan/helm-gh-pages from 1.5.0 to 1.7.0 (#8804) 2023-02-27 18:17:32 -08:00
scorecards-analysis.yml Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#10183) 2023-04-24 11:27:56 -07:00
test-db-changes.yml Upgrade Go version to 1.19.8 (#11057) 2023-04-07 12:05:22 -07:00
test-go.yaml Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#10183) 2023-04-24 11:27:56 -07:00
test-native-tooling-packaging.yml Upgrade Go version to 1.19.8 (#11057) 2023-04-07 12:05:22 -07:00
test-packaging.yml Upgrade Go version to 1.19.8 (#11057) 2023-04-07 12:05:22 -07:00
test-website.yml Website: fix failing GitHub workflows (#9285) 2023-01-11 13:31:20 -06:00
test-yml-specs.yml Upgrade Go version to 1.19.8 (#11057) 2023-04-07 12:05:22 -07:00
test.yml Bump actions/cache from 3.0.8 to 3.2.6 (#10268) 2023-03-02 13:51:13 -08:00
tfsec.yml Bump github/codeql-action from 2.1.21 to 2.2.5 (#10220) 2023-03-01 11:39:55 -08:00
tfvalidate.yml Pin actions to commit SHA (#10204) 2023-02-28 17:55:38 -08:00
trivy_scan.yml Pin actions to commit SHA (#10204) 2023-02-28 17:55:38 -08:00
update-certs.yml add concurrency to ci (#8271) 2022-10-24 14:01:00 -06:00

Github Actions

Fleet uses Github Actions for continuous integration (CI). This document describes best practices and at patterns for writing and maintaining Fleet's Github Actions workflows.

Bash

By default, Github Actions sets the shell to bash -e for linux and MacOS runners. To help write safer bash scripts in run jobs and avoid common issues, override the default by adding the following to the workflow file

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

By specifying the default shell to bash, some extra flags are set. The option pipefail changes the behaviour when using the pipe | operator such that if any command in a pipeline fails, that commands return code will be used a the return code for the whole pipeline. Consider the following example in test-go.yaml

    - name: Run Go Tests
      run: |
        # omitted ...
          make test-go 2>&1 | tee /tmp/gotest.log

If the pipefail option was not set, this job would always succeed because tee would always return success. This is not the intended behavior. Instead, we want the job to fail if make test-go fails.

Concurrency

Github Action runners are limited. If a lot of workflows are queued, they will wait in pending until a runner becomes available. This has caused issue in the past where workflows take an excessively long time to start. To help with this issue, use the following in workflows

# 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

When a workflow is triggered via a pull request, it will cancel previous running workflows for that pull request. This is especially useful when changes are pushed to a pull request frequently. Manually triggered workflows, workflows that run on a schedule, and workflows triggered by pushes to main are unaffected.