Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Makefile #6190

Closed
wants to merge 7 commits into from
Closed

Update Makefile #6190

wants to merge 7 commits into from

Conversation

GuruPKK
Copy link

@GuruPKK GuruPKK commented Feb 3, 2022

No description provided.

Copy link
Collaborator

@jdestefano-mongo jdestefano-mongo left a comment

Choose a reason for hiding this comment

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

@GuruPKK Thanks for the PR, requesting some changes. Cheers

Makefile Outdated
@@ -5,6 +5,16 @@ PRODUCTION_URL="https://docs.mongodb.com"
STAGING_BUCKET=docs-mongodb-org-stg
PRODUCTION_BUCKET=docs-mongodb-org-prd

ifeq ($(ENV), 'dotcom_stg')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you think we should avoid calling this "ENV" to avoid conflict with the unix env command? Maybe something like docsenv or publishenv?

Makefile Outdated
STAGING_BUCKET=docs-mongodb-org-dotcomstg
endif

ifeq ($(ENV), 'dotcom_prd')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Writers will want to stage and publish to the same environment. Let's have one variable check for "dotcom" and set both the staging and prod URLs/buckets in one shot.

Makefile Outdated
@@ -5,6 +5,16 @@ PRODUCTION_URL="https://docs.mongodb.com"
STAGING_BUCKET=docs-mongodb-org-stg
PRODUCTION_BUCKET=docs-mongodb-org-prd

ifeq ($(ENV), 'dotcom_stg')
STAGING_URL="https://docs-mongodborg-staging.corp.mongodb.com"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Per discussion staging URL needs to change.

@GuruPKK GuruPKK closed this Nov 14, 2022
mongo-cr-bot pushed a commit that referenced this pull request Feb 2, 2024
…#6129) (#6190)

* DOCS-16619 Clarify allowInvalidCertificates and allowInvalidHostnames parameter scope

* edits

* CT feedback
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.

2 participants