Commit graph

146 commits

Author SHA1 Message Date
Anurag Sharma
d1fafab838
Revert "add step to test the backport assistant (#13472)" (#13476)
This reverts commit 2f8c22300a.
2025-09-15 20:11:34 +05:30
Anurag Sharma
2f8c22300a
add step to test the backport assistant (#13472) 2025-09-11 15:13:09 +05:30
Anurag Sharma
0cadab9132
bump backport-assistant to 0.5.8 (#13471) 2025-09-10 15:29:50 +05:30
anshulSharma
dd74269a42
bump backport-assistant to 0.5.8 (#13399) 2025-09-10 15:04:35 +05:30
kp2099
ba018fd7a0
adds workflow-dispatch + sets PACKER_ACC_BUILDERS for acceptance tests (#13444)
* adds workflow-dispatch + sets PACKER_ACC_BUILDERS for acceptance tests

* adds workflow-dispatch + sets PACKER_ACC_BUILDERS for acceptance tests
2025-08-08 12:22:51 +05:30
Lucas Bajolet
2157f7fe41 .github: bump backport assistant to 0.5.3
The backport assistant bot fails all the time on the current version.
While it's not clear what's the reason of the failure, this commit
bumps the version of the assistant from 0.3.4 to 0.5.3 in an attempt to
fix that problem.
2025-03-06 14:48:49 -05:00
hashicorp-tsccr[bot]
2ce9efcdcd Result of tsccr-helper -log-level=info gha update .github/ 2025-02-01 06:03:09 +00:00
hashicorp-tsccr[bot]
ea9d02d596 Result of tsccr-helper -log-level=info gha update .github/ 2025-01-20 17:25:44 -05:00
Nikolay Edigaryev
c6427d2257 build: ensure that LC_UUID is generated for Darwin binaries 2024-11-22 13:29:35 -05:00
hashicorp-tsccr[bot]
0e825e0a79 Result of tsccr-helper -log-level=info gha update . 2024-10-16 13:27:38 -04:00
hashicorp-tsccr[bot]
703e0de15c
Result of tsccr-helper -log-level=info gha update . (#13156)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-09-05 14:28:55 -04:00
Wilken Rivera
2a206ccd68 Enable github workflows on feature branches 2024-08-12 16:07:28 -04:00
hashicorp-tsccr[bot]
eb77d54973
Result of tsccr-helper -log-level=info gha update . (#13131)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-08-05 14:03:40 -04:00
hashicorp-tsccr[bot]
863f3b0422 Result of tsccr-helper -log-level=info gha update . 2024-07-01 12:49:51 -04:00
hashicorp-tsccr[bot]
4bd7e951b7 Result of tsccr-helper -log-level=info gha update . 2024-06-03 14:20:36 -04:00
Wilken Rivera
61199aed0d Update internal HashiCorp actions to address Node 20 deprecation 2024-05-08 15:08:16 -04:00
Wilken Rivera
5e043ab3a0
Bump required actions to address Node.js 16 deprecation issue (#12958)
* Bump required actions to address Node.js 16 deprecation issue

* Update all tsccr approved actions

```shell
tsccr-helper gha update -latest .
```
2024-05-07 12:59:45 -04:00
Wilken Rivera
1a79aab50e
Bump actions/setup-go to address Node.js 16 deprecation issues (#12957) 2024-05-07 10:50:00 -04:00
Wilken Rivera
5f47c99ec4 Bump actions/checkout to address Node.js 16 deprecation issues 2024-05-07 10:39:37 -04:00
Wilken Rivera
0b00f52653 Copy license into zip with txt extension 2024-04-16 13:04:48 -04:00
Wilken Rivera
98fd73ad74 Add LICENSE to Linux packages 2024-04-16 13:04:48 -04:00
Wilken Rivera
72a2604b34 Add LICENSE to zipped Go binaries 2024-04-16 13:04:48 -04:00
Lucas Bajolet
3f083fe8ea github: only publish latest release images
When building the container images for Packer (light and full), we
should only publish them in the version being built is a release, and
not a pre-release.

Changing this means that both light and full latest will always be only
a final release at any time.
2024-04-16 10:13:29 -04:00
Wilken Rivera
c171362de8 .github/workflows/jira.yml: Update JIRA component name 2024-03-13 14:05:30 -04:00
Wilken Rivera
4d38323ae1 Remove external Plugins from left navbar 2024-02-08 09:19:54 -05:00
Wilken Rivera
ebdee64c64 Bump backport assistant to latest version 2023-08-18 15:54:20 -04:00
Wilken Rivera
320fd8d6fb
Update licensing for product release pipeline (#12570) 2023-08-11 15:19:13 -04:00
Lucas Bajolet
c6da777715 workflows: add docker-full to build workflow 2023-08-04 13:30:41 -04:00
Wilken Rivera
d1aa103ebc workflows/jira: Fix syntax error for createComment 2023-07-27 17:12:17 -04:00
hashicorp-tsccr[bot]
5c9ab19d8f Result of tsccr-helper -log-level=info -pin-all-workflows . 2023-07-27 09:05:01 -04:00
Lucas Bajolet
55decee242 .github: fix issues-opened.yml workflow
This commit fixes a bug with the first script, as the object passed to
the REST API is not closed properly.
2023-07-24 14:21:03 -04:00
Wilken Rivera
74b5c2aa56 issue-comment-created: Add guard for labels
The action currently fails when trying to remove the stale or waiting-reply labels from issues
that do not actually contain the labels in question. This update adds a guard clause to only run the
action on issues containing at least one of the labels.
2023-07-24 13:52:17 -04:00
Wilken Rivera
2401add228 Fix body attribute for github-script comment 2023-07-24 11:52:57 -04:00
Wilken Rivera
682f2e7b6c
.github/workflows: Replace untrusted GHA in repo workflows (#12530)
The GHA action used for adding comments or labels to issues untrusted by TSCCR
have been replaced with an approved set of actions. The updated workflows use
actions/github-script for adding comments or labels to an issue.

Related to: https://github.com/hashicorp/security-tsccr/pull/608
2023-07-21 17:37:50 -04:00
Wilken Rivera
13ed8d90b3 Update github-script action REST calls
Breaking changed introduced in actions/github-script@v6.
https://github.com/actions/github-script#breaking-changes-in-v5
2023-07-20 07:37:04 -04:00
hashicorp-tsccr[bot]
0194d839b0
Result of tsccr-helper -log-level=info -pin-all-workflows . (#12507)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-07-19 13:20:14 -04:00
Wilken Rivera
ffa1e54af5
Delete check-legacy-links-format.yml (#12471)
Remove the check-legacy-links-format.yml workflow. These checks are now included as part of our
content conformance checks that run on PRs with documentation content changes.
2023-06-16 15:46:53 -04:00
Wilken Rivera
ace37e067d
Update issues-opened.yml
Remove action to add issue to project. Board has been deprecated.
2023-05-30 13:43:10 -04:00
Wilken Rivera
6db700f4cf Remove invalid quote from ldflags 2023-05-30 12:39:11 -04:00
Wilken Rivera
32c0deeff0 build GHA: Address set-output deprecation warnings 2023-05-30 12:04:44 -04:00
Wilken Rivera
f7c0507c1a auto-close-stale-issues: Bump action/stale to latest available release 2023-05-30 12:04:44 -04:00
Wilken Rivera
c78de1e64a acceptance-test GHA: Address set-output deprecation warnings 2023-05-30 12:04:44 -04:00
Wilken Rivera
78aca131db jira GHA: Address set-output deprecation warnings
Closes #12426
2023-05-30 12:04:44 -04:00
Wilken Rivera
53878a806f Update ldflags used to build release binaries
Prior to v1.8.6 a change to the release pipeline was introduced to
automatically set and bump product version information. In that change
the ldflags for striping debug symbols was removed resulting in binaries
with full debug symbols. Thus resulting in larger binary deliverables.
This change adds the missing ldflags back into the build pipeline.

Results for Packer 1.8.5
```
~>  unzip ~/packer_1.8.5_linux_amd64.zip
~>  go tool nm -size packer| c++filt
reading packer: no symbol section
reading packer: no symbols

```

Results for Packer 1.8.6
```
~>  unzip ~/packer_1.8.6_linux_amd64.zip
~>  go tool nm -size packer| c++filt | tail -n 10
 8d97ac0       2816 D vendor/golang.org/x/text/unicode/norm.nfcSparseValues
 8df2f60       6144 D vendor/golang.org/x/text/unicode/norm.nfcValues
 8f96fc8          8 D vendor/golang.org/x/text/unicode/norm.nfkcData
 8d985c0       2816 D vendor/golang.org/x/text/unicode/norm.nfkcIndex
 8fa40a0         48 D vendor/golang.org/x/text/unicode/norm.nfkcSparse
 8f4a3c0         24 D vendor/golang.org/x/text/unicode/norm.nfkcSparseOffset
 8db5c00       3580 D vendor/golang.org/x/text/unicode/norm.nfkcSparseValues
 8e48d60      12032 D vendor/golang.org/x/text/unicode/norm.nfkcValues
 8f96fd0          8 D vendor/golang.org/x/text/unicode/norm.recompMap
 8fe5bd0         12 D vendor/golang.org/x/text/unicode/norm.recompMapOnce
```

Closes #12392
2023-05-08 14:08:01 -04:00
Lucas Bajolet
1a1fada9e8 .github: re-pin github-script to v3
When tsscr bumped the version of the action to v6, we experienced some
failures in our nightly runs.

To make the action operable again, we pin the action to the former: v3.
2023-05-02 11:11:49 -04:00
Wilken Rivera
7c29c9887e Add release branches to Go GHA workflows 2023-04-28 14:16:37 -04:00
Wilken Rivera
ddd7ee98b6 Bump go.mod to 1.20
* Fix go vet issue

* Bump Go tooling to version 1.20

* Update workflows to use go-version file
2023-04-27 15:11:48 -04:00
hashicorp-tsccr[bot]
3ac1179841
Result of tsccr-helper -pin-all-workflows . (#12381)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-04-27 14:55:22 -04:00
dependabot[bot]
0112eef059
build(deps): bump actions/setup-go from 2 to 4 (#12316)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 12:46:40 -04:00
dependabot[bot]
1dd0814e64
build(deps): bump github/issue-labeler from 3.0 to 3.1 (#12328)
Bumps [github/issue-labeler](https://github.com/github/issue-labeler) from 3.0 to 3.1.
- [Release notes](https://github.com/github/issue-labeler/releases)
- [Commits](https://github.com/github/issue-labeler/compare/v3.0...v3.1)

---
updated-dependencies:
- dependency-name: github/issue-labeler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 12:44:15 -04:00