Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
backport of commit ed5ec7f
Browse files Browse the repository at this point in the history
  • Loading branch information
tunzor committed Oct 11, 2023
1 parent d65a8d9 commit af37efd
Show file tree
Hide file tree
Showing 1,436 changed files with 19,299 additions and 45,256 deletions.
3 changes: 0 additions & 3 deletions .changelog/4596.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/4674.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/4705.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/4709.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/4712.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/4714.txt

This file was deleted.

4 changes: 0 additions & 4 deletions .changelog/4764.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/4811.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/4819.txt

This file was deleted.

50 changes: 0 additions & 50 deletions .copywrite.hcl

This file was deleted.

1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Each line is a file pattern followed by one or more owners.
# See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

* @hashicorp/waypoint
/ui/ @hashicorp/waypoint-frontend
/builtin/ @hashicorp/waypoint-ecosystem
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: "Check workflow files"
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint:latest
6 changes: 3 additions & 3 deletions .github/workflows/build-waypoint-oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
bin-name: ${{ steps.get-bin-name.outputs.bin-name }}
name: Build ${{ inputs.package-name }} ${{ inputs.goos }} ${{ inputs.goarch }} v${{ inputs.waypoint-version }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Restore ui assets
uses: actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
with:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
PRERELEASE: ${{ inputs.waypoint-prerelease }}
CGO_ENABLED: ${{ inputs.cgo-enabled }}
CRT_BIN_NAME: ${{ steps.get-bin-name.outputs.bin-name }}
uses: hashicorp/[email protected].9
uses: hashicorp/[email protected].7
with:
product_name: ${{ inputs.package-name }}
product_version: ${{ inputs.waypoint-version }}
Expand All @@ -98,7 +98,7 @@ jobs:
version: ${{ inputs.waypoint-version }}
maintainer: "HashiCorp"
homepage: "https://github.com/hashicorp/waypoint"
license: "BUSL-1.1"
license: "MPL-2.0"
binary: "dist/${{ inputs.package-name }}"
deb_depends: "git"
rpm_depends: "git"
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
pkg-name: ${{ steps.get-pkg-env-vars.outputs.pkg-name }}
pkg-metadata: ${{ steps.get-pkg-env-vars.outputs.pkg-metadata }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Get package environment variables
id: get-pkg-env-vars
run: |
Expand All @@ -49,7 +49,7 @@ jobs:
outputs:
go-version: ${{ steps.get-go-version.outputs.go-version }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Determine Go version
id: get-go-version
run: |
Expand All @@ -63,7 +63,7 @@ jobs:
outputs:
filepath: ${{ steps.generate-metadata-file.outputs.filepath }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Generate package metadata
id: generate-metadata-file
uses: hashicorp/actions-generate-metadata@v1
Expand All @@ -80,9 +80,9 @@ jobs:
name: Build UI
needs: get-product-version
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Set up node and yarn
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 14
cache: yarn
Expand All @@ -98,7 +98,7 @@ jobs:
echo "${PKG_NAME} copyright year is ${PKG_COPYRIGHT_YEAR}"
cd ui && make && cd ..
- name: Save assets to cache
uses: actions/cache/save@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
uses: actions/cache/save@v3 # TSCCR: no version of actions/cache trusts nested action "save"
with:
path: ui/dist/assets
key: ui_assets_${{ github.sha }}
Expand All @@ -111,12 +111,12 @@ jobs:
- get-product-version
- build-ui
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
- name: Restore ui assets
uses: actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
uses: actions/cache/restore@v3 # TSCCR: no version of actions/cache trusts nested action "restore"
with:
path: ui/dist/assets
key: ui_assets_${{ github.sha }}
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
repo: "waypoint"
version: ${{ needs.get-product-version.outputs.product-version }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Download Waypoint
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
repo: "waypoint"
version: ${{ needs.get-product-version.outputs.product-version }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Build Docker image
uses: hashicorp/actions-docker-build@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: "!contains(github.event.pull_request.labels.*.name, 'pr/no-changelog')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 # by default the checkout action doesn't checkout all branches
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/check-gateway-yml.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/check-struct-tags.yml

This file was deleted.

56 changes: 56 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: "Code scanning - scheduled (weekly)"

on:
schedule:
- cron: '0 17 * * 0'

jobs:
CodeQL-Build:

runs-on: ubuntu-latest

steps:
# temporarily bring in a GitHub token so we can clone private dependencies during analysis
- name: Configure GitHub PAT
env:
GITHUB_TOKEN: ${{ secrets.HASHIBOT_PRODSEC_GITHUB_TOKEN }}
run: |
git config --global url."https://$GITHUB_TOKEN:[email protected]/".insteadOf "https://github.com/"
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
with:
languages: go, javascript

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
2 changes: 1 addition & 1 deletion .github/workflows/create-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
create-branch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: hashicorp/actions-create-release-branch@v1
with:
token: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
name: ${{ inputs.waypoint-odr-tar }}

- name: GHCR Login
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -67,8 +67,8 @@ jobs:
runs-on: ubuntu-latest
needs: publish-images
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0

- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
outputs:
yarn-cache-key: ${{ steps.set-cache-key.outputs.cache-key}}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- name: set-cache-key
id: set-cache-key
Expand All @@ -24,7 +24,7 @@ jobs:
ui/node_modules
ui/lib/node_modules
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
if: steps.ui-cache.outputs.cache-hit == false
with:
node-version: 14
Expand All @@ -40,8 +40,8 @@ jobs:
needs:
- frontend-cache
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 14

Expand All @@ -64,8 +64,8 @@ jobs:
needs:
- frontend-cache
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 14

Expand Down
Loading

0 comments on commit af37efd

Please sign in to comment.