Rui Chen
ce4c7dbd51
fix(workflows): fix docker image publish flow ( #2580 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-10-10 10:07:12 -07:00
PePe Amengual
e8c0b5e66a
Revert "Fix concurrency in atlantis-image workflow ( #2556 )" ( #2565 )
...
This reverts commit 8d543264c4 .
2022-10-06 19:24:08 -07:00
nitrocode
8d543264c4
Fix concurrency in atlantis-image workflow ( #2556 )
2022-10-05 20:09:28 -07:00
PePe Amengual
929a75992a
Release v0.19.9 ( #2552 )
...
* Release v0.19.9
* Updating test action
* fixing tests
* fixing tests
* fixing tests
* fixing tests
* fixing tests
* Testing older version of checkout action
* Testing older version of checkout action
* Fixing permission
* Fixing permission
* Fixing permission
2022-10-05 15:04:49 -07:00
dependabot[bot]
6db4e4c4f9
build(deps): bump actions/stale from 5 to 6 ( #2540 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 5 to 6.
- [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...v6 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
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-26 09:57:51 -07:00
Rui Chen
b3b110753f
workflows: update runner to use ubuntu-22.04 ( #2502 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-09-07 20:23:57 -04:00
Rui Chen
fe67a2a2c6
issue: add feature_request template [skip ci] ( #2397 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-07-21 10:53:59 -04:00
Rui Chen
8d45adb18a
Revert "workflows: build image in parallel ( #2361 )" ( #2372 )
...
This reverts commit 8c0ca6bb29 .
2022-07-08 12:09:54 -04:00
Clemens Wältken
8c0ca6bb29
workflows: build image in parallel ( #2361 )
...
* Enable GitHub matrix strategy to run builds in parallel
* apply matrix build for the other images
Signed-off-by: Rui Chen <rui@chenrui.dev >
Co-authored-by: Rui Chen <rui@chenrui.dev >
2022-07-06 22:18:31 -04:00
Clemens Wältken
8e843119f3
build: generalize the image tag in image workflow ( #2277 )
...
This allows forks of atlantis to push images to their own ghcr.
2022-05-25 16:08:48 -04:00
dependabot[bot]
7506a62c85
build(deps): bump goreleaser/goreleaser-action from 2 to 3 ( #2276 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
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>
2022-05-25 16:05:20 -04:00
dependabot[bot]
3ad58e2662
build(deps): bump docker/setup-buildx-action from 1 to 2 ( #2249 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
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>
2022-05-13 14:28:06 -07:00
dependabot[bot]
f347611648
build(deps): bump docker/build-push-action from 2 to 3 ( #2248 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
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>
2022-05-13 14:13:46 -07:00
dependabot[bot]
d5f868c2f9
build(deps): bump docker/login-action from 1 to 2 ( #2250 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-action
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>
2022-05-13 14:13:05 -07:00
dependabot[bot]
7f7fae9112
build(deps): bump docker/setup-qemu-action from 1 to 2 ( #2251 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
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>
2022-05-13 14:12:39 -07:00
Rui Chen
b1fb97047b
links(github): replace help.github.com with docs.github.com links ( #2227 )
...
* links(github): replace help.github.com with docs.github.com links
* fix another link
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-04-29 17:35:42 -04:00
dependabot[bot]
c43c0437ff
build(deps): bump actions/setup-go from 2 to 3 ( #2194 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
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>
2022-04-11 12:27:50 -04:00
dependabot[bot]
12599bcf92
build(deps): bump actions/stale from 4 to 5 ( #2195 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 4 to 5.
- [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/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/stale
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>
2022-04-11 12:27:44 -04:00
Rui Chen
aa34673c62
fix: update CAHNEGLOG.md to avoid git dirty state
...
see, https://goreleaser.com/errors/dirty/
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-04-08 13:10:01 -04:00
Rui Chen
3f2b8787d8
release: add pre-release flow ( #2185 )
...
* release: add pre-release flow
* update image creation flow
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-04-08 13:03:11 -04:00
rui
7fd7503d34
workflow(tester): fix gotest runs for PRs ( #2160 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-03-22 17:29:07 -04:00
dependabot[bot]
59929b85b4
build(deps): bump actions/checkout from 2 to 3 ( #2119 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
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>
2022-03-07 11:18:40 -05:00
Rui Chen
317b922c8e
build: add concurrency control
...
Refs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-02-23 00:39:13 -05:00
Rui Chen
af2e9ed559
workflows: publish images on tags rather than on releases
...
This would avoid the draft release issue of triggering image building twice
2022-01-25 17:05:02 -05:00
Rui Chen
abcaf2e876
Revert "docker: update ci-link-checker"
...
This reverts commit 983b3dcadf .
relates to 2536e1da14
2022-01-11 18:17:02 -05:00
Rui Chen
983b3dcadf
docker: update ci-link-checker
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-01-11 17:36:13 -05:00
Jeppe Fihl-Pearson
1a342eda4d
workflows(atlantis-image): fix building and publishing of Docker images ( #1975 )
...
https://github.com/runatlantis/atlantis/pull/1943 changed the way Docker images
were built in GitHub Actions so multi-architecture Docker images now are built,
but it unfortunately included a bug which means it hasn't worked yet on any
released version of Atlantis.
The problem is the change expected environment variables to be replaced in the
regular YAML code instead of just the commands which are run.
This attempts to fix that by instead using the template language available to
access the same environment variable.
This is based on the example provided in the documentation here:
https://docs.github.com/en/actions/learn-github-actions/environment-variables .
2022-01-05 10:57:11 -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 Chen
7b76df7478
build: make multi-platform image for testing-env
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-12-16 00:40:30 -05:00
Rui Chen
4a57b30285
atlantis-base: fix context
2021-12-15 17:27:01 -05:00
Rui Chen
245a9015e4
atalntis-base: update platforms and path trigger
...
> Supported architectures: (more info) `amd64`, `arm32v6`, `arm32v7`, `arm64v8`, `i386`, `ppc64le`, `riscv64`, `s390x`
https://hub.docker.com/_/alpine
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-12-15 17:21:50 -05:00
Rui Chen
726ec5aa10
atlantis-base: update platforms
...
https://hub.docker.com/layers/alpine/library/alpine/3.15.0/images/sha256-c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-12-15 17:14:42 -05:00
Rui Chen
a55a75b469
docker: setup multi-platform build for atlantis-base
...
Use master branch for testing instead 🤦
closes #1932
closes #1940
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-12-15 17:08:23 -05:00
rui
2a0b78051e
feat: use goreleaser to replace the binary-release script ( #1873 )
...
* feat: add goreleaser flow
* del binary-release script
2021-10-31 11:38:49 -04:00
Masayuki Morita
4b6c2f65da
build(lint): use revive instead of golint ( #1801 )
...
* Use revive instead of golint
The golint was officially deprecated.
https://github.com/golang/go/issues/38968
We have been using golint via golangci-lint and golangci-lint now
recommends using revive instead of golint.
https://golangci-lint.run/usage/linters/
> golint: The repository of the linter has been archived by the owner.
> Replaced by revive.
The revive is a drop-in replacement of golint. I think switching to
revive is a reasonable choice to check the same rules for free.
https://github.com/mgechev/revive
* Fix lint errors reported by revive
The revive is almost the same as golint, but there seems to be a bit
different results.
https://app.circleci.com/pipelines/github/runatlantis/atlantis/1519/workflows/75fd7da5-1532-4ed7-ac8a-4884902818a4/jobs/8314
https://github.com/runatlantis/atlantis/runs/3565887247?check_suite_focus=true
2021-09-10 09:14:56 -07:00
Rui Chen
e021dbf8d4
workflow(testing-env-image): update path trigger
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-09-03 18:30:58 -04:00
rui
ffda2909c3
workflow: add testing-env image build/publish process ( #1780 )
...
* workflow: add testing-env image build/publish process
replacing https://hub.docker.com/r/runatlantis/testing-env
Signed-off-by: Rui Chen <rui@chenrui.dev >
* refresh the testing-env image
* only runs on master branch
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-08-30 23:41:27 -04:00
rui
317503a071
build: bump to use go1.17 ( #1766 )
...
* build: bump to use go1.17
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-08-30 23:19:46 -04:00
Luke Kysow
144198edc4
Create bug_report.md ( #1725 )
2021-08-05 17:08:22 -07:00
dependabot[bot]
7e958c104f
build(deps): bump actions/stale from 3.0.19 to 4 ( #1709 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 3.0.19 to 4.
- [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/v3.0.19...v4 )
---
updated-dependencies:
- dependency-name: actions/stale
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>
2021-07-26 16:55:11 -04:00
dependabot[bot]
8b34c05038
build(deps): bump reviewdog/action-golangci-lint from 1 to 2 ( #1717 )
...
Bumps [reviewdog/action-golangci-lint](https://github.com/reviewdog/action-golangci-lint ) from 1 to 2.
- [Release notes](https://github.com/reviewdog/action-golangci-lint/releases )
- [Commits](https://github.com/reviewdog/action-golangci-lint/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: reviewdog/action-golangci-lint
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>
2021-07-26 16:55:01 -04:00
rui
d502bed81b
workflow: point latest release to latest release ( #1677 )
...
* workflow: point latest release to latest release
Signed-off-by: Rui Chen <rui@chenrui.dev >
* use dev instead of nightly
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-07-07 16:43:42 -04:00
Nish Krishnan
1637171dc9
workflow: add tester gh action ( #1681 )
2021-06-30 15:40:03 -07:00
Nish Krishnan
97a3f75c13
workflow: add steps for releasing tagged images ( #1661 )
...
* Add release workflow.
* Update .github/workflows/atlantis-image.yml
Co-authored-by: rui <rui@chenrui.dev >
* Update .github/workflows/atlantis-image.yml
Co-authored-by: rui <rui@chenrui.dev >
* parse out GITHUB_REF for RELEASE_VERSION
Co-authored-by: rui <rui@chenrui.dev >
2021-06-24 08:26:35 -07: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
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
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