Skip to content

Commit

Permalink
test publication
Browse files Browse the repository at this point in the history
  • Loading branch information
erdrix committed Mar 8, 2024
1 parent ec587bd commit cce1bed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/terraform-modules-oci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ jobs:
echo "${{ steps.prepare_tag.outputs.VERSION }}"
basePath="${{ inputs.organization_layer_name }}/${{ inputs.team_name }}/${{ inputs.products_path }}"
for terraformPath in $(find "$basePath" -type d -name 'terraform' -exec dirname {} \; | sed "s|^$basePath/||" | sort | uniq); do
productName=$(echo "$terraformPath" | sed 's/\//-/g')
productName=${{ inputs.organization_layer_name }}-${{ inputs.team_name }}-$(echo "$terraformPath" | sed 's/\//-/g')
echo "Publishing $productName"
echo "${{ steps.prepare_tag.outputs.VERSION }} ${basePath}/${terraformPath}/terraform ${{ inputs.organization_layer_name }}-${{ inputs.team_name }}-${productName}"
bash -x ./publish-oci.sh ${{ steps.prepare_tag.outputs.VERSION }} "${basePath}/${terraformPath}/terraform" "${productName}"
done
# bash -x ./publish-oci.sh ${{ steps.prepare_tag.outputs.VERSION }} "${basePath}/${terraformPath}/terraform" "${{ inputs.organization_layer_name }}-${{ inputs.team_name }}-${productName}"
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pushd .


REPOSITORY=konpyutaika/data-mesh
REPOSITORY=konpyutaika/data-mesh/terraform-modules
SOURCE="$(git config --get remote.origin.url)"
REVISION="$(git branch --show-current)/$(git rev-parse HEAD)"

Expand Down

0 comments on commit cce1bed

Please sign in to comment.