Commit Graph

2135 Commits

Author SHA1 Message Date
Gerald Barker
cd9d5b2fce Dont add -upgrade of the lock file exists & dedupe extra args (#1651) 2021-06-23 11:51:10 -07:00
Sarvar Muminov
0ed7a43e59 Fix policy check loading the tf version (#1658) 2021-06-23 11:48:55 -07:00
Sarvar Muminov
7607c154cb revert previous commit 2021-06-23 11:30:07 -07:00
Sarvar Muminov
3b08952168 Load terraform version from the required_version block 2021-06-23 11:24:55 -07:00
rui
8b8012764f ci: update to use ghcr.io images (#1654) 2021-06-23 13:22:11 -04:00
rui
78a33a6d1e ci: remove docker_master job in circleci (#1652) 2021-06-23 13:22:03 -04:00
dependabot[bot]
f64c36d99b build(deps): bump actions/stale from 3.0.15 to 3.0.19 (#1656)
Bumps [actions/stale](https://github.com/actions/stale) from 3.0.15 to 3.0.19.
- [Release notes](https://github.com/actions/stale/releases)
- [Commits](https://github.com/actions/stale/compare/v3.0.15...v3.0.19)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-22 19:42:07 -04:00
rui
322c970c64 dependabot: track github-action deps (#1655) 2021-06-22 19:41:34 -04:00
Marius Hennecke
b9802f71a4 set azure devops max comment characters to api limit (#1585) 2021-06-22 19:31:01 -04:00
Rui Chen
b6b60aab2c fix the build
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-06-22 19:19:54 -04:00
rui
7b2ddce5ac docker: update atlantis-base per ghcr.io migration (#1653)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-06-22 19:01:52 -04:00
rui
3b1ff447d2 workflow: automate ci-link-checker image build (#1649)
* workflow: automate ci-link-checker image build

* build once to test out the flow

* only build on master when dockerfile got changed

Signed-off-by: Rui Chen <rui@chenrui.dev>

* update date fmt `yyyy.mm.dd` for docker tag
2021-06-22 18:50:57 -04:00
rui
9fc4f13407 workflow: automate atlantis-base image build (#1648)
* workflow: add atlantis-base image automation

* comment out path trigger

* push to ghcr.io registry

Signed-off-by: Rui Chen <rui@chenrui.dev>

* rm ` rm -rf /root/.gnupg`

```
rm: can't remove '/root/.gnupg/S.gpg-agent.extra': No such file or directory

```

* try a different cleanup fix

* use GITHUB_TOKEN for accessing ghcr.io registry

Signed-off-by: Rui Chen <rui@chenrui.dev>

* also tag latest image

Signed-off-by: Rui Chen <rui@chenrui.dev>

* only runs on master

Signed-off-by: Rui Chen <rui@chenrui.dev>

* also can be manually triggered

Signed-off-by: Rui Chen <rui@chenrui.dev>

* update date fmt `yyyy.mm.dd` for docker tag
2021-06-22 18:50:48 -04:00
rui
a1b3aac9cf workflow: automate atlantis image build (#1650)
* workflow: automate atlantis image build

* build atlantis artifact

* remove docker_master job from circleci

* build and publish latest image on master push

* use v2 instead of v2.1.3

* restore docker_master job for now
2021-06-22 18:50:21 -04:00
Spiros Economakis
e48f80359b Add an extra flag to disable automerge with comment apply (#1533)
```
atlantis apply --auto-merge-disabled
```

Issue: #1245
2021-06-22 09:33:07 -07:00
Marius Hennecke
aef146fba0 add run step environment variable SHOWFILE (#1611) 2021-06-22 09:32:21 -07:00
dependabot[bot]
dbc9ef4b6d build(deps): bump github.com/spf13/viper from 1.7.1 to 1.8.0 (#1647)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.7.1...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  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>
2021-06-21 13:48:42 -04:00
dependabot[bot]
ef2a37c35f build(deps): bump github.com/hashicorp/go-getter from 1.5.3 to 1.5.4 (#1646)
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.5.3...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-21 12:59:21 -04:00
dependabot[bot]
3ab2437387 build(deps): bump github.com/microcosm-cc/bluemonday (#1642)
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.9 to 1.0.14.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.9...v1.0.14)

---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-18 16:08:06 -04:00
rui
db7969bb0b workflows: add lint action (#1406)
* workflows: add lint action

Signed-off-by: Rui Chen <rui@chenrui.dev>

* add golint and errorcheck

Signed-off-by: Rui Chen <rui@chenrui.dev>

* update job name for golangci-lint

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-06-18 15:54:02 -04:00
tkishore1192
1f0cb3f6f0 standardised logging timestamp to ISO8601 (#1625)
Co-authored-by: T <kishore.t@lowes.com>
2021-06-18 15:52:25 -04:00
Luke Kysow
6c33cf2061 Increase buffer size for website link check (#1638)
* Increase buffer size for website link check

Should fix
> error when reading response headers: small read buffer. Increase ReadBufferSize.
errors

* Bump link checker image

* Fix https://app.terraform.io/ url
2021-06-16 22:20:41 -07:00
dependabot[bot]
d9afad4dd4 build(deps): bump go.etcd.io/bbolt from 1.3.5 to 1.3.6 (#1619)
Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/etcd-io/bbolt/releases)
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.5...v1.3.6)

---
updated-dependencies:
- dependency-name: go.etcd.io/bbolt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 10:28:25 -04:00
rui
10e619b16b deps: terraform 1.0.0 (#1622) 2021-06-16 10:26:11 -04:00
Sarvar Muminov
8bbd35c4d0 Clarifying policy checking docs (#1621)
* Clarifying policy checking docs

* adding info about attributes

* add more clarifying text
2021-06-08 09:42:14 -07:00
Paul Calley
6b50e84ab9 Add undiverged apply requirement (#1587)
* ORCA-731 Force PR authors to rebase if master has diverged (#70)

* initial commit for undiverge apply req

* Update documentation

* Fix existing unit tests

* HasDiverged unit test

* project command runner unit test

* Global config tests cases

* update parser unit tests

* Update project_test unit tests

* Fix linting

* fix test case with logging output

* add space on readme markdown

* Remove unused variable

* remove deprecated flag option

* Use global args struct instead of passing in args

* Fix merge issue
2021-06-03 14:35:30 -07:00
rui
475e51c25c doc: remove microbadger ref (#1616)
The site would be shutdown July 1st
2021-06-03 14:24:14 -04:00
dependabot[bot]
ab743b540f build(deps): bump go.uber.org/zap from 1.16.0 to 1.17.0 (#1608)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.16.0...v1.17.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 15:27:06 -04:00
rui
d6b6f12e36 deps: terraform 0.15.5 (#1615) 2021-06-02 15:18:40 -04:00
Nish Krishnan
712498da58 Refactor controllers into package. (#1597) 2021-06-01 11:58:01 -07:00
Gábor Lipták
a4f0e3a467 Bump golangci to 1.39.0 (#1541)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2021-05-26 21:00:20 -04:00
Sarvar Muminov
2a6f21e85d Attempting to fix e2e test (#1595)
* Attemting to fix e2e test

* remove comma

* no-op change

* scope down the fixtures

* remove unnecessary comment
2021-05-21 21:39:36 -07:00
rui
6468f1941b fix broken tests (#1590)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-05-21 11:00:49 -04:00
dependabot[bot]
46c90611be build(deps): bump github.com/xanzy/go-gitlab from 0.49.0 to 0.50.0 (#1584)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.49.0 to 0.50.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.49.0...v0.50.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-19 15:49:49 -04:00
rui
7cb439f4cd deps: terraform 0.15.4 (#1588)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-05-19 15:49:32 -04:00
Luke Kysow
846215246a Add docs for how to update testing-env image (#1581)
- Makefile is no longer needed
2021-05-16 09:18:41 -07:00
Sarvar Muminov
dbce1d71e7 bump testing-env image (#1582)
* bump testing-env image

* use correct image

* fix e2e tests

* fix more e2e tests

* one more try

* 0.14.10 works

* one more try

* flippign exp

* flipping tihngs around

* fixing parallel e2e tests
2021-05-14 10:00:48 -07:00
Sarvar Muminov
805e94e7f6 Update conftest version to 0.25.0. (#1579)
Version 0.25.0 solves OOM issue described in [556](https://github.com/open-policy-agent/conftest/pull/556).
2021-05-13 14:05:06 -07:00
Luke Kysow
01216b26cd Create post_push (#1580) 2021-05-13 14:00:36 -07:00
Diego Rodríguez Baquero
cdb4ebd298 docs: fix missing bracket (#1577) 2021-05-13 02:56:57 -04:00
Marius Hennecke
40ffdd144f fix: use git diff for modified files, fixes #1397 (#1568) 2021-05-11 19:37:07 -04:00
Marc Barlo
ce57344b0e Nil pointer dereference when userConfig.DisableRepoLocking is true (#1557)
* init applyLockingClient when repo locking is disabled

* move applyingLockingClient init out
2021-05-10 19:53:35 -04:00
Marc Barlo
d98474a4aa Fix ParallelPlan and ParallelApply out of order in buildProjectCommandCtx (#1574)
* Fix regression - paralle plan / apply out-of-order

* Add test to check we're correctly setting ParallelPlan/Apply

* Add project command builder tests to check args

* rm vendor
2021-05-10 19:33:21 -04:00
Istvan Tapaszto
429235d40a DeleteSourceBranchOnMerge issue fixed (#1560) 2021-05-10 14:42:12 -04:00
dependabot[bot]
fc162f57dc build(deps): bump lodash from 4.17.19 to 4.17.21 (#1567)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 14:32:10 -04:00
dependabot[bot]
9d23d0e527 build(deps): bump hosted-git-info from 2.6.0 to 2.8.9 (#1570)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.6.0 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.6.0...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 14:32:05 -04:00
Dogers
bc2b390431 Update Terraform 0.11.14 version to latest 0.11.15 (#1564)
* Update Docker file to 0.11.15 for PGP issue

* Update other references to TF 0.11 to latest 0.11.15
2021-05-10 13:58:36 -04:00
Alex Castle
e2a0cd2cf6 Fix GitLab website links for CI (#1573) 2021-05-10 11:49:04 -04:00
rui
df7b1c9ce3 deps: tf 0.15.3 (#1561)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-05-07 19:07:23 -04:00
dependabot[bot]
4e60fea4b8 build(deps): bump github.com/xanzy/go-gitlab from 0.48.0 to 0.49.0 (#1546)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.48.0 to 0.49.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.48.0...v0.49.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 18:28:18 -04:00