Skip to content

Add enterprise module support to Connect builds#17315

Merged
avatus merged 7 commits intomasterfrom
michaelmyers/connect/add_submodule_windows_support
Oct 12, 2022
Merged

Add enterprise module support to Connect builds#17315
avatus merged 7 commits intomasterfrom
michaelmyers/connect/add_submodule_windows_support

Conversation

@avatus
Copy link
Copy Markdown
Contributor

@avatus avatus commented Oct 12, 2022

After merging Access Requests, Teleport Connect will need access to the webapps.e repo. This change will init the required submodule during the submodule phase in webapps.

@avatus avatus changed the title add windows submodule support for connect builds Add enterprise module support to Connect builds Oct 12, 2022
Comment thread .drone.yml Outdated
-F /dev/null' git submodule update --init --recursive webassets || true
- cd $WORKSPACE_DIR/go/src/github.com/gravitational/webapps
- GIT_SSH_COMMAND='ssh -i $WORKSPACE_DIR/.ssh/id_rsa -o UserKnownHostsFile=$WORKSPACE_DIR/.ssh/known_hosts
-F /dev/null' git submodule update --init --recursive packages/webapps.e
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious about git submodule update --init --recursive webassets || true vs git submodule update --init --recursive packages/webapps.e. Why does the former need || true and the latter doesn't?

Copy link
Copy Markdown
Contributor Author

@avatus avatus Oct 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you. Updated to include || true

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, removed || true as this command shouldn't be allowed to fail.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know why failure is allowed for webassets?

Comment thread .drone.yml
@avatus avatus merged commit cc1eaf6 into master Oct 12, 2022
avatus added a commit that referenced this pull request Oct 12, 2022
* add windows submodule support for connect builds

* added connect enterprise support to mac builds

* update submodule command

* removed ability to fail webapps.e and recursive

* dronegen
avatus added a commit that referenced this pull request Oct 12, 2022
* add windows submodule support for connect builds

* added connect enterprise support to mac builds

* update submodule command

* removed ability to fail webapps.e and recursive

* dronegen
@avatus avatus deleted the michaelmyers/connect/add_submodule_windows_support branch August 21, 2023 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants