Skip to content

Commit

Permalink
Remove comments from configs
Browse files Browse the repository at this point in the history
  • Loading branch information
meekrosoft committed Apr 16, 2024
1 parent d7b082f commit cb28375
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 46 deletions.
2 changes: 1 addition & 1 deletion attest-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ for file in $NS_DIR/*; do

# write this to a tmp file as json
tmp_file=$(mktemp)
yq -o=json eval $file > "$tmp_file"
yq -o=json eval 'sort_keys(..)' $file > "$tmp_file"

kosli attest artifact $file \
--artifact-type file \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# [START anthosconfig_config_sync_quickstart_multirepo_gamestore_configmap_inventory]
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -23,4 +9,3 @@ data:
single_player: "10"
cooperative: "30"
competitive: "150"
# [END anthosconfig_config_sync_quickstart_multirepo_gamestore_configmap_inventory]
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# [START anthosconfig_config_sync_quickstart_multirepo_gamestore_configmap_inventory]
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -23,4 +9,3 @@ data:
single_player: "20"
cooperative: "60"
competitive: "300"
# [END anthosconfig_config_sync_quickstart_multirepo_gamestore_configmap_inventory]
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# [START anthosconfig_config_sync_quickstart_multirepo_gamestore_webstore]
kind: WebStore
apiVersion: marketplace.com/v2
metadata:
Expand All @@ -20,4 +6,3 @@ metadata:
spec:
product: "boardgames"
employees: 5
# [END anthosconfig_config_sync_quickstart_multirepo_gamestore_webstore]

0 comments on commit cb28375

Please sign in to comment.