forked from runatlantis/atlantis
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebase our changes on top of mainline #59
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This branch will show up as having conflicts as our changes have been cherry-picked and rebased on top of their master branch. |
df7bc3f
to
267277b
Compare
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.20 to 1.0.21. - [Release notes](https://github.com/microcosm-cc/bluemonday/releases) - [Commits](microcosm-cc/bluemonday@v1.0.20...v1.0.21) --- updated-dependencies: - dependency-name: github.com/microcosm-cc/bluemonday dependency-type: direct:production update-type: version-update:semver-patch ... 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>
Signed-off-by: Rui Chen <[email protected]>
…atlantis#2568) * docs: All command line flags are filled in the doc * docs: about --gh-allow-mergeable-bypass-apply flag * docs: replace Github with GitHub * docs: remove an incorrect bullet Co-authored-by: chroju <[email protected]>
Co-authored-by: chroju <[email protected]>
Signed-off-by: Rui Chen <[email protected]> Signed-off-by: Rui Chen <[email protected]>
Bumps [github.com/go-redis/redis/v9](https://github.com/go-redis/redis) from 9.0.0-beta.2 to 9.0.0-beta.3. - [Release notes](https://github.com/go-redis/redis/releases) - [Changelog](https://github.com/go-redis/redis/blob/master/CHANGELOG.md) - [Commits](redis/go-redis@v9.0.0-beta.2...v9.0.0-beta.3) --- updated-dependencies: - dependency-name: github.com/go-redis/redis/v9 dependency-type: direct:production update-type: version-update:semver-patch ... 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>
…unatlantis#2579) Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.6.0 to 2.14.1. - [Release notes](https://github.com/hashicorp/hcl/releases) - [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md) - [Commits](hashicorp/hcl@v2.6.0...v2.14.1) --- updated-dependencies: - dependency-name: github.com/hashicorp/hcl/v2 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>
* hadolint: base: pin all dependencies * atlantis-base: trigger workflow on pull_request * atlantis-base: only push if not a pull request
* Bump atlantis-base:2022.10.14 * atlantis-image: Build on Dockerfile changes in PRs * atlantis-image: init on push & pull_request events
Bumps [github.com/go-redis/redis/v9](https://github.com/go-redis/redis) from 9.0.0-beta.3 to 9.0.0-rc.1. - [Release notes](https://github.com/go-redis/redis/releases) - [Changelog](https://github.com/go-redis/redis/blob/master/CHANGELOG.md) - [Commits](redis/go-redis@v9.0.0-beta.3...v9.0.0-rc.1) --- updated-dependencies: - dependency-name: github.com/go-redis/redis/v9 dependency-type: direct:production update-type: version-update:semver-patch ... 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>
Bumps [github.com/moby/moby](https://github.com/moby/moby) from 20.10.18+incompatible to 20.10.19+incompatible. - [Release notes](https://github.com/moby/moby/releases) - [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md) - [Commits](moby/moby@v20.10.18...v20.10.19) --- updated-dependencies: - dependency-name: github.com/moby/moby dependency-type: direct:production update-type: version-update:semver-patch ... 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>
267277b
to
e9edde6
Compare
* deps: bump terrform to 1.3.3 * Correct github doc link for token
Signed-off-by: Forest Oden <[email protected]>
…natlantis#2611) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](stretchr/testify@v1.8.0...v1.8.1) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-patch ... 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>
Bumps [github.com/moby/moby](https://github.com/moby/moby) from 20.10.19+incompatible to 20.10.20+incompatible. - [Release notes](https://github.com/moby/moby/releases) - [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md) - [Commits](moby/moby@v20.10.19...v20.10.20) --- updated-dependencies: - dependency-name: github.com/moby/moby dependency-type: direct:production update-type: version-update:semver-patch ... 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>
Also prefix ngrok config temporary filename so that it is easy to distinguish when listing the tmp directory.
…ror (runatlantis#2405) * Add a flag to silence policy checks comments when there's no error * Add e2e test cases for the quiet policy checks flag * add documentation for quiet-policy-checks flag * Update user_config.go Fix indentation * Update user_config.go * fmt
…ilable (runatlantis#2532) * update notes to clarify where the environment variables are available * Update runatlantis.io/docs/custom-workflows.md Co-authored-by: PePe Amengual <[email protected]> Co-authored-by: PePe Amengual <[email protected]>
* Add tags to project metrics This adds a few tags that I've found useful for our monitoring of a many-project terraform repository. There are likely more tags that can be added in other areas, but I figured I'd start small and get feedback before increasing the blast radius * Add labels, handle nils, alphabetize * Move //nolint to line of assignment
* Upgrade vuepress to 2.x * Add i18n support * Apply suggestions from code review * Update runatlantis.io/.vuepress/config.js * Update runatlantis.io/es/README.md * Delete README.md * Delete README.md * Delete README.md * Update runatlantis.io/.vuepress/config.js * Update runatlantis.io/.vuepress/config.js * Update config.js * Use Overview name for specific children * Add comment for algolia API key * Register Home.vue * Convert Home.vue stylus to SCSS * Regenerate yarn.lock * Regenerate yarn.lock * Regenerate yarn.lock * Regenerate yarn.lock * Regenerate yarn.lock
* bump-git-2.39 * install latest git * Update docker-base/Dockerfile.alpine Co-authored-by: Rui Chen <[email protected]>
…de of Terraform (runatlantis#3010) * extract PlanSuccess.DiffSummary * commit status updater use DiffSummary instead Summary to show only diff result
* feat: state rm * review feedback * fix conflict for pegomock generation code * adopt state command into allow-commands * fix conflicts * fix: state rm works on workspace * notify import/state rm discard plan file * fix lint * use repeat instead warning for re-plan * perl -pi -e 's!\* 🔁 plan file was discarded. to!🚮 A plan file was discarded. Re-plan would be required before applying.\n\n\* 🔁 To!g' server/**/* * follow main branch
* Add locales to docsearch * add algolia appId
e9edde6
to
d811c12
Compare
Instead of using the deployment flow atlantis have built, adjust this repository to support GC container builds.
Instead of using the atlantis.yaml file present in the pull request branch, allow users to specify a branch that contains an approved version of atlantis.yaml. This allows enabling things like approval requirement overrides for repo config, while ensuring a user can't simply change the configuration to drop an approval requirement in the branch they're currently working on. An example would be creating a server-side configuration like this: ```yaml --- repos: - id: github.com/gocardless/app apply_requirements: [approved, mergeable] allowed_overrides: [apply_requirements, workflow] allow_custom_workflows: false config_source_branch: master workflows: lab: plan: steps: - init - plan: extra_args: [-var-file, lab.tfvars] prd: plan: steps: - init - plan: extra_args: [-var-file, prd.tfvars] ``` Specifying a rigid workflows that become all that is available to run in gocardless/app. Now the application (gocardless/app) would create an atlantis.yaml at the root of the repo, like so: ``` --- version: 2 projects: - dir: terraform/google/projects/apps apply_requirements: [] workspace: lab workflow: lab - dir: terraform/google/projects/apps apply_requirements: [approved] workspace: prd workflow: prd ``` Because config_source_branch is set to master, when someone creates a PR against gocardless/apps, the atlantis.yaml that specifies whether a project has an approved apply_requirement is from the master branch. As is a common pattern, merging to master is protected by an authorised code-review, allowing us to have two types of environment for this project: - lab, where you can plan and apply without approval - prd, where you can only apply once the PR is approved
Resolves this issue after upgrade to go 1.14: server/events/db/boltdb.go:150:87: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
Pass in remaining parameters to warnDiverged
See [this commit](27ce263) for more information
This was previously not getting parsed anymore
27fb388
to
8485531
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.