Skip to content

Commit

Permalink
do not format specs (airbytehq#7886)
Browse files Browse the repository at this point in the history
* fo not format specs

* format
  • Loading branch information
lmossman authored Nov 11, 2021
1 parent 5b43c00 commit 4e4f58a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def createSpotlessTarget = { pattern ->
'tools',
'secrets',
'charts', // Helm charts often have injected template strings that will fail general linting. Helm linting is done separately.
'resources/seed/*_specs.yaml', // Do not remove - this is necessary to prevent diffs in our github workflows, as the file diff check runs between the Format step and the Build step, the latter of which generates the file.
]

if (System.getenv().containsKey("SUB_BUILD")) {
Expand Down Expand Up @@ -126,7 +127,7 @@ check.dependsOn 'spotlessApply'

@SuppressWarnings('GroovyAssignabilityCheck')
def Task getDockerBuildTask(String artifactName, String projectDir) {
return task ("buildDockerImage-$artifactName" (type: DockerBuildImage) {
return task ("buildDockerImage-$artifactName"(type: DockerBuildImage) {
def buildTag = System.getenv('VERSION') ?: 'dev'
def buildPlatform = System.getenv('DOCKER_BUILD_PLATFORM') ?: 'linux/amd64'
def alpineImage = System.getenv('ALPINE_IMAGE') ?: 'alpine:3.4'
Expand Down

0 comments on commit 4e4f58a

Please sign in to comment.