Commit Graph
132 Commits
Author SHA1 Message Date
Wilken Rivera 50a356529a Update Go checks to run on pull_requests (#12166)
Currently go-test and go-validate only run for users who have push
access to the Packer repo. We want to ensure tests and validation run
for all opened pull requests including public forks.
2022-12-16 11:35:41 -05:00
dependabot[bot] 7c498d7217 build(deps): bump dessant/lock-threads from 3 to 4 (#12145)
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 3 to 4.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v3...v4)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 07:31:51 -05:00
Wilken Rivera f29b6da035 Merge pull request #12130 from hashicorp/dependabot/github_actions/atlassian/gajira-create-3.0.1
build(deps): bump atlassian/gajira-create from 2.0.1 to 3.0.1
2022-11-28 13:37:41 -05:00
dependabot[bot] 15a9463030 build(deps): bump atlassian/gajira-create from 2.0.1 to 3.0.1
Bumps [atlassian/gajira-create](https://github.com/atlassian/gajira-create) from 2.0.1 to 3.0.1.
- [Release notes](https://github.com/atlassian/gajira-create/releases)
- [Commits](https://github.com/atlassian/gajira-create/compare/v2.0.1...v3.0.1)

---
updated-dependencies:
- dependency-name: atlassian/gajira-create
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-24 19:03:19 +00:00
dependabot[bot] 5dff58d776 build(deps): bump atlassian/gajira-login from 2.0.0 to 3.0.1
Bumps [atlassian/gajira-login](https://github.com/atlassian/gajira-login) from 2.0.0 to 3.0.1.
- [Release notes](https://github.com/atlassian/gajira-login/releases)
- [Commits](https://github.com/atlassian/gajira-login/compare/v2.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: atlassian/gajira-login
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-24 19:03:15 +00:00
dependabot[bot] 0a6f7c5191 Bump slackapi/slack-github-action from 1.22.0 to 1.23.0
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-10-12 19:23:21 +00:00
Wilken Rivera 4bb6e52044 Skip issue creation for previously synced issues (#12035)
Assigning the sync to jira label multiple times to an issues causes
multiple Jira tickets to be created. This new change adds a ticket
search to find any previously created ticket in Jira for the labeled
issue. If a ticket already exist the action will skip the create step.
2022-10-05 18:05:35 -04:00
Wilken Rivera 6fb6ae8aee Add ppc64le to binary release matrix for Linux (#11966)
Closes #11924
2022-09-28 10:12:28 -04:00
Wilken Rivera 6ee6091aa9 Add JIRA sync action (#12003)
In order to plan GitHub issues alongside internal JIRA issues
the Packer repository is being updated to support syncing issues from
GitHub to JIRA.
2022-09-21 15:02:20 -04:00
dependabot[bot] 51980ca573 Bump actions/stale from 5.1.1 to 5.2.0 (#11989)
Bumps [actions/stale](https://github.com/actions/stale) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5.1.1...v5.2.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-15 12:31:34 -04:00
dependabot[bot] 1be3860b96 Bump slackapi/slack-github-action from 1.21.0 to 1.22.0 (#11980)
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-13 19:40:56 -04:00
Wilken Rivera 9899c666ad Remove unused action 2022-09-12 15:38:52 -04:00
Ashish Kurmi 1a71616e0a ci: add minimum GitHub token permissions for workflows
Signed-off-by: Ashish Kurmi <[email protected]>
2022-09-07 22:19:28 -07:00
Wilken Rivera d7dca51108 Update Packer to use Go 1.18 (#11927)
This change updates Packer core Go version to 1.18. The move to Go 1.18 and not Go 1.19
is to allow the HCP Packer SDK time to upgrade to Go 1.18.

Changes Made:
* Bump go mod file to use Go 1.18
* Bump release pipeline to use Go 1.18
* Update plugin updater script to run go mod tidy for Go 1.18
* Update Linux job to use setup-go action
2022-08-18 09:41:29 -04:00
dependabot[bot] d8e0ccc965 Bump actions/stale from 5.1.0 to 5.1.1 (#11910)
Bumps [actions/stale](https://github.com/actions/stale) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/v5.1.1/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 15:28:42 -04:00
dependabot[bot] a8c60e5117 Bump slackapi/slack-github-action from 1.20.0 to 1.21.0 (#11911)
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.20.0...v1.21.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 15:28:18 -04:00
dependabot[bot] a362afe785 Bump slackapi/slack-github-action from 1.19.0 to 1.20.0 (#11906)
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.19.0 to 1.20.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.19.0...v1.20.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 11:10:14 -04:00
dependabot[bot] cd75c20390 Bump actions/stale from 5.0.0 to 5.1.0 (#11880)
Bumps [actions/stale](https://github.com/actions/stale) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 15:56:58 -04:00
Wilken Rivera a4a497bd80 Delete pull-requests-opened.yml (#11890)
This action doesn't work as expected given that public forks don't have access to the token.
2022-07-22 13:02:50 -04:00
Bryce Kalow 954285632d fix: use newer node for check-plugin-docs (#11893) 2022-07-21 11:23:29 -04:00
Wilken Rivera 64ee27cb49 Fix typo in release yaml 2022-06-14 21:31:27 -04:00
Wilken Rivera d34c6fee03 Update permission to allow publishing release 2022-06-14 21:26:56 -04:00
Wilken Rivera 10306d4187 Fix permissions for nightly-release.yml 2022-06-14 20:36:48 -04:00
Wilken Riveraandneilnaveen cc5898022a update action permissions (#11837)
* chore: Set permissions for GitHub actions

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <[email protected]>

* Update permissions for newly added actions

* Remove deleted actions

Co-authored-by: neilnaveen <[email protected]>
2022-06-14 12:08:39 -04:00
Jenna Goldstrich 1e316c9076 Remove HCP Packer acceptance tests (#11842)
* remove acceptance tests that have been moved to private repo

* Remove HCP env vars from Acceptance Test nightly run
2022-06-10 11:58:44 -04:00
dependabot[bot] a2d64720d7 Bump actions-ecosystem/action-create-comment from 1.0.0 to 1.0.2 (#11830)
Bumps [actions-ecosystem/action-create-comment](https://github.com/actions-ecosystem/action-create-comment) from 1.0.0 to 1.0.2.
- [Release notes](https://github.com/actions-ecosystem/action-create-comment/releases)
- [Commits](https://github.com/actions-ecosystem/action-create-comment/compare/v1.0.0...v1.0.2)

---
updated-dependencies:
- dependency-name: actions-ecosystem/action-create-comment
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-02 20:01:59 -04:00
dependabot[bot] 8e788a5f73 Bump actions-ecosystem/action-add-labels from 1.1.0 to 1.1.3 (#11829)
Bumps [actions-ecosystem/action-add-labels](https://github.com/actions-ecosystem/action-add-labels) from 1.1.0 to 1.1.3.
- [Release notes](https://github.com/actions-ecosystem/action-add-labels/releases)
- [Commits](https://github.com/actions-ecosystem/action-add-labels/compare/v1.1.0...v1.1.3)

---
updated-dependencies:
- dependency-name: actions-ecosystem/action-add-labels
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-02 20:01:40 -04:00
Wilken Rivera 805f8a4a86 Remove Linux package service configs and pre/post install scripts (#11831)
Packer does not require the installation of a Packer user or a service for Packer.
This change removes the preinst and postrm user scripts, and the config_dir directive for Packer rpm installations.

Closes #11828
2022-06-01 16:07:22 -04:00
Lucas BajoletandWilken Rivera 08157fbdce Add workflow to link to discuss on new question (#11825)
* workflows: + automatic label/response on question

When a user asks a question through an issue on this repository, we
automatically add a comment, pointing to the forums, and add a label to
the issue so we can spot more easily which issues need to be acted on.

* .github: + link to packer community for questions

As extra to the github action, this commit adds an extra button to the
new issue template, leading directly to the discuss forums for Packer

* .github: add auto-stale-close issue action

As follow-up to the labelling of question type issues as needs-reply, we
add another action that will automatically mark an issue as stale if it
has not been updated for 3 weeks, and close the issue one week after
marking it as stale.

* Update .github/workflows/issues-opened.yml

Co-authored-by: Wilken Rivera <[email protected]>
2022-05-31 15:47:44 -04:00
Jenna Goldstrich 4449328786 Revert "Migrate to internal Registry tests (#11806)" (#11817)
This reverts commit 961c1d7046.
2022-05-26 20:02:48 -04:00
Jenna Goldstrich 96a3f85c02 Revert "- to _ for workflow_dispatch (#11807)"
This reverts commit de196e1306.
2022-05-26 12:44:02 -07:00
Jenna Goldstrich 0451b6865e Revert "Add SSH key for HPATS to pull internal repo (#11808)"
This reverts commit e8c623f75f.
2022-05-26 12:41:31 -07:00
Jenna Goldstrich 77eaeedde1 Revert "Remove .github from repo clone (#11809)"
This reverts commit f94e3ea01b.
2022-05-26 12:38:51 -07:00
Jenna Goldstrich 81aedc6dbf Revert "Try curl for getting HCP Access Token in HPATS (#11810)"
This reverts commit 2355853918.
2022-05-26 12:31:46 -07:00
Jenna Goldstrich 6497a75783 Revert "Remove Access Token Check, Silence curl request, and Merge Clone & Test steps in HPATS" 2022-05-26 12:19:38 -07:00
Jenna Goldstrich 394c5e1175 Merge Clone and run steps cause it doesn't look like CDing into hpats directory works 2022-05-26 11:39:04 -07:00
Jenna Goldstrich 599db968e5 Remove Access Token Check, and silence curl request 2022-05-26 11:29:59 -07:00
Jenna Goldstrich 2355853918 Try curl for getting HCP Access Token in HPATS (#11810) 2022-05-26 14:18:44 -04:00
Jenna Goldstrich f94e3ea01b Remove .github from repo clone (#11809) 2022-05-26 12:46:56 -04:00
Jenna Goldstrich e8c623f75f Add SSH key for HPATS to pull internal repo (#11808) 2022-05-26 12:19:20 -04:00
Jenna Goldstrich de196e1306 - to _ for workflow_dispatch (#11807) 2022-05-26 11:54:43 -04:00
Jenna Goldstrich 961c1d7046 Migrate to internal Registry tests (#11806)
* Implement HPATS in Nightly build, delete registry par test

* Update .github/workflows/acceptance-test.yml

* add workflow-dispatch
2022-05-26 11:51:38 -04:00
Wilken Rivera adc130a73e Update project GitHub actions (#11805)
To assist in tracking newly created issues and pull-requests a new set
of actions is being added to assign inbound request to a new project
board. Where the team can view, filter, and organize in bound requests
across all Packer repos.
2022-05-25 17:01:04 -04:00
Michele Degges a8bbf7ae92 [CI-only] Build and publish dev dockerhub images (#11790) 2022-05-19 22:53:06 -07:00
dependabot[bot] 3cba759c52 Bump slackapi/slack-github-action from 1.18.0 to 1.19.0 (#11753)
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.18.0...v1.19.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 20:57:39 -04:00
dependabot[bot] 6d8a9fb8e2 Bump github/issue-labeler from 2.4 to 2.5 (#11782)
Bumps [github/issue-labeler](https://github.com/github/issue-labeler) from 2.4 to 2.5.
- [Release notes](https://github.com/github/issue-labeler/releases)
- [Commits](https://github.com/github/issue-labeler/compare/v2.4...v2.5)

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

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 20:56:56 -04:00
Wilken Rivera ca825d7a6a Remove markdown link checker (#11722)
The Markdown link checker currently deployed has served its purpose for
the time being. It is being removed to avoid failed checks on PRs, while
we evaluate alternative solutions used by other HashiCorp repositories.
2022-04-21 10:15:40 -04:00
Bryce Kalow 1c0d3ad93d website: website source code / content split (#11716) 2022-04-20 15:51:18 -05:00
Wilken Rivera 202f93f6a9 Update issue-labeler action (#11699)
The latest release of the action requires the field
enable_versioned_regex to be set. We currently don't use
versioned_regex. So this change sets the field to false.
2022-04-12 17:57:00 -04:00
Wilken Rivera a7c37ee34d Add tests for the packer plugins subcommand (#11660)
* Add tests for plugins install command

* Add tests for plugins remove command

* Add PACKER_GITHUB_API_TOKEN to all test env

* Update dir hashes for non-darwin os

* Update tests with feedback from review
2022-03-15 16:32:49 -04:00