Skip to content

Commit

Permalink
chore: reducing number of files on the root path
Browse files Browse the repository at this point in the history
files moved from root:
- Dockerfile.test
- Dockerfile.terratest
- LICENSE
- CHANGELOG.md
  • Loading branch information
PauloGoncalvesBH committed Apr 11, 2024
1 parent 1d10774 commit 103827a
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 8 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Execute `npm run commit` para ter um painel interativo que permite seguir o padr
### 💥 Dockerfile lint

É utilizado o linter [Hadolint - Haskell Dockerfile Linter](https://github.com/hadolint/hadolint) para garantir que os Dockerfile de [produção,desenvolvimento](../Dockerfile), [teste](../Dockerfile.test) e de [teste de infra](../Dockerfile) seguem as melhores práticas em sua estrutura.
É utilizado o linter [Hadolint - Haskell Dockerfile Linter](https://github.com/hadolint/hadolint) para garantir que os Dockerfile de [produção,desenvolvimento](../Dockerfile), [teste](../test/Dockerfile.test) e de [teste de infra](../Dockerfile) seguem as melhores práticas em sua estrutura.

---

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions .github/workflows/common_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ jobs:
- name: Validate production Google Cloud dockerfile (Dockerfile.gcloud)
run: docker run --rm -i hadolint/hadolint < Dockerfile.gcloud
- name: Validate dev dockerfile (Dockerfile.test)
run: docker run --rm -i hadolint/hadolint < Dockerfile.test
run: docker run --rm -i hadolint/hadolint < test/Dockerfile.test
- name: Validate terratest dockerfile (Dockerfile.terratest)
run: docker run --rm -i hadolint/hadolint < Dockerfile.terratest
run: docker run --rm -i hadolint/hadolint < test/infra/Dockerfile.terratest

test-unit:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-online-serverest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Build and push image to gcloud container registry
run: |
gcloud builds submit . \
--config=cloudbuild.yaml \
--config=.github/cloudbuild.yaml \
--substitutions=COMMIT_SHA=${{ github.sha }},_VERSION=${{ github.ref_name }},_PROJECT_ID=$IMAGE_PROJECT_ID,_SERVICE_NAME=$IMAGE_SERVICE_NAME
deploy-staging:
Expand Down
3 changes: 2 additions & 1 deletion .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ module.exports = {
}
}],
['@semantic-release/changelog', {
changelogTitle: '# Changelog'
changelogTitle: '# Changelog',
changelogFile: ".github/CHANGELOG.md"
}],
['@semantic-release/npm', {
tarballDir: 'dist'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<b>
<a href="https://github.com/ServeRest/ServeRest/blob/trunk/.github/CODE_OF_CONDUCT.md">Código de conduta</a> |
<a href="https://github.com/ServeRest/ServeRest/blob/trunk/.github/CONTRIBUTING.md">Como contribuir</a> |
<a href="https://github.com/ServeRest/ServeRest/blob/trunk/CHANGELOG.md">Histórico de alterações</a> |
<a href="https://github.com/ServeRest/ServeRest/blob/trunk/.github/CHANGELOG.md">Histórico de alterações</a> |
<a href="https://github.com/ServeRest/ServeRest#doadores">Doadores</a>
</b>
</p>
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
platform: linux/amd64
build:
context: .
dockerfile: Dockerfile.test
dockerfile: test/Dockerfile.test
volumes:
- ./test:/app/test:ro

Expand Down Expand Up @@ -106,7 +106,7 @@ services:
test-infra:
build:
context: .
dockerfile: Dockerfile.terratest
dockerfile: test/infra/Dockerfile.terratest
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 103827a

Please sign in to comment.