Commit Graph

143 Commits

Author SHA1 Message Date
Rui Chen
2e13c7034f deps: bump terrform to 1.3.2 (#2569)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-10-07 13:56:34 -04:00
Markus Liljedahl
93dd161517 Golang alpine update (#2562)
* Bumping golang image to 1.19.2 running alpine 3.16.2

* Use latest atlantis-base with latest alpine patches
2022-10-06 15:13:25 -07:00
Rui Chen
3b3bc23f69 deps: bump terrform to 1.3.1 (#2543)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-29 21:40:55 -07:00
Andy Paine
934a669af3 deps: bump tf to 1.3.0 (#2533)
Includes some useful new features like optional variables
2022-09-22 18:29:11 -07:00
nitrocode
21a3f4664c Use hadolint to fix DL4006, SC2086 (#2530) 2022-09-20 21:16:18 -07:00
dependabot[bot]
84304d6aeb build(deps): bump golang from 1.19.0-alpine to 1.19.1-alpine (#2514)
Bumps golang from 1.19.0-alpine to 1.19.1-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 18:09:05 -07:00
dependabot[bot]
e0626207dd build(deps): bump runatlantis/atlantis-base (#2515)
Bumps runatlantis/atlantis-base from 2022.08.05 to 2022.09.08.

---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 18:05:36 -07:00
Rui Chen
2154678a95 deps: bump conftest to 0.34.0 (#2500)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-07 19:54:51 -04:00
Rui Chen
08fa65142c deps: bump tf to 1.2.9 (#2499)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-07 18:57:22 -04:00
dependabot[bot]
674378a1f2 build(deps): bump golang from 1.17-alpine to 1.19.0-alpine (#2433)
Bumps golang from 1.17-alpine to 1.19.0-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-18 11:01:16 -07:00
Li Lin
1b6960a155 deps: bump alpine to v3.16.1 (#2431)
* Bump alpine to 3.16.1

* Use atlantis-base 2022.08.05
2022-08-05 18:50:17 -04:00
Rui Chen
e76739555d deps(conftest): 0.32.1 -> 0.33.0 (#2367)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-07-08 15:58:07 -04:00
Rui Chen
78cf6d79d7 deps: tf 1.2.4 (#2363)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-07-05 17:08:53 -04:00
Rui Chen
d315e50073 deps: terraform 1.2.3, conftest 0.32.1 (#2328)
* deps: terraform 1.2.3

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

* deps: conftest 0.32.1

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-06-16 20:02:50 -04:00
Rui Chen
da0515d180 deps: terraform 1.2.0 (#2267)
* deps: terraform 1.2.0

* support tf 1.1.9
2022-05-20 15:18:59 -04:00
dependabot[bot]
32ae155ea7 build(deps): bump runatlantis/atlantis-base (#2259)
Bumps runatlantis/atlantis-base from 2022.04.19 to 2022.05.13.

---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 09:47:33 -07:00
Rui Chen
dc7c65d266 deps: tf 1.1.9 and conftest 0.31.0 (#2218)
* deps: tf 1.1.9

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

* deps: conftest 0.31.0

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

* update applications link ref
2022-05-13 14:16:48 -07:00
dependabot[bot]
cbc4ef3700 build(deps): bump runatlantis/atlantis-base (#2219)
Bumps runatlantis/atlantis-base from 2022.03.04 to 2022.04.19.

---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 14:16:24 -07:00
Emil 'Skeen' Madsen
d23f7d438e Handle invalid values for TARGETPLATFORM. (#2223)
Report an error during `docker build` if `TARGETPLATFORM` has an unexpected
value.
2022-05-13 14:15:51 -07:00
Rui Chen
8184b51e6c deps: bump terraform to v1.1.8 (#2196) 2022-04-16 18:39:44 -04:00
Rui Chen
534ccb049e deps(docker): bump atlantis-base from 2022.03.03 to 2022.03.04 (multi-platform image)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-03-04 14:05:06 -05:00
Jeppe Fihl-Pearson
19d41abc3c fix(docker): Multi-arch Docker images, attempt two (#2114)
* fix(docker): fix base image for multi-platform build (#2099)

* Correct indentation of run commands

* Split installation of packages into the ones needed at run time and build time

This allows us to now repeat the packages which need to be uninstalled again by
making use of a virtual package, which - when removed - removes the packages
installed as a dependency of it.

* Remove unnecessary `rm -rf /var/cache/apk/*` command

It's no needed when `apt add` is run with the `--no-cache` option.

* Add vertical spacing so it's clearer what is happening when

* Test the downloaded binaries to make sure they work on the platform

This can help find issues where binaries are downloaded for the wrong platform
compared to the architecture the Docker image is built for.

* Install dumb-init via apk

It's available as a package for Alpine Linux in version 1.2.5 as well, which
makes it easier to handle for the different architectures.

* Get git-lfs binaries in the right architecture for the Docker image

This makes use of the `TARGETPLATFORM` argument which automatically is
populated by Docker BuildKit with a string such as "linux/amd64" when the image
is being build for an x86_64 architecture.

* Install gosu for the right architecture

The `case` statement was taken from
https://github.com/BretFisher/multi-platform-docker-build as a way of
translating the platform name into what we needed for downloading gosu.

* fix(docker): fix installation of git-lfs in armv7 image (#2100)

This uses a similar pattern than what is used for `GOSU_ARCH` to map the
`TARGETPLATFORM` argument into the name of the architecture git-lfs use for
their release binaries, as "linux/arm/v7" otherwise would be mapped into "v7"
which is wrong.

* fix(docker): download Terraform and conftest versions maching image architecture (#2101)

* Remove Terraform versions from Docker image which don't have all archs

Terraform versions earlier than 0.11.15 does not have binaries available for
both amd64, arm64 and armv7, so are being dropped as we can't install the older
versions in all the architectures the Docker image is built for.

* Download Terraform version depending on the architecture Docker image is for

This avoids us having arm64 binaries for the ARM Docker images, which won't
work.

* Download arm64 conftest binaries for arm64 Docker image

This doesn't fix the armv7 Docker image because conftest doesn't have a binary
available for that, so it for now still downloads the x86_64 binary, which is
likely to not work - but it's the same as it did before.

* Correct path to dumb-init in docker-entrypoint.sh

The path changed after dumb-init was switched to be installed via `apk` rather
than downloaded directly as a binary.
2022-03-04 13:51:00 -05:00
rui
46cd2fb49b deps: tf 1.1.7 (#2108)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-03-02 20:44:28 -05:00
Rui Chen
8337262fd2 deps(docker): bump atlantis-base from 2022.03.02 to 2022.03.03
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-03-02 20:09:47 -05:00
rui
1b145dac27 fix(docker): fix docker runtime issue (#2106)
* debug setup

* Revert "fix(docker): download Terraform and conftest versions maching image architecture (#2101)"

This reverts commit 579e583740.

* Revert "fix(docker): fix installation of git-lfs in armv7 image (#2100)"

This reverts commit 8af78838b6.

* Revert "fix(docker): fix base image for multi-platform build (#2099)"

This reverts commit 571543fdfb.

* Revert "debug setup"

This reverts commit 274501ab6e.
2022-03-02 20:01:28 -05:00
Jeppe Fihl-Pearson
579e583740 fix(docker): download Terraform and conftest versions maching image architecture (#2101)
* Remove Terraform versions from Docker image which don't have all archs

Terraform versions earlier than 0.11.15 does not have binaries available for
both amd64, arm64 and armv7, so are being dropped as we can't install the older
versions in all the architectures the Docker image is built for.

* Download Terraform version depending on the architecture Docker image is for

This avoids us having arm64 binaries for the ARM Docker images, which won't
work.

* Download arm64 conftest binaries for arm64 Docker image

This doesn't fix the armv7 Docker image because conftest doesn't have a binary
available for that, so it for now still downloads the x86_64 binary, which is
likely to not work - but it's the same as it did before.
2022-03-02 12:20:00 -05:00
Rui Chen
23e2b155bd deps(docker): use atlantis-base:2022.03.02
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-03-02 00:32:39 -05:00
dependabot[bot]
fd02ebedbd build(deps): bump runatlantis/atlantis-base (#2088)
Bumps runatlantis/atlantis-base from 2021.12.15 to 2022.02.23.

---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01 22:43:45 -05:00
rui
60a168d417 deps: tf 1.1.6 (#2071)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-02-16 15:42:38 -05:00
Rob Lazzurs
6d2ad22a0c deps: terraform 1.1.5 (#2042)
Upgrading to the latest Terraform release
2022-02-02 17:54:30 -05:00
rui
d8ec4387ae deps: tf 1.1.4 (#2011)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-19 14:18:52 -05:00
rui
3f18ba2f99 deps: conftest 0.30.0 (#1983)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-10 10:13:00 -05:00
rui
44ab8f216c deps: terraform 1.1.3 (#1982)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-07 00:48:13 -05:00
rui
8ed966f1aa deps: conftest 0.29.0 (#1977)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-01-05 11:25:51 -05:00
Javier Beaumont
f4582101cb Add in Dockerfile support for last Terraform 1.0.x version in AVAILABLE_TERRAFORM_VERSIONS (#1957) 2021-12-21 15:55:56 -08:00
rui
50a510fa26 deps: terraform 1.1.2 (#1952) 2021-12-18 13:09:34 -05:00
rui
45e8513f23 docker: make multi-platform atlantis image (#1943)
* docker: multi-platform image for atlantis

* workflow: update for multi platform image builds

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

* update branch trigger for testing dev image

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

* revert to use testing-env:2021.08.31

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

* Revert "update branch trigger for testing dev image"

This reverts commit 266e04da08.
2021-12-17 14:41:05 -05:00
rui
a74e740c11 deps: terraform 1.1.1 (#1939)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-15 17:03:41 -05:00
rui
8aa1ea4d04 deps: terraform 1.1.0 (#1930)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-08 17:07:08 -05:00
rui
6d86119d75 deps: tf 1.0.11 (#1892) 2021-11-10 18:44:50 -05:00
Rui Chen
ac9a6c3c4f deps: conftest 0.28.3
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-11-03 22:34:39 -04:00
rui
720d8eb2d4 deps: conftest 0.28.2 (#1872) 2021-10-28 14:04:53 -04:00
Rui Chen
cb07e2adb0 deps: tf 1.0.10 2021-10-28 13:46:36 -04:00
rui
8093b8864a deps: update conftest to 0.28.1 for atlantis img (#1864)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-10-19 12:35:10 -04:00
rui
515df4edb1 deps: terraform 1.0.9 (#1854)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-10-17 13:46:47 -04:00
rui
c3d9e136ce deps: tf 1.0.8 (#1837)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-30 23:33:24 -04:00
rui
bf63dde18b build: tf 1.0.7 (#1811)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-15 17:15:53 -04:00
dependabot[bot]
b4cb071907 build(deps): bump runatlantis/atlantis-base (#1794)
Bumps runatlantis/atlantis-base from 2021.06.22 to 2021.08.31.

---
updated-dependencies:
- dependency-name: runatlantis/atlantis-base
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 15:03:52 -04:00
rui
db1cb4a649 build: tf 1.0.6 (#1786)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-09-03 11:41:18 -04:00
rui
9b5f9e181a deps: tf 1.0.5 (#1765)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-08-18 19:03:45 -04:00